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

loadout not showing up

The general place to discuss MOD''ing Freelancer!

Post Fri Mar 04, 2005 6:07 am

loadout not showing up

I'm trying to get a custom model for a station working correctly, and here's the problem: the loadout doesn't seem to be working. The model shows up in-game, and the docking works correctly, but there are no running lights or weapons on the station.

here are the relevant sections of the script:

<data file="data\solar\solararch.ini" method="append">
<source>
[Solar
nickname = shipname
type = STATION
DA_archetype = ships\moddir\shipdir\ship.cmp
material_library = ships\moddir\shipdir\ship.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
LODranges = 0, 20000
surface_hit_effects = 0, small_hull_hit
mass = 100000.000000
docking_sphere = jump, HpDockMountA, 50
docking_camera = 0
solar_radius = 400
shape_name = NAV_smallstation
hit_pts = 999999961690316250000000000000000000.000000
</source>
</data>

<data file="data\solar\loadouts.ini" method="append">
<source>
nickname = ship_loadout_01
equip = infinite_power
equip = ge_s_scanner_02
equip = LargeBlue, HpRunningLight01
equip = LargeBlue, HpRunningLight02
equip = LargeBlue, HpRunningLight03
equip = LargeBlue, HpRunningLight04
equip = LargeBlue, HpRunningLight05
equip = LargeBlue, HpRunningLight06
equip = LargeBlue, HpRunningLight07
equip = LargeBlue, HpRunningLight08
equip = LargeBlue, HpRunningLight09
equip = LargeBlue, HpRunningLight10
equip = LargeBlue, HpRunningLight11
equip = LargeBlue, HpRunningLight12
equip = LargeBlue, HpRunningLight13
equip = LargeBlue, HpRunningLight14
equip = LargeBlue, HpRunningLight15
equip = LargeBlue, HpRunningLight16
equip = co_Small_station_turret01_mark02, HpTurret01
equip = co_Small_station_turret01_mark02, HpTurret02
equip = co_Small_station_turret01_mark02, HpTurret03
equip = co_Small_station_turret01_mark02, HpTurret04
equip = co_Small_station_turret01_mark02, HpTurret05
equip = co_Small_station_turret01_mark02, HpTurret06
equip = co_Small_station_turret01_mark02, HpTurret07
equip = co_Small_station_turret01_mark02, HpTurret08
equip = co_Small_station_turret01_mark02, HpTurret09
equip = co_Small_station_turret01_mark02, HpTurret10
equip = missile02_mark04, HpWeapon01
equip = missile02_mark04, HpWeapon02
cargo = missile02_mark04_ammo, 100
</source>
</data>

And since I'm just testing right now, from the Li01.ini file (replacing Norfolk SY):

[Object
nickname = li01_07
ids_name = 196772
pos = 47551, -50, 5517
rotate = 0, 40, 0
Archetype = shipname
ids_info = 65763
base = Li01_07_base
dock_with = Li01_07_base
voice = atc_leg_m01
space_costume = ge_male6_head, li_male_elite_body
reputation = li_n_grp
behavior = NOTHING
difficulty_level = 3
loadout = ship_loadout_01
pilot = pilot_solar_hardest


Chris Bates
Modeler/scripter,
Stargate Ship Mod-TC

Post Fri Mar 04, 2005 8:27 am

I may be wrong, but I think you must include your loadout in the solararch.ini entry too.

[Solar
nickname = shipname
type = STATION
DA_archetype = ships\moddir\shipdir\ship.cmp
material_library = ships\moddir\shipdir\ship.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
LODranges = 0, 20000
surface_hit_effects = 0, small_hull_hit
mass = 100000.000000
loadout = ship_loadout_01
docking_sphere = jump, HpDockMountA, 50
docking_camera = 0
solar_radius = 400
shape_name = NAV_smallstation
hit_pts = 999999961690316250000000000000000000.000000

Edited by - FriendlyFire on 3/4/2005 8:29:34 AM

Post Fri Mar 04, 2005 4:48 pm

well, I tried that and it didn't work.
could it have something to do with the "shape= NAV_SMALLSTATION" line? or is that just for what shows up in the navmap? The ship I'm using is basically shaped like a Valkyrie, just scaled up to be a little bigger than a Liberty dreadnaught

Post Fri Mar 04, 2005 8:06 pm

And you made sure every Hardpoint is there and well placed?
If yes, I have no idea why it doesn't work... I'll dig it more if yes...

Post Sat Mar 05, 2005 8:12 am

I checked all the hardpoints using HardCMP, and all are set correctly (as far as I can tell). I even tried moving the loadout to ships/loadouts_special.ini and changing equip= to addon=, but it still isn't showing up.

Post Sat Mar 05, 2005 8:34 am

Try removing the turrets to only put lights on. If they show up, there's a problem with your HpTurrets..
Else than this, I must say this bug is over my current knowledge.

Edited by - FriendlyFire on 3/5/2005 8:34:22 AM

Post Sat Mar 05, 2005 8:46 am

I note that there is no
[loadout
statement above your loadout

is this just something you did not copy to this post?

Glock36
"No Comment"

Post Sat Mar 05, 2005 8:48 am

By the way, you do not have to put a loadout in Solararch if you put one in the system file.
any loadout in the system file overrides a loadout in solararch.

Glock36
"No Comment"

Post Sat Mar 05, 2005 8:51 am

When you moved the loadout to loadouts_special, why did you change equip to addon. that was an error.

That might have solved your problem if you had not changed it from equip to addon.

try that again.

if all else fails send all files including the cmp file to [email protected] and I will have a look if you like.

Glock36
"No Comment"

Post Sat Mar 05, 2005 9:59 am

thanks for your help- I just noticed that [loadout thing, but no, it didn't help.

update:

I figured out the problem- it seems I left out an underscore (_) in the original code.

Thanks for your help.

Edited by - cjabates on 3/7/2005 4:30:08 PM

Post Mon Mar 07, 2005 5:19 pm

Hehe... gosh, none of *us* have ever had a problem like that

Glad to hear it's solved

Return to Freelancer General Editing Forum