Possible to tweak the gravity of mortars?
Moderators: GSH, Commando, Red Devil, VSMIT
- Zero Angel
- Attila
- Posts: 1536
- Joined: Mon Feb 21, 2011 12:54 am
- Contact:
Possible to tweak the gravity of mortars?
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?
- S.cavA.rmyG.en
- Sabre
- Posts: 296
- Joined: Fri Mar 04, 2011 3:15 am
- Location: ISDF Junk Yard
- Contact:
Re: Possible to tweak the gravity of mortars?
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.
you might want to look in to using more then one ordence to get this to work.
- S.cavA.rmyG.en
- Sabre
- Posts: 296
- Joined: Fri Mar 04, 2011 3:15 am
- Location: ISDF Junk Yard
- Contact:
Re: Possible to tweak the gravity of mortars?
1.what knid of weapon did you have in mind here.
2.is it for AI or player.
2.is it for AI or player.
- Zero Angel
- Attila
- Posts: 1536
- Joined: Mon Feb 21, 2011 12:54 am
- Contact:
Re: Possible to tweak the gravity of mortars?
Normal mortar for human players.
Re: Possible to tweak the gravity of mortars?
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).
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: Possible to tweak the gravity of mortars?
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.
Just make a mdmgun fire a rocket. It should generate xplExpire when it goes boom.
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: Possible to tweak the gravity of mortars?
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?
(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.)
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: Possible to tweak the gravity of mortars?
how do you delay the waver?
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: Possible to tweak the gravity of mortars?
[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.
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?
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.
Might be a good idea to phrase a request for this as 'grenade mass ratio' or something and default it to 1.0.
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: Possible to tweak the gravity of mortars?
Because its useless as a weapon.Also, why has no one before used the detonator for non mortars?
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: Possible to tweak the gravity of mortars?
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?
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
-- GSH
- Zero Angel
- Attila
- Posts: 1536
- Joined: Mon Feb 21, 2011 12:54 am
- Contact:
Re: Possible to tweak the gravity of mortars?
Understood. Thanks for the response.