Is it possible to make weapons not effecte by gravity?

Is it possible to make weapons not effecte by gravity?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Optimus Prime
Posts: 755
Joined: 03 Oct 2005, 14:31

Is it possible to make weapons not effecte by gravity?

Post by Optimus Prime »

Hi

i have the problem, that i need a weapon, which is not effected by gravity, but is also guided and a model. (speed shall be very low)
Is that possible? If yes - how?

thank you!
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

make it self propelled, for a start
User avatar
Optimus Prime
Posts: 755
Joined: 03 Oct 2005, 14:31

Post by Optimus Prime »

it is selfpropelled - no effect :(
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Is it possible to make weapons not effecte by gravity?

Post by zwzsg »

Optimus Prime wrote:i need a weapon, which is not effected by gravity, but is also guided and a model
Sound likes a regular missile. Go copy the samson weapon (ARMTRUCK_MISSILE).
User avatar
Optimus Prime
Posts: 755
Joined: 03 Oct 2005, 14:31

Post by Optimus Prime »

hm i used the weaponsettings and reduced the speed, but now the rocket crashes too :(. Perhaps i cant make weapons as slow as i want.
Sean Mirrsen
Posts: 578
Joined: 19 Aug 2004, 17:38

Post by Sean Mirrsen »

The actual problem with the current missiles and rockets are:

- they always leave a smoketrail
- they can never leave their designated range

the latter causes problems with low speed settings, because the missile terminates too early and falls down.

I had to make several changes to make the weapons respect their flighttime setting. I can't already remember what I changed, but it involved adding the tag to the weapondefhandler, and placing references to it in the needed areas. Without the flighttime, you can't make slow-moving guided projectiles.
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

Yeah I noticed this as well, I had to jack up speed on my long range AAMs for WD otherwise they wouldn't work...
Post Reply

Return to “Engine”