Page 1 of 2

Possible to tweak the gravity of mortars?

Posted: Thu Nov 24, 2011 6:02 am
by Zero Angel
Does anyone know if it's possible to tweak the gravity of mortar type weapons? Ie: so that it will drop faster, so that its range can be limited more effectively while still giving it a decently high velocity?

Re: Possible to tweak the gravity of mortars?

Posted: Thu Nov 24, 2011 5:28 pm
by S.cavA.rmyG.en
not sure if it can be done I know how to make one fall real slow but thats done by giving it a - speed.

you might want to look in to using more then one ordence to get this to work.

Re: Possible to tweak the gravity of mortars?

Posted: Thu Nov 24, 2011 7:12 pm
by S.cavA.rmyG.en
1.what knid of weapon did you have in mind here.
2.is it for AI or player.

Re: Possible to tweak the gravity of mortars?

Posted: Thu Nov 24, 2011 7:15 pm
by Zero Angel
Normal mortar for human players.

Re: Possible to tweak the gravity of mortars?

Posted: Fri Nov 25, 2011 2:34 pm
by Nielk1
I requested this way back but IIRC it was shot down. At the time a point wasn't seen for it (I was trying to make straight fire MDM rockets).

Re: Possible to tweak the gravity of mortars?

Posted: Fri Nov 25, 2011 3:51 pm
by General BlackDragon
N1, "MDM" g file class can be used to "detonate" any ordinance.

Just make a mdmgun fire a rocket. It should generate xplExpire when it goes boom.

Re: Possible to tweak the gravity of mortars?

Posted: Fri Nov 25, 2011 6:42 pm
by MrTwosheds
Yes detonator can work with rockets, however the class limitations still apply, you can only fire 4 before having to detonate them if they have not already exploded, Played with this ages ago, didn't find it very useful as a weapon.

Re: Possible to tweak the gravity of mortars?

Posted: Sun Nov 27, 2011 4:06 am
by Nielk1
(I also wanted burst rockets which so far I have faked by making a 0 delay tight salvo that do not engage a massive waver until a set distance.)

Re: Possible to tweak the gravity of mortars?

Posted: Sun Nov 27, 2011 11:50 am
by MrTwosheds
how do you delay the waver?

Re: Possible to tweak the gravity of mortars?

Posted: Sun Nov 27, 2011 3:26 pm
by General BlackDragon
[MissileClass]
velocForward = shotSpeed // powered speed of the missile
accelThrust = 50.0 // rate the missile can change speed
delayTime = 0.0 // homing delay time (zero turn rate)
rampTime = 0.0 // homing ramp time (from zero to full turn rate)
avoidRange = 0.0 // terrain obstacle-avoidance range
avoidStrength = 0.0 // terrain obstacle-avoidance strength (~2 seems best)


DelayTime probably.

Re: Possible to tweak the gravity of mortars?

Posted: Mon Nov 28, 2011 2:49 am
by Nielk1
Also, why has no one before used the detonator for non mortars?

Might be a good idea to phrase a request for this as 'grenade mass ratio' or something and default it to 1.0.

Re: Possible to tweak the gravity of mortars?

Posted: Mon Nov 28, 2011 3:01 am
by MrTwosheds
Also, why has no one before used the detonator for non mortars?
Because its useless as a weapon.

Re: Possible to tweak the gravity of mortars?

Posted: Mon Nov 28, 2011 9:46 pm
by General BlackDragon
I use it to toggle on/off a hyperdrive I made ages ago. (Metnetshell that drags you with it)

Re: Possible to tweak the gravity of mortars?

Posted: Mon Nov 28, 2011 9:48 pm
by GSH
Tweaking gravity on any weapon would break the 'tli' (targeting lead indicator, visible with the 't' key). AI uses that to aim. Tweaking gravity would require big rewrites to a lot of systems.

-- GSH

Re: Possible to tweak the gravity of mortars?

Posted: Mon Nov 28, 2011 11:01 pm
by Zero Angel
Understood. Thanks for the response.