Author Topic: A question regarding weapons: variable damage over range?  (Read 2184 times)

0 Members and 1 Guest are viewing this topic.

Offline Mad Bomber

  • Booooom
  • 210
A question regarding weapons: variable damage over range?
I haven't found anything in the Weapons.tbl page on the wiki 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.)
"What the hell!? I've got a Snuffleupagus on my scanners! The Snuffleupagus is active!"

 

Offline Fury

  • The Curmudgeon
  • 213
Re: A question regarding weapons: variable damage over range?
Only in beams.

  

Offline Mad Bomber

  • Booooom
  • 210
Re: A question regarding weapons: variable damage over range?
I suspected that was the case  :sigh:
"What the hell!? I've got a Snuffleupagus on my scanners! The Snuffleupagus is active!"

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: A question regarding weapons: variable damage over range?
Not really an issue.
Everything should be using beams anyway.
(I'm being sarcastic)
(´・ω・`)
=============================================================

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: A question regarding weapons: variable damage over range?
Doable with scripting™

@Droid803 lolwut

 

Offline Mad Bomber

  • Booooom
  • 210
Re: A question regarding weapons: variable damage over range?
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...)
« Last Edit: September 10, 2013, 11:02:37 pm by Mad Bomber »
"What the hell!? I've got a Snuffleupagus on my scanners! The Snuffleupagus is active!"