View unanswered posts | View active topics It is currently Fri Jan 10, 2025 8:38 am



This topic is locked, you cannot edit posts or make further replies.  [ 26 posts ]  Go to page 1, 2  Next
 Bullet proof? 
Author Message
User avatar

Joined: Fri May 30, 2008 9:38 pm
Posts: 260
Location: Some Crack House
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Post 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
Profile
Banned
User avatar

Joined: Thu May 14, 2009 9:22 pm
Posts: 826
Location: Lookin' forward to mocking people on Jan 1st 2013.
Post 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
Profile YIM
User avatar

Joined: Fri May 30, 2008 9:38 pm
Posts: 260
Location: Some Crack House
Post 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
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Post Re: Bullet proof?
I thought test was infinitely/extremely powerful...


Thu Jul 02, 2009 5:48 pm
Profile WWW
User avatar

Joined: Fri May 30, 2008 9:38 pm
Posts: 260
Location: Some Crack House
Post 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?


Last edited by zeno39 on Thu Jul 02, 2009 6:05 pm, edited 1 time in total.



Thu Jul 02, 2009 5:55 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Post 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
Profile
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Post 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
Profile
User avatar

Joined: Fri May 30, 2008 9:38 pm
Posts: 260
Location: Some Crack House
Post 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:


Thu Jul 02, 2009 6:11 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Post 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
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Post Re: Bullet proof?
So, wait, does that make actors uncrushable?
Snap!


Thu Jul 02, 2009 6:24 pm
Profile WWW
User avatar

Joined: Sat Feb 28, 2009 11:06 pm
Posts: 69
Post Re: Bullet proof?
Oh my god, Does this mean we can finally beat the Ypsilon cannon?!


Thu Jul 02, 2009 8:33 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Post Re: Bullet proof?
GetsHitByMOs = 0

OH MAN I BEAT THE YPSILON


Thu Jul 02, 2009 8:34 pm
Profile
User avatar

Joined: Sat Feb 28, 2009 11:06 pm
Posts: 69
Post 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
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Post 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
Profile WWW
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 26 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.043s | 14 Queries | GZIP : Off ]