Lock-On Weapons

Started by TimoCruz, August 14, 2021, 09:46:23 AM

Previous topic - Next topic

TimoCruz

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)

Led

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:
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Giftheck

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
Works in Progress:
--Star Wars: Battlefront 1.25: "First Order-Resistance War Expansion"
--Main Play Mod Reboot
--Star Wars Battlefront Legacy Reboot
--Star Wars Battlefront: Elite Squadron For SWBF1

TimoCruz

Thank you I appreciate it!