Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Mad Bomber on September 08, 2013, 06:57:48 pm
-
I haven't found anything in the Weapons.tbl page on the wiki (http://hard-light.net/wiki/index.php/Weapons.tbl) about this, so I'll ask here.
Can the FS2 Open code currently accomodate weapons (primary or secondary) that deal variable damage based on the amount of distance they've traveled? (E.g. $Max Damage at $Range1, $Min Damage at $Range2, with the area in between being calculated on a sliding scale.)
-
Only in beams.
-
I suspected that was the case :sigh:
-
Not really an issue.
Everything should be using beams anyway.
(I'm being sarcastic)
-
Doable with scripting™
@Droid803 lolwut
-
Doable with scripting™
Yeah, I was thinking about that. Like, an entry for each range bracket of the weapon, and the script would change the weapon to the appropriate variant based on range-to-target.
How could I do this and still account for the player being able to change their weapons loadout before the mission began?
(Might be time to move this to the Scripting subforum...)