Data Realms Fan Forums http://forums.datarealms.com/ |
|
Bomb Gib Help http://forums.datarealms.com/viewtopic.php?f=1&t=31521 |
Page 1 of 1 |
Author: | _Shadowcat_ [ Wed Aug 01, 2012 10:35 pm ] |
Post subject: | Bomb Gib Help |
Ok, I've look over the code a hundred times and for the life of me cant figure out how to add a gib since there all just copyof's Here is what I have so far: So what do I need to put for it to leave behind a gib? ![]() |
Author: | Roast Veg [ Wed Aug 01, 2012 10:45 pm ] |
Post subject: | Re: Bomb Gib Help |
If you look in the bomb gibs of vanilla content, you'll see that they are first added as some sort of particle (though it could be any form of MovableObject) and then the CopyOf will reference that object specifically. It can be an MOSRotating, it can be an Actor, it can be an MOPixel, pretty much anything you like. |
Author: | _Shadowcat_ [ Wed Aug 01, 2012 10:57 pm ] |
Post subject: | Re: Bomb Gib Help |
oooookkkk....... I'm going to go figure out what you just said now by sifting through the .ini bomb files, Thanks ![]() |
Author: | Roast Veg [ Wed Aug 01, 2012 10:58 pm ] |
Post subject: | Re: Bomb Gib Help |
That is indeed the best way to learn. |
Author: | _Shadowcat_ [ Wed Aug 01, 2012 11:02 pm ] |
Post subject: | Re: Bomb Gib Help |
Ok, Asuming say I wanted this Gernade to spawn a dummy as a gib would I put this: AddGib = Gib GibParticle = Moveableobject CopyOf = Dummy Count = 1 MaxVelocity = 0.1 MinVelocity = 0 InheritsVel = 0 Or did I just put some shity peice of text? |
Author: | Roast Veg [ Wed Aug 01, 2012 11:15 pm ] |
Post subject: | Re: Bomb Gib Help |
GibParticle = AHuman The rest looks ok. |
Author: | _Shadowcat_ [ Wed Aug 01, 2012 11:26 pm ] |
Post subject: | Re: Bomb Gib Help |
Roast Veg wrote: GibParticle = AHuman The rest looks ok. K thanks, And where do I put this exactly? Can I just put it in the files with the gernade I copied the code from? |
Author: | Roast Veg [ Wed Aug 01, 2012 11:27 pm ] |
Post subject: | Re: Bomb Gib Help |
You can slide it in anywhere in the TDExplosive's code so long as it is properly tabbed. |
Author: | _Shadowcat_ [ Wed Aug 01, 2012 11:28 pm ] |
Post subject: | Re: Bomb Gib Help |
Roast Veg wrote: You can slide it in anywhere in the TDExplosive's code so long as it is properly tabbed. ok thats even better ![]() |
Author: | _Shadowcat_ [ Wed Aug 01, 2012 11:31 pm ] |
Post subject: | Re: Bomb Gib Help |
Uhm would TDexplosives be under base.rte? |
Author: | Roast Veg [ Wed Aug 01, 2012 11:34 pm ] |
Post subject: | Re: Bomb Gib Help |
You can define one in any data module, though the vanilla ones can be found in Coalition.rte Dummy.rte Ronin.rte Browncoats.rte and Whitebots.rte as far as I know. |
Author: | _Shadowcat_ [ Thu Aug 02, 2012 4:58 am ] |
Post subject: | Re: Bomb Gib Help |
I've been trying to put it into its own faction file but for somereason this error keeps poping up when I run CC "The instruction at 0x00563a95 referenced memory ar 0x00000000. The memory could not be read." When I look at CC its only loaded to "Grenades/Dummycan.ini on line 1" Datawhatever: DataModule ModuleName = Cybotech IconFile = ContentFile Path = Cybotech.rte/ModuleIcon.bmp IncludeFile = Cybotech.rte/Grenades/Dummycan.ini The only thing in the file is the Dummycan.ini and the sprite for the file. Help? ![]() |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |