Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Raptor on July 18, 2003, 04:27:06 pm
-
now I've got them to work without making all missiles invaild, I need some help with the quanity of rounds, plus a few other bits...
PBank Capacity: (1000)
Weapon cargo size: 0.01
Number of rounds in game: 100
Suffice to say, :wtf:
Also, is there any special loading icons needed for ballistic primaries? In loading screen, there are blank entries where they should be.....
And why do support ships not reload Ballistic weapons, but just remain docked to me? I have to order an abort of reload to get the support ship off me....
-
Hmmmm.... Just a guess, but could it be that Cargo space goes from 0 to 1? That way, making them 0.01 in mass would mean only 100 could fit on the ship?
Don't know about the rest, sorry :)
Flipside
-
What numeric value is entered as the $PBank Capacity is irrelevant. There just has to be some number there. The capacity of the PBank will always be treated as 1, even if it says 400, or 9473, or 3.141592653.
You are getting 100 rounds because the cargo size of your ammo is 0.01. Make it 0.001 and you will have 1000 rounds. Make it 0.2 and you will have five rounds. Make it 1 and you will have 1 round.
-
Due to an error on Goob's part its parsed as
+PBank Capacity: (values)
instead it should be:
$PBank Capacity: (values)
i think i changed this in my exe
-
Thanks, that explains that.
What about the other points I raised? Any ideas?
-
what the crap is Sesq on about?
-
Originally posted by Sesquipedalian
What numeric value is entered as the $PBank Capacity is irrelevant. There just has to be some number there. The capacity of the PBank will always be treated as 1, even if it says 400, or 9473, or 3.141592653.
Although this was the way I intended it to be used, that shouldn't happen in the game. I think the parser is just not picking up the line, due to the error that Phreak pointed out.
And I've known about the support ship problem for a while now. Unfortunately, I won't be able to find a computer that has a) Freespace installed, b) Visual Studio installed, and c) internet access for another month. :( If someone could look into this bug, I'd be grateful.