Author |
Message |
ShnitzelKiller
Joined: Sun Mar 22, 2009 7:30 am Posts: 168
|
I would like an invincible actor.
It shouldn't be that hard, right? Just that. Preferably an AHuman.
|
Thu Jun 18, 2009 1:19 am |
|
|
striker121
Joined: Tue Jul 03, 2007 10:24 pm Posts: 253 Location: In the house next door, eating your neighbors.
|
Re: I would like an invincible actor.
Well, it could be. Try looking at the thread for invinceable blocks, it gets to be a huge contest. Now, NEAR indestructible is possible I'm sure, but INVINCABLE might give some modders a good goal and a ton of hacky ways to achieve. I vote someone does something clever and gets the ball rolling.
|
Thu Jun 18, 2009 2:15 am |
|
|
Disst
Joined: Thu Feb 12, 2009 1:47 am Posts: 1182
|
Re: I would like an invincible actor.
|
Thu Jun 18, 2009 2:25 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: I would like an invincible actor.
Code: EntryWound = Null ExitWound = Nada GibWoundLimit = -1 GibImpulseLimit = -1 On everything, and amp up join stiffness. On attachables Or you could just Code: GetsHitByMOs = false For bizzareness points, a on everything works. On the end of I want a peice of blood and wounds, just add Code: GibWoundLimit = -1 GibImpulseLimit = -1 And for lua have Code: function Update(self) self.Health = 100 end For more why did you do that points, this should work in lua: Code: function Update(self) for p in MovableMan.Particles do if SceneMan:ShortestDistance(self.Pos,p.Pos,true) < 40 then p.Lifetime = 1 end end end end Better yet: For code, and for lua: Code: function Update(self) self:MoveOutOfTerrain(false) self:ClearImpulseForces() self:ClearForces() self.ToSettle = false self.ToDelete = false self.Lifetime = 0 end
|
Thu Jun 18, 2009 2:44 am |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: I would like an invincible actor.
Phoenix Robot: http://www.datarealms.com/forum/viewtopic.php?f=61&t=10890It's not invincible, but you can't permenantly kill it besides throwing it off the map boundries.
|
Thu Jun 18, 2009 3:36 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: I would like an invincible actor.
Actually, this might help with the whole map throwing thing: Code: function Update(self) 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 Jun 18, 2009 4:15 am |
|
|
Contrary
Joined: Mon Mar 16, 2009 10:50 pm Posts: 2175 Location: Neverwhere
|
Re: I would like an invincible actor.
:/ 1 B22 Revolver Cannon should kills Data. Plus he can be trampled easily.
|
Thu Jun 18, 2009 4:22 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: I would like an invincible actor.
Ini modding only goes so far. As of some build (like 16-17 ish) all objects can be crushed, even if they don't have gibs.
The only concievable way to circumvent this is something that automatically removes terrain. This hardly seems optimal.
|
Fri Jun 19, 2009 12:06 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: I would like an invincible actor.
Stuff this in update somewhere: Code: self:MoveOutOfTerrain(false)
|
Fri Jun 19, 2009 12:10 am |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
Re: I would like an invincible actor.
Code: self:EraseFromTerrain() Might work as well.
|
Fri Jun 19, 2009 9:46 am |
|
|
numgun
Joined: Sat Jan 13, 2007 11:04 pm Posts: 2932
|
Re: I would like an invincible actor.
Guys, someone make a bearsuit actor and make him invincible with all the stuff suggested here. Bearsuit = god mode on EDIT: This: http://www.youtube.com/watch?v=Q3CzYw5-qdA
|
Fri Jun 19, 2009 2:35 pm |
|
|
ShnitzelKiller
Joined: Sun Mar 22, 2009 7:30 am Posts: 168
|
Re: I would like an invincible actor.
Is it so hard to prevent an actor from taking damage? I don't care about the going out of boundaries part, though it would be nice. Phoenix bot won't work because he has to respawn, thus losing all his weapons and crashing the game anyway if you have a psy implant, which is exactly why I am looking for this actor, since with any other there is the risk that you will randomly die and the game then crashes.
|
Fri Jul 03, 2009 11:26 pm |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: I would like an invincible actor.
Stopping them from taking damage is easy.
Stopping them from dying by crushing is the hard part.
|
Sat Jul 04, 2009 1:43 am |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: I would like an invincible actor.
Move out of terrain lua script, plus a revive script if the HP goes below 1. (If the phoenix bot dies from wounds, it just dies.)
|
Sat Jul 04, 2009 3:41 am |
|
|
zalo
Joined: Sat Feb 03, 2007 7:11 pm Posts: 1496
|
Re: I would like an invincible actor.
Grif wrote: Stopping them from taking damage is easy.
Stopping them from dying by crushing is the hard part. Easy. "DeepCheck = 1". Crush resistant.
|
Sat Jul 04, 2009 8:14 pm |
|
|
|