Data Realms Fan Forums http://45.55.195.193/ |
|
Non Lua recursion of gibs? http://45.55.195.193/viewtopic.php?f=1&t=21415 |
Page 1 of 1 |
Author: | DrRibbones [ Sun Feb 06, 2011 11:36 am ] |
Post subject: | Non Lua recursion of gibs? |
Hi all! Just for fun, I decided to create an intentionally game-crashing weapon, as we all do from time to time. I decided to have a go with recursive gibs; that continue to explode into themselves, increasing in number exponentially. It didn't work as planned. I chose an AEmitter for the task, but I can't use itself in its definition, if that makes sense. I can't make it gib into itself, and I can't find a working way to make this happen without Lua. I have seen such objects before, namely the Cancer Bomb. Is it doable using only an .ini file, or would I have to delve into the world of Lua? And if that's the case, does anyone have relevant links or code that could help me crash my CC spectacularly? Thankyou! -DR |
Author: | 411570N3 [ Sun Feb 06, 2011 11:43 am ] |
Post subject: | Re: Non Lua recursion of gibs? |
Recursive gibbing is done by defining an object in .ini. Then, copy-paste the entire object's code and add itself as a gib, possibly twice. |
Author: | Shook [ Sun Feb 06, 2011 2:34 pm ] |
Post subject: | Re: Non Lua recursion of gibs? |
1. Define A 2. Denife B 3. Make B gib A 4. Redefine A (copyof, identical presetname) and make it gib B That's about it. |
Author: | Azukki [ Sun Feb 06, 2011 8:18 pm ] |
Post subject: | Re: Non Lua recursion of gibs? |
To [hopefully] make what Shook said a little more clear: Code: AddDevice = HDFirearm PresetName = A Buyable = 0 [...] AddDevice = HDFirearm CopyOf = A PresetName = B Buyable = 0 AddGib = Gib GibParticle = HDFirearm CopyOf = A [...] AddDevice = HDFirearm CopyOf = A PresetName = A Buyable = 1 AddGib = Gib GibParticle = HDFirearm CopyOf = B [...] Although, keep in mind that this method will not save devices from the maximum device count, so if you're doing this with a device, (HDFirearm, HeldDevice, TDExplosive) it may disappear after sitting out for too long. |
Author: | DrRibbones [ Mon Feb 07, 2011 2:20 am ] |
Post subject: | Re: Non Lua recursion of gibs? |
Thanks, all! With your input I've succeeded in flooding the screen with white pellets in record time! You've opened a whole new world of possibilities for me! Thankyou. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |