Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: ryuune75 on January 29, 2004, 02:41:37 am

Title: Ballistic primaries problem
Post by: ryuune75 on January 29, 2004, 02:41:37 am
How do i make the support ship reload my primaries weapons ammo? Is this possible in the first place?
I tryed it and I can't make it work...  :doubt:

Thanks
Title: Ballistic primaries problem
Post by: Lightspeed on January 29, 2004, 06:25:43 am
it automatically reloads them.

You need to set a reload rate, though.
Title: Ballistic primaries problem
Post by: ryuune75 on January 29, 2004, 11:19:25 am
Quote
Originally posted by Lightspeed
it automatically reloads them.

You need to set a reload rate, though.


Done that, it doens't work... :sigh:
Title: Ballistic primaries problem
Post by: Goober5000 on January 29, 2004, 11:20:33 am
Run a debug version and make sure you didn't leave any table stuff out.
Title: Ballistic primaries problem
Post by: Nuke on January 29, 2004, 06:17:26 pm
i have another bug. when you use ballistic primaries with "cycle" you end up using more ammo than you should. for example if you have a bank with 4 gunpoints and you use cycle so you can only fire one shot at a time, the code still subtracts 4 rounds from the counter when it should only use 1.
Title: Ballistic primaries problem
Post by: Bobboau on January 29, 2004, 07:15:57 pm
that sounds more like a balistic bug than a cycle one, and I'm in no shape to be doing code changes ATM so, Goob, this one's for you, remember cycle can have more than just one shot at a time (though generaly it only has one)
Title: Ballistic primaries problem
Post by: phreak on January 29, 2004, 07:17:29 pm
got this one on mantis.  i have a fix but never committed it. :rolleyes:
Title: Ballistic primaries problem
Post by: ryuune75 on January 30, 2004, 02:10:25 am
Quote
Originally posted by Goober5000
Run a debug version and make sure you didn't leave any table stuff out.


I can't run debug versions, they don't work on my system, dunno why...

I've tryed everything, but it doesn't work, i'm sure i didn't forgot anything in the ship and weapons tables....

Do anyone have a working example of a ballistic primaries that can be refilled from which i can copy?
Title: Ballistic primaries problem
Post by: Nuke on January 30, 2004, 10:48:09 pm
i made a primary rocket launcher, based roughly off of descent 2's mercury missiles. now its ammo usage should be accurate.