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 mounting problems

The general place to discuss MOD''ing Freelancer!

Post Mon Mar 06, 2006 6:35 pm

Missile mounting problems

It's a simple thing, but I just can't get the results I want.
I'm trying to mount a pair of Javalin missile launchers on a ship as part of it's purchased loadout (i.e. the ship package in the goods.ini file).
Here's the code that I've been trying to get to work:

addon = missile01_mark01, HpWeapon03, 1
cargo = missile01_mark01_ammo, 10
addon = missile01_mark01, HpWeapon04, 1
cargo = missile01_mark01_ammo, 10

The problem? The launchers don't show up at all, and in the ammo screen, I have a greyed-out listing of Javalin missiles at zero quantity.

Any suggestions?

Wolfman_Jack

Post Tue Mar 07, 2006 2:54 pm

Is this for an original Freelancer ship or a custom addon ship?

Post Tue Mar 07, 2006 3:52 pm

It's a custom ship, Porsche's A-Wing model to be exact. If I leave these launchers out, it works fine on it's own.

Post Tue Mar 07, 2006 6:14 pm

Make sure that the shiparch entry has the weapon hardpoints coded in, I can't imagine why it wouldn't but make sure anyway.

Have you tried using any other weapons on the mounts? Also, are you coding the ship or adding on to existing code?

Post Wed Mar 08, 2006 1:03 pm

The hardpoints are coded from 1 to 6, all up to level 10 capable. Hardpoints 5 and 6 don't appear to function, I think what Porsche did was cut & paste the same weapon hardpoint declarations for most of the models to save the hassel of typing all that crap over repeatedly.
I did try the same weapon on all 4 mounts, and it did work (although it looked ridiculous). Also, I can buy whatever gun or missile while within the game and mount it without any problems at all.
I am adding to the existing code of Porche's mod, mostly just tweaking things to suit myself. I've added a few weapons to it for Star Wars authenticity (many thanks to you for your superbe weapon tutorial). BTW, can you help me find a blue-white color code? I've been trying to make a decent Ion Cannon, but so far all I come up with is a purple-white that appears to match the Freeworld 1.66 Ion Cannon.

Only thing I don't think I've tried is to mount missile launchers to WP3 thru 6 and see what happens. Any other ideas? I'm fresh out :}

Post Wed Mar 08, 2006 2:02 pm

This is one of the strange things about FL, you can add damn near anything to a loadout but you can only add equipment in the goods package. I've tried it with missiles, torpedo's, bats/bots and commodities, none of them will show up in the package.

How does 185,255,255 grab you, it's a pale blue, just change the 185 up or down abit for the variation in the beam.

**shuffles of with a new headache**

Post Wed Mar 08, 2006 3:09 pm

Well if there are hardpoints coded that do not exist on the ship. You could also try mounting the missiles on the torpedo slots of the ship if the HpWeapon mounts wont work.

Post Wed Mar 08, 2006 5:01 pm

Bejaymac:
The goods package IS where I'm trying to add them. I want it to be 'standard equipment' on this fighter. It does work for the torp launcher I've added to other ships in this package, but there aren't any TorpHP's on this ship.
Thanx for the color code, I'll give it a try once I get my Freelancer CD back

Parabolix:
Good thought, but there aren't any Torp mounts on this fighter. I don't think Porsche added them to the model, even though the declarations did include a reference to one.

Post Thu Mar 09, 2006 6:01 am

That's what I mean, you can add the Launchers and Guns to the package and they'll even show up attached to the ship in the shipdealer( "startracker" with 3 jav's and a cruise in the Manhatten ship dealers room), but "cargo" won't appear. Like I said I think it's a quirk of FL's that you can do loadouts with damn near anything, but goods packages can only be equipment, ammo and bats/bots are consumables not equipment so they can't be added.
In your code remove both "cargo" lines and see if the launchers will then appear, as I think it's your two conflicting "cargo" lines that could be causing them nor to show

**shuffles of with a new headache**

Return to Freelancer General Editing Forum