Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Missile Ammo

The general place to discuss MOD''ing Freelancer!

Post Wed Nov 17, 2004 5:38 pm

Missile Ammo

I need a mod that lets you use hold around 5000 missiles o_O

Post Wed Nov 17, 2004 6:47 pm

5000 Missiles

Let me see, ah yes, you'll need a special order for that...

See the man in charge of loadouts next time your in the maintenance shop

Post Wed Nov 17, 2004 9:20 pm

damn thats some amount of ammo!!! Hope it is for a cap ship lol if not then DAMN thats a hell of a lot of ammo to store in a regular fighter!!!

i think thats in the constants.ini file...some entry about max ammo carried...(might be another file...been a while since i changed the ammo storage..but i lowered it a tad)

"To live is to die....but living is to die slowly..why waste time on trivial things just play as hard as you can"

Post Sat Nov 20, 2004 2:48 am

in the first section of constants.ini put MAX_PLAYER_AMMO = 5000 or whatever number of ammo you want.

Post Sat Nov 20, 2004 10:38 pm

Any way to make ammo sale costs different in different places?

Post Sun Nov 21, 2004 2:01 am

There sure is. To look at a random section from market_misc.ini:

MarketGood = missile01_mark02_ammo, 2, -1, 50, 50, 0, 1
MarketGood = missile01_mark03_ammo, 10, -1, 50, 50, 0, 1
MarketGood = missile01_mark04_ammo, 22, -1, 50, 50, 0, 1
MarketGood = missile01_mark05_ammo, 30, -1, 50, 50, 0, 1

Notice how all the last numbers are 1? That's a multiplier of the base price. Change that to whatever you want on the bases you want to affect.

EDIT: I just realised that what I've said applies for commodities, I'm not sure if it works for equipment. You'll just have to try it out.

Edited by - Darkstone on 11/21/2004 2:01:50 AM

Post Thu Dec 09, 2004 2:09 pm

Perfect.
Thank you... now I get to try to figure out what I need to do, to actually DO that.

Post Thu Dec 09, 2004 2:20 pm

"in the first section of constants.ini put MAX_PLAYER_AMMO = 5000 or whatever number of ammo you want."

Ok I did this.
Didn't work.


Like this?

[Constants
COLLISION_DAMAGE_FACTOR = 0.500000
MUSIC_CROSS_FADE_DELAY = 10.000000
MUZZLE_CONE_ANGLE = 40
PLAYER_COLLISION_GROUP_HIT_PTS_SCALE = 3
PLAYER_ATTACHED_EQUIP_HIT_PTS_SCALE = 5
MAX_PLAYER_AMMO = 5000

Edited by - RaCailum on 12/9/2004 2:21:27 PM

Edited by - RaCailum on 12/9/2004 2:21:52 PM

Post Sat Dec 18, 2004 6:41 pm

Yer.

This is mine. And mine works like a charm.
[Constants
MAX_PLAYER_AMMO = 100
COLLISION_DAMAGE_FACTOR = 0.500000
MUSIC_CROSS_FADE_DELAY = 10.000000
MUZZLE_CONE_ANGLE = 40
PLAYER_COLLISION_GROUP_HIT_PTS_SCALE = 3
PLAYER_ATTACHED_EQUIP_HIT_PTS_SCALE = 5

Post Sat Dec 18, 2004 9:49 pm

Is it possible to have it have different maximums for different weapons and/or ships?

Post Sat Dec 18, 2004 10:38 pm

Yes, but only by proxy. You can set different Volumes for ammunition, therefore making it impossible for little teeny ships to carry any/much ammo for Really Huge Guns, among other things.

And, of course, you can just structure your ships so that they can only use certain weapons, of course, which combined with ammo limitations can give you a lot of modding options. Just because DA made every level below the max. level available for every gun doesn't mean that modders have to- I have several ships (the sea-going kind) that can only use Class 3 Turrets (which in my mod corresponds to "medium cannons or really heavy AA guns", but can't mount Class 1 or 2 on those hardpoints, for example.

Rethinking things like this... does require that you abandon a lot of DA's approach, which is, needless to say, fairly complicated, especially if you're just making an add-on mod, as you'd have to gradually re-balance everything in shiparch.ini, etc. In my mod, I don't have that problem, obviously- as a TC, I haven't kept any of DA's stuff...

Post Sun Dec 19, 2004 3:18 am

Wlel, 5000 ammo simply is just like cheating, "hey I can carry all those 5000 cannonballs and firestalkers around". Crap idea imo. You could, however, maje the ammo take up cargo space (in weapon_equip.ini in the corresponding "munition" entries "Volume = xxx", so that larger ship can carry more, smaller ships carry less etc. I don't mind 5000 Missiles on a battleship, but on a normal fighter...

Post Sun Dec 19, 2004 12:05 pm

Unless you spanw the ammo, I don't view this as cheating. My max ammo is 100 and I gotta trade/do missions if I want to buy them.

Post Sun Dec 19, 2004 2:41 pm

why dont u just make it so the the launcher doesnt need missles

Mess With the Best Die lIke the Rest
Check out my Freelancer Website FLPoliceclan.tripod.com
AIM SN - SuBZeRo69069 (feel free to IM me if you need any Modding help)

Post Sun Dec 19, 2004 4:49 pm

Or just do what I do and open the weapon_good.ini folder to find the price of the weapon you want e.g. this:

[Good
nickname = missile01_mark01_rtc
equipment = missile01_mark01_rtc
category = equipment
price = 500
item_icon = equipment\models\commodities\nn_icons\EQUIPICON_missilelauncher.3db
combinable = false
free_ammo = missile01_mark01_rtc_ammo, 10
ids_name = 263146
ids_info = 264146
shop_archetype = equipment\models\weapons\li_rad_launcher.cmp
material_library = equipment\models\li_equip.mat

Return to Freelancer General Editing Forum