Data Realms Fan Forums
http://45.55.195.193/

Bullet proof?
http://45.55.195.193/viewtopic.php?f=1&t=15685
Page 1 of 2

Author:  zeno39 [ Thu Jul 02, 2009 4:41 pm ]
Post subject:  Bullet proof?

Yea it's been a while since I've messed around with CC and I was wondering how to make an actor bullet proof. To be more specific I want this actor to be able to take lots of bullets and loose little to no health. I have already figured out how to make bullets from weak weapons bounce off of my actor, but the ak47 "puts my babey down for a nap every time". This gets quite annoying for all the time I spent on all the armor just to have it ripped apart like paper (only to rifles).

Could this be a problem caused by the material I am using (mega metal) cause I wanted to use the strongest material, but with as much bounce as possible. To get that crazzy "bullets bouncing off the armor" effect.

Author:  Duh102 [ Thu Jul 02, 2009 4:45 pm ]
Post subject:  Re: Bullet proof?

Use Test instead of Mega Metal. Also, make custom wounds if you want the actor to lose little health when something does penetrate.

Author:  Metal Meltdown [ Thu Jul 02, 2009 4:49 pm ]
Post subject:  Re: Bullet proof?

Default would be even better... and wouldn't it be simpler to have no wounds at all?
Those things screw up the actor's look anyway.

Author:  zeno39 [ Thu Jul 02, 2009 5:26 pm ]
Post subject:  Re: Bullet proof?

Okay I have to admit the Test material does take light fire a bit better than the Mega Metal, but it still shreads like paper when up against rifles.

I think I'm going to try default and taking away the wounds (hopefullly without crashing the game this time).

Author:  CrazyMLC [ Thu Jul 02, 2009 5:48 pm ]
Post subject:  Re: Bullet proof?

I thought test was infinitely/extremely powerful...

Author:  zeno39 [ Thu Jul 02, 2009 5:55 pm ]
Post subject:  Re: Bullet proof?

CrazyMLC wrote:
I thought test was infinitely/extremely powerful...

It is but works for me.
Took away the wounds and well my actor is now a god on the battle field cause he wont die 8)

Probabley my last question
I need to know how to make my actor break drop ship engines when I ram my actor into it at high speeds cause now he just bounces off the side of the drop ship :roll:. I was thinking change the mass am I right?

Author:  mail2345 [ Thu Jul 02, 2009 6:04 pm ]
Post subject:  Re: Bullet proof?

This lua script should make him invicible from almost all known attacks, except the some of the more hackish lua:
Code:
function Update(self)
self:EraseFromTerrain()
self:MoveOutOfTerrain(false)
self:ClearImpulseForces()
self:ClearForces()
self.Lifetime = 0
if (self.Pos.X =< 0 and self.Vel.X < 0) or (self.Pos.X =< SceneMan.SceneDim.X and self.Vel.X > 0) then
self.Vel.X = self.Vel.X * - 1
end
if (self.Pos.Y =< 0 and self.Vel.Y < 0) or (self.Pos.Y =< SceneMan.SceneDim.Y and self.Vel.Y > 0) then
self.Vel.Y = self.Vel.Y * - 1
end
end

Author:  LowestFormOfWit [ Thu Jul 02, 2009 6:08 pm ]
Post subject:  Re: Bullet proof?

mail2345 wrote:
This lua script should make him invicible from almost all known attacks, except the some of the more hackish lua:
Code:
function Update(self)
self:EraseFromTerrain()
self:MoveOutOfTerrain(false)
self:ClearImpulseForces()
self:ClearForces()
self.Lifetime = 0
if (self.Pos.X =< 0 and self.Vel.X < 0) or (self.Pos.X =< SceneMan.SceneDim.X and self.Vel.X > 0) then
self.Vel.X = self.Vel.X * - 1
end
if (self.Pos.Y =< 0 and self.Vel.Y < 0) or (self.Pos.Y =< SceneMan.SceneDim.Y and self.Vel.Y > 0) then
self.Vel.Y = self.Vel.Y * - 1
end
end


I.e. my upcoming Magic Unsparkler.

Author:  zeno39 [ Thu Jul 02, 2009 6:11 pm ]
Post subject:  Re: Bullet proof?

Thx for the script mail, however I'm still trying to learn Lua so I really don't know where to put this script "yet". :oops:

Author:  mail2345 [ Thu Jul 02, 2009 6:18 pm ]
Post subject:  Re: Bullet proof?

In a .lua file.
Then add a ScriptPath = whererthefileis

If you find it laggy, try removing one or both of these lines:
Code:
self:EraseFromTerrain()
self:MoveOutOfTerrain(false)

Author:  CrazyMLC [ Thu Jul 02, 2009 6:24 pm ]
Post subject:  Re: Bullet proof?

So, wait, does that make actors uncrushable?
Snap!

Author:  Darkhunter21 [ Thu Jul 02, 2009 8:33 pm ]
Post subject:  Re: Bullet proof?

Oh my god, Does this mean we can finally beat the Ypsilon cannon?!

Author:  Grif [ Thu Jul 02, 2009 8:34 pm ]
Post subject:  Re: Bullet proof?

GetsHitByMOs = 0

OH MAN I BEAT THE YPSILON

Author:  Darkhunter21 [ Thu Jul 02, 2009 8:55 pm ]
Post subject:  Re: Bullet proof?

K no, lets do GethitByMos = 1 but lets try to make a actor that is impervious to ypsilon

Author:  CrazyMLC [ Thu Jul 02, 2009 8:57 pm ]
Post subject:  Re: Bullet proof?

Its easy, just make code that removes all MOParticles and MOPixels within a certain radius.
An invincible actor is incredibly cliche, I recommend not releasing an invincible actor mod.

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/