View unanswered posts | View active topics It is currently Mon Dec 30, 2024 11:50 pm



Reply to topic  [ 8 posts ] 
 About guns which make bombs rain 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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.


Wed Feb 02, 2011 4:33 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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.


Wed Feb 02, 2011 9:23 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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?


Fri Feb 04, 2011 5:10 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: About guns which make bombs rain
You'll want the script linked to the TDExplosive, triggering on the destroy function.


Fri Feb 04, 2011 9:26 am
Profile WWW
User avatar

Joined: Sun Oct 31, 2010 5:23 pm
Posts: 17
Reply with quote
Post 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.


Fri Feb 04, 2011 3:00 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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


Fri Feb 04, 2011 8:09 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: About guns which make bombs rain
Something like that.


Sat Feb 05, 2011 1:06 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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.


Sat Feb 05, 2011 1:13 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.073s | 13 Queries | GZIP : Off ]