Author |
Message |
zeno39
Joined: Fri May 30, 2008 9:38 pm Posts: 260 Location: Some Crack House
|
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.
|
Thu Jul 02, 2009 4:41 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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.
|
Thu Jul 02, 2009 4:45 pm |
|
|
Metal Meltdown
Banned
Joined: Thu May 14, 2009 9:22 pm Posts: 826 Location: Lookin' forward to mocking people on Jan 1st 2013.
|
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.
|
Thu Jul 02, 2009 4:49 pm |
|
|
zeno39
Joined: Fri May 30, 2008 9:38 pm Posts: 260 Location: Some Crack House
|
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).
|
Thu Jul 02, 2009 5:26 pm |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Bullet proof?
I thought test was infinitely/extremely powerful...
|
Thu Jul 02, 2009 5:48 pm |
|
|
zeno39
Joined: Fri May 30, 2008 9:38 pm Posts: 260 Location: Some Crack House
|
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 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 . I was thinking change the mass am I right?
Last edited by zeno39 on Thu Jul 02, 2009 6:05 pm, edited 1 time in total.
|
Thu Jul 02, 2009 5:55 pm |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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
|
Thu Jul 02, 2009 6:04 pm |
|
|
LowestFormOfWit
Joined: Mon Oct 06, 2008 2:04 am Posts: 1559
|
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.
|
Thu Jul 02, 2009 6:08 pm |
|
|
zeno39
Joined: Fri May 30, 2008 9:38 pm Posts: 260 Location: Some Crack House
|
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".
|
Thu Jul 02, 2009 6:11 pm |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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)
|
Thu Jul 02, 2009 6:18 pm |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Bullet proof?
So, wait, does that make actors uncrushable? Snap!
|
Thu Jul 02, 2009 6:24 pm |
|
|
Darkhunter21
Joined: Sat Feb 28, 2009 11:06 pm Posts: 69
|
Re: Bullet proof?
Oh my god, Does this mean we can finally beat the Ypsilon cannon?!
|
Thu Jul 02, 2009 8:33 pm |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Bullet proof?
GetsHitByMOs = 0
OH MAN I BEAT THE YPSILON
|
Thu Jul 02, 2009 8:34 pm |
|
|
Darkhunter21
Joined: Sat Feb 28, 2009 11:06 pm Posts: 69
|
Re: Bullet proof?
K no, lets do GethitByMos = 1 but lets try to make a actor that is impervious to ypsilon
|
Thu Jul 02, 2009 8:55 pm |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
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.
|
Thu Jul 02, 2009 8:57 pm |
|
|
|