View unanswered posts | View active topics It is currently Tue Apr 16, 2024 6:39 pm



Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
 I would like an invincible actor. 
Author Message
User avatar

Joined: Sun Mar 22, 2009 7:30 am
Posts: 168
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Jul 03, 2007 10:24 pm
Posts: 253
Location: In the house next door, eating your neighbors.
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Feb 12, 2009 1:47 am
Posts: 1182
Reply with quote
Post Re: I would like an invincible actor.
viewtopic.php?f=61&t=10909&hilit=Data

Damn near invincible.


Thu Jun 18, 2009 2:25 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: I would like an invincible actor.
Code:
EntryWound = Null
ExitWound = Nada
GibWoundLimit = -1
GibImpulseLimit = -1

On everything, and amp up join stiffness.
Code:
BreakWound = nil

On attachables

Or you could just
Code:
GetsHitByMOs = false

For bizzareness points, a
Code:
Scale = 0

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:
Code:
GibWoundLimit = -1

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
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13143
Location: Here
Reply with quote
Post Re: I would like an invincible actor.
Phoenix Robot:
http://www.datarealms.com/forum/viewtopic.php?f=61&t=10890

It's not invincible, but you can't permenantly kill it besides throwing it off the map boundries.


Thu Jun 18, 2009 3:36 am
Profile
User avatar

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

Joined: Mon Mar 16, 2009 10:50 pm
Posts: 2175
Location: Neverwhere
Reply with quote
Post 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
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: I would like an invincible actor.
Stuff this in update somewhere:
Code:
self:MoveOutOfTerrain(false)


Fri Jun 19, 2009 12:10 am
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: I would like an invincible actor.
Code:
self:EraseFromTerrain()

Might work as well.


Fri Jun 19, 2009 9:46 am
Profile WWW

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Mar 22, 2009 7:30 am
Posts: 168
Reply with quote
Post 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
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post 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
Profile WWW

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post 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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 27 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.049s | 16 Queries | GZIP : Off ]