Author Topic: Ballistic primary question  (Read 2614 times)

0 Members and 1 Guest are viewing this topic.

Ballistic primary question
Problem: I've got a fighter with a $PBank Capacity (300, 300). I have a ballistic gattling cannon with a $Cargo Size: 0.5. Except in game I only have 2 shots per bank. Am I using the wrong flag to specify cargo size? How do I set things so this fighter has 600 shots in both banks?

It's not explained in the readme.

 

Offline Lightspeed

  • Light Years Ahead
  • 212
Ballistic primary question
I dont know if it works with huge numbers like 300
Modern man is the missing link between ape and human being.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Ballistic primary question
Goober screwed up the convention.  it should be +PBank Capacity.  i think i may have changed it.  you may have it in the wrong place.  this is why i want that wiki entries for everything done

edit: it is "$Pbank Capacity:". it goes after "$Default PBanks:" and before "$Allowed SBanks:"

i also looked at the code at it really should be "$Pbank Capacity:" the b is not capitalized. but i dont know if the parser is case sensitive.

edit 2: parser is not case sensitive.
« Last Edit: January 06, 2004, 03:24:38 pm by 31 »
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Flipside

  • əp!sd!l£
  • 212
Ballistic primary question
Good point Phreak, thanks for the Heads up, I've been neglecting my work on the Wiki.
I'll fix that and get something set up this week.

Sorry guys :)

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Ballistic primary question
Ignore Phreak; SadisticSid did everything right.  In the parser code, the capacity is forced to 1, regardless of what's specified.  Therefore, 1 divided by 0.5 = 2.

Now, the convention I had in mind would be that the capacities specified on fighters would all be 1, because you are loading one magazine onto a fighter.  The magazine size is directly determined by the "cargo size" specified in the weapon entry.  So in this case there would be two bullets per magazine.

But just because this is the convention doesn't mean everyone has to do it this way.  So it's a bug.  Put it on Mantis. :)

 

Offline Solatar

  • 211
Ballistic primary question
no

I have some fighters using different numbers. I have sizes specified in the 12_05 version so that every '1" gives them 1000 ammo. I have heavy bombers carrying more than light fighters and such for the Avenger. Works fine.

 

Offline Lightspeed

  • Light Years Ahead
  • 212
Ballistic primary question
Quote
Originally posted by Goober5000
Ignore Phreak; SadisticSid did everything right.  In the parser code, the capacity is forced to 1, regardless of what's specified.  Therefore, 1 divided by 0.5 = 2.

Now, the convention I had in mind would be that the capacities specified on fighters would all be 1, because you are loading one magazine onto a fighter.  The magazine size is directly determined by the "cargo size" specified in the weapon entry.  So in this case there would be two bullets per magazine.

But just because this is the convention doesn't mean everyone has to do it this way.  So it's a bug.  Put it on Mantis. :)


and I can set it to 2 and oh-the-miracle have doubly my ammonition.

dont listen to Goober :p
Modern man is the missing link between ape and human being.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Ballistic primary question
:wtf: What build are you using?

 

Offline Solatar

  • 211
Ballistic primary question
12_05_2003...read my post. Think Lightspeed is using the same one.

 
Ballistic primary question
For reference: $PBank Capacity: (n, n) in ships.tbl and $Cargo Size: n in weapons.tbl are the ones that do the trick. Thanks guys.

 
Ballistic primary question
see the link in my title?

using that and doing some edit's would be awsome.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline Lightspeed

  • Light Years Ahead
  • 212
Ballistic primary question
Quote
Originally posted by Goober5000
:wtf: What build are you using?


FS2_shivan_xtra_evil.exe -- why? :lol:

Ever since i first tried using ballistic weapons those two parameters work like a charm. I have used varying primary bank capacities from 1-20 and they all worked fine.
Modern man is the missing link between ape and human being.

 

Offline Lightspeed

  • Light Years Ahead
  • 212
Ballistic primary question
Quote
Originally posted by kasperl
see the link in my title?

using that and doing some edit's would be awsome.


I added weapons.tbl -- it still is missing the new flags and stuff, but most of it's there :)
Modern man is the missing link between ape and human being.

 
Ballistic primary question
nice.


when i have time, i'll do some wiki stuff myself, but first i need time.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

  

Offline Lightspeed

  • Light Years Ahead
  • 212
Ballistic primary question
Quote
Originally posted by kasperl
nice.


when i have time, i'll do some wiki stuff myself, but first i need time.


You better like it, I spent nearly 2 hours on it *curses wiki* :)
Modern man is the missing link between ape and human being.