The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Feedback
/
Invincible Stickman
«
1
2
»
Invincible Stickman
Cheremenin
19th Aug 2010
Member
0
Permalink
I've got an idea - invincible stickman, he cannot die, but can be only deleted manually.
savask
19th Aug 2010
Developer
0
Permalink
For what purpose?
Cheremenin
19th Aug 2010
Member
0
Permalink
a) For lulz.
b) For surviving in a dangerous situations...
Nevermind.
bchandark
19th Aug 2010
Member
0
Permalink
edit the source code and change the life variable
Cheremenin
19th Aug 2010
Member
0
Permalink
I don't know how.
Xenocide
19th Aug 2010
Former Staff
0
Permalink
wouldn't work... I managed to get a stickmans life to -8xxxx before he died... ^^ was some nasty torture
you'd have to comment out anything to do with life reduction.... I'll have a look now actually and see if i can post a diff somewhere...
ssc4k
19th Aug 2010
Member
0
Permalink
It's a 32 bit int, do you really expect more than 2,147,483,647 damage? If not just change the number to that :p
EDIT: just change line 2323 to "if(0)" and he never dies
Xenocide
19th Aug 2010
Former Staff
0
Permalink
Give me time >:D
anyway, line 1111 in powder.c...
[...]
1111. parts[i].life= <name your value>;
[...]
ssc4k
19th Aug 2010
Member
0
Permalink
See my edit above if you want to save time
Xenocide
19th Aug 2010
Former Staff
0
Permalink
I just commented that entire block out lol was about to try it
«
1
2
»
Locked by jacob1: necro