SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: TimoCruz on August 14, 2021, 09:46:23 AM

Title: Lock-On Weapons
Post by: TimoCruz on August 14, 2021, 09:46:23 AM
What do I need to add to the weapon odf to make a rocket launcher lock onto vehicles and make the rocket follow the vehicle? (Like the stock rebel one)
Title: Re: Lock-On Weapons
Post by: Led on August 14, 2021, 09:58:11 AM
Examine the vangaurd ODF files.  I don't recall the commands, but if you trace through the ODF (maybe including ordnance) you will find it.   :cheers:
Title: Re: Lock-On Weapons
Post by: Giftheck on August 14, 2021, 02:24:05 PM
Has to be 'Launcher' class, and these lines control the lock on

LockOnRange = "175.0" //Maximum distance of the target to lock on to
LockOnAngle = "6.0"
LockOffAngle = "10.0"
LockTime = "1.0" //How long it takes to lock on
Title: Re: Lock-On Weapons
Post by: TimoCruz on August 16, 2021, 08:41:25 AM
Thank you I appreciate it!
EhPortal 1.34 © 2024, WebDev