Battlezone Universe

Battlezone Universe => Battlezone 2 => Maps and Modding => Topic started by: TheJamsh on August 21, 2008, 02:32:21 PM

Title: help me please!
Post by: TheJamsh on August 21, 2008, 02:32:21 PM
how can i get the 'spraymine' to fire its ordnance straight up (on world axis) everytime without fail.

the ordnance is a radarpopper class.

this is the current spraymine ODF


[GameObjectClass]
geometryName = NULL
classLabel = "spraymine"
scrapCost = 0
scrapValue = 0
maxHealth = 0
maxAmmo = 1
unitName = ""
explosionName = ""

[SprayBuildingClass]
payloadName = "tagca_a3" // radarpopper class
triggerDelay = 0.1
setAltitude = 2.0
omegaSpin = 0
shotDelay = 0.1
anglePitch = 1.0 // this doesnt seem to help me! but im not sure
Title: Re: need some help with spraybombs etc...
Post by: Steeveeo on August 21, 2008, 03:13:54 PM
Use a flaremine class instead, it can launch its ordnance straight up without much hassle.
Title: Re: need some help with spraybombs etc...
Post by: TheJamsh on August 21, 2008, 04:04:30 PM
but will it launch a radar popper class that will still inherit a target? i used spraymine class because it seemed to allow radar poppers to inherit the pilots target.
Title: Re: need some help with spraybombs etc...
Post by: TheJamsh on August 21, 2008, 05:14:47 PM
apparently not, so far only the spray mine class inherits the target from a radarpopper launcher, so i need someone to sort that mine out... and make it shoot its ordnance upwards...

i also need the ordnace to go a fair distance before it turns into the rocket
Title: Re: help me please!
Post by: anomaly on August 21, 2008, 06:25:12 PM
Increase the speed of the popper to make it go higher/farther.  It turns into a rocket right after it reaches the apex in its arc.
Title: Re: help me please!
Post by: General BlackDragon on August 21, 2008, 10:29:49 PM
use popper instead? random and closest enemy but meh?

Or make it fire a flurry of smaller missiles out sideways that turn towards target :)
Title: Re: help me please!
Post by: TheJamsh on August 22, 2008, 10:48:03 AM
ive managed to fix it. anomaly pretty much explains what i did.

the spray mine speed can now be controlled which i didnt know before, so i added a nice missile effect, the only trouble im now having is the "take-off explosion". can effect renders link to explosions of not? better still, does launchXPL work under spraybomb class?
Title: Re: help me please!
Post by: mrtwosheds on August 22, 2008, 05:53:04 PM
A spraybomb "launch" effect can be simulated by putting an emitter effect on to the object launched, makes its emitDelay = more than the objects lifespan, so that it only occurs once when it is launched.
Title: Re: help me please!
Post by: TheJamsh on August 23, 2008, 05:31:43 PM
ive got a nice smokey launch effect, but i need a sort of explosive bang effect seeing as the missile goes about 500 metres high in a few seconds. ive managed to recreate the funtion of the javelin on COD4. took about 4 solid days work but i hacked it in eventually lol
Title: Re: help me please!
Post by: mrtwosheds on August 24, 2008, 11:52:03 AM
Put an explosion on the spraybuilding
Title: Re: help me please!
Post by: TheJamsh on August 24, 2008, 04:23:02 PM
i already have, but that explosion is when its 300 metres in the air. i could of course get the spray building to make another spray building, but bleeh. maybe when i come back to doing my rocket weapons again