Possible to tweak the gravity of mortars?

Moderators: GSH, Commando, Red Devil, VSMIT

User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Possible to tweak the gravity of mortars?

Post 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?
User avatar
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?

Post 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.
User avatar
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?

Post by S.cavA.rmyG.en »

1.what knid of weapon did you have in mind here.
2.is it for AI or player.
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: Possible to tweak the gravity of mortars?

Post by Zero Angel »

Normal mortar for human players.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Possible to tweak the gravity of mortars?

Post 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).
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Possible to tweak the gravity of mortars?

Post 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.
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Possible to tweak the gravity of mortars?

Post 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.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Possible to tweak the gravity of mortars?

Post 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.)
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Possible to tweak the gravity of mortars?

Post by MrTwosheds »

how do you delay the waver?
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Possible to tweak the gravity of mortars?

Post 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.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Possible to tweak the gravity of mortars?

Post 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.
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Possible to tweak the gravity of mortars?

Post by MrTwosheds »

Also, why has no one before used the detonator for non mortars?
Because its useless as a weapon.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Possible to tweak the gravity of mortars?

Post by General BlackDragon »

I use it to toggle on/off a hyperdrive I made ages ago. (Metnetshell that drags you with it)
User avatar
GSH
Patch Creator
Posts: 2489
Joined: Fri Feb 18, 2011 4:55 pm
Location: USA
Contact:

Re: Possible to tweak the gravity of mortars?

Post 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
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: Possible to tweak the gravity of mortars?

Post by Zero Angel »

Understood. Thanks for the response.
Post Reply