Data Realms Fan Forums http://forums.datarealms.com/ |
|
I would like an invincible actor. http://forums.datarealms.com/viewtopic.php?f=75&t=15414 |
Page 2 of 2 |
Author: | ShnitzelKiller [ Sun Jul 05, 2009 7:00 pm ] |
Post subject: | Re: I would like an invincible actor. |
Can someone actually make this actor for me? I have tried to learn how to mod, but it's so complicated to make a simple actor, you have to define the coordinates of every limb and link files among each other and if you do it wrong it crashes on startup, and the language is just too alien to me, I don't know how people learn it so fast, I've tried looking at code and changing values, but it's so tedious to have to restart CC every f*cking time you change a value to see what it does. I only know one prog language really well, and it's not lua or ini. |
Author: | piipu [ Mon Jul 06, 2009 10:04 am ] |
Post subject: | Re: I would like an invincible actor. |
You really don't need a new actor. Just copypaste a coalition soldier's .ini to a new .rte and create an index.ini there and then tweak the parts you need to tweak. Just be sure to change the PresetName of every thing you modified. |
Author: | ShnitzelKiller [ Fri Jul 10, 2009 6:30 pm ] |
Post subject: | Re: I would like an invincible actor. |
See, I have absolutely no idea what any of that means. I've tried learning ini at least, but there's not one step by step tutorial, the wiki is void of any information, so I don't have any modding ability. |
Author: | CrazyMLC [ Fri Jul 10, 2009 6:44 pm ] |
Post subject: | Re: I would like an invincible actor. |
Code: AddActor = AHuman CopyOf = Soldier Heavy PresetName = Soldier Invincible ScriptPath = Soldier Invincible.rte/Lua.lua When you CopyOf, all of the variables and crap is set to the current thing you are defining. Then you just enter in the things you want to change, like sprites, health, or lua file and you don't have to define everything else. Code: function Update(self) self.Health = 100 end |
Author: | mail2345 [ Fri Jul 10, 2009 6:59 pm ] |
Post subject: | Re: I would like an invincible actor. |
You frogot the GibWoundLimit. |
Author: | TheValiant [ Fri Jul 10, 2009 8:04 pm ] |
Post subject: | Re: I would like an invincible actor. |
What variable prevents an actor from loosing his limbs? I thought it was JointStrength, so I tried setting that to a high number (tried 9000, 900000, and 9000000) but he still lost his limbs. Also, in this code: Code: AddEffect = Attachable CopyOf = Soldier Helmet A PresetName = Invincible Helmet A JointStrength = 900000 GibImpulseLimit = 900000 GibWoundLimit = 900000 AddEffect = Attachable CopyOf = Soldier Head B PresetName = Invincible Head B JointStrength = 900000 AddAttachable = Attachable CopyOf = Invincible Helmet A ParentOffset = Vector X = -1 Y = -4 GibImpulseLimit = 900000 GibWoundLimit = 900000 AddActor = AHuman CopyOf = Soldier Light PresetName = Invincible Soldier Head = Attachable CopyOf = Invincible Head B ParentOffset = Vector X = 0 Y = -10 Will the new "invincible" head overwrite the old one? And, will the new "invincible" helmet overwrite the old one? (I noticed that when I shot off his head, two helmets flew off). |
Author: | CrazyMLC [ Fri Jul 10, 2009 8:06 pm ] |
Post subject: | Re: I would like an invincible actor. |
Yes, both are added. |
Author: | carriontrooper [ Sat Jul 11, 2009 5:09 am ] |
Post subject: | Re: I would like an invincible actor. |
TheValiant wrote: What variable prevents an actor from loosing his limbs? I thought it was JointStrength, so I tried setting that to a high number (tried 9000, 900000, and 9000000) but he still lost his limbs. Also, in this code: Code: mombojumbo Will the new "invincible" head overwrite the old one? And, will the new "invincible" helmet overwrite the old one? (I noticed that when I shot off his head, two helmets flew off). You also need to up the gibimpulselimit and the gibwoundlimit on the limbs. Addressing the double helmet: you created the new head by copying the original head, which already had the normal helmet on. When you added the addattachable it just attaches another helmet (your invincible one) instead of rewriting it. My suggestion: copy the whole code block for the head, and change only the helmet part. |
Author: | TheValiant [ Sat Jul 11, 2009 6:41 am ] |
Post subject: | Re: I would like an invincible actor. |
I tried: JointStrength:9000000 GibImpulseLimit:9000000 GibWoundLimit:900000 On all limbs and the body (except for jointstrength on the body) yet he still manages to lose all his limbs. |
Author: | carriontrooper [ Sat Jul 11, 2009 9:14 am ] |
Post subject: | Re: I would like an invincible actor. |
TheValiant wrote: I tried: JointStrength:9000000 GibImpulseLimit:9000000 GibWoundLimit:900000 On all limbs and the body (except for jointstrength on the body) yet he still manages to lose all his limbs. Did you attach the correct limbs to the body though? |
Author: | mail2345 [ Sat Jul 11, 2009 9:23 am ] |
Post subject: | Re: I would like an invincible actor. |
Use attachable hack to find limbs, and drop weapons and respawn if any are missing. |
Author: | TheValiant [ Sat Jul 11, 2009 2:28 pm ] |
Post subject: | Re: I would like an invincible actor. |
@carriontrooper: Yes @mail: Lol, I just wanted to see if I could do it; I'm not gonna go through all that trouble unless I get randomly bored one night. |
Page 2 of 2 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |