Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: JGZinv on December 06, 2009, 10:39:50 pm
-
Ok I know the first thing that comes to mind is WCS already has something that
sounds right there with the topic title, but what I need is a bit more complicated.
Ok basics first:
This is for FringeSpace.
Currently Backslash's code multiplies "both" the distance and speed values displayed on the HUD.
As seen in hud_gauges.tbl
$Length Unit Multiplier: 0.01 ;;converts displayed distance measurements via multiplier
What I need, is to split this feature so I can apply a different modifier value to speed, and a different modifier to
distance. In other words, distance may be multiplied by 0.01 and come up with 20 units, but I need to be able to define
my speed differently so say 0 to 1700 displayed units of propulsion.
Additionally, is the distance gauge on the HUD capable of displaying a value out to a hundredth? Ex. 5.25
With the modifier I've got, it's correct scale wise, but it's not accurate to what Tachyon's HUD would display...
so I need the extra two places.
I've already talked to Bax a bit on this, but I know he's bogged down, and a great deal has changed over the last year.
So I'm looking to see if anyone either knows how it can already be done, or if it's possible to put in the pipeline for later?
-
Well to split the multiplier in two wouldn't really be that complicated. We just need an additional line in hud_gauges.tbl
One might want to have two additional lines.. the current one for multiplying both with the same value, keep it for backwards compatibility,
and two new ones for multiplying each one separately. The one multiplying both possibly overriding the other two if specified, or having a
cumulative effect.
-
:yes:
-
Best is to post this suggestion into Mantis as feature, so anyone who's got time can do it. I don't know if I have time to implement this, since I'm working on several other things for Saga atm, but from the sound of it it should be REALLY easy to implement.
-
Does anyone use this option apart from Saga and Fringespace? If they are the only ones using it then it might make more sense to simply have two separate flags and not worry about backwards compatibility as that would make the code a little easier to read.
Of course that depends on if anyone else is using it and especially on if they have released anything using it.
-
I don't think that is a very good idea. If done it should be done right.
Edit:
IF nobody else uses it however, Saga would be ready to use two multipliers and delete the old one. It's not much work for us to quickly edit our hud_gauges.tbl to include both
multipliers with the same value.
But that can only be done if it is confirmed that only we use it and we're warned as soon as this is implemented.
-
Not real sure on how to submit it into mantis as I've never needed to use it
in the... 4 years I've been around. But I think there's a thread round abouts somewhere.
I'll ask chief, there might be some SW vessels that could use an alien touch or something.
Perhaps the SoL mod? That would almost have to have this...
Thanks for the replies.
-
Does anyone use this option apart from Saga and Fringespace? If they are the only ones using it then it might make more sense to simply have two separate flags and not worry about backwards compatibility as that would make the code a little easier to read.
Of course that depends on if anyone else is using it and especially on if they have released anything using it.
Not to my knowledge. I'm waiting for a separate speed multiplier to be coded so I can change speeds in Wings from m/s to km/h (1 m/s = 3.6 km/h).
Also, could you set the speed multiplier to affect the loadout screen so I can make it say "1080 km/h" instead of "300 m/s"?