Data Realms Fan Forums http://45.55.195.193/ |
|
About guns which make bombs rain http://45.55.195.193/viewtopic.php?f=1&t=21367 |
Page 1 of 1 |
Author: | Asklar [ Wed Feb 02, 2011 4:33 am ] |
Post subject: | About guns which make bombs rain |
I know they work with .lua, but I have a doubt with another part of the gun. How does the .ini part work and how do you script that? Thanks. |
Author: | 411570N3 [ Wed Feb 02, 2011 9:23 am ] |
Post subject: | Re: About guns which make bombs rain |
It depends on your technique. If you are using a ray, you will want a gun that fires an invisible, harmless round which disappears immediately. If you are using a visible round you might want to use a TDExplosive with low to none GibImpulseLimit. There are a huge number of ways you might be able to do it. |
Author: | Asklar [ Fri Feb 04, 2011 5:10 am ] |
Post subject: | Re: About guns which make bombs rain |
Well, I'm using a Flare Gun. Basically, a grenade launcher that fires flares (the TDExplosive) which gibs into many glowing MOPixels and an AEmitter. Then, how would I make it considering it is a TDExplosive? |
Author: | 411570N3 [ Fri Feb 04, 2011 9:26 am ] |
Post subject: | Re: About guns which make bombs rain |
You'll want the script linked to the TDExplosive, triggering on the destroy function. |
Author: | TheSilentCrab [ Fri Feb 04, 2011 3:00 pm ] |
Post subject: | Re: About guns which make bombs rain |
Or you could make something, could be TDExplosive that is scripted to spawn a bomb spawner every X milliseconds after Y amount of time. I make my air strike flares using this technique. Oh, and I never make the bomb spawner a gib of TDExplosive, don't know why but it doesn't seem to work well. |
Author: | Asklar [ Fri Feb 04, 2011 8:09 pm ] |
Post subject: | Re: About guns which make bombs rain |
So, what I should do on the TDExplosive is this? Code: AddDevice = TDExplosive PresetName = Flare ScriptPath = Bla.rte/Bleh/BombRain.lua |
Author: | 411570N3 [ Sat Feb 05, 2011 1:06 am ] |
Post subject: | Re: About guns which make bombs rain |
Something like that. |
Author: | Asklar [ Sat Feb 05, 2011 1:13 am ] |
Post subject: | Re: About guns which make bombs rain |
Ok. Now going to the Lua forum to ask for the next part. Edit: I feel like an ass for almost asking the entire lua script to make bombs rain... I'll learn Lua first, try to do it by myself and ask later. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |