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

how to make a simple new ship?

The general place to discuss MOD''ing Freelancer!

Post Thu May 29, 2003 7:06 pm

how to make a simple new ship?

i was wondering how i can make a new ship that is based on an existing one (like a tougher defender for example). i looked in the shiparch.ini file thinking i could just copy the ship's attributes, add them to the end of the file, and then alter those parts that i wanted to, but i noticed that the nicknames given in shiparch.ini don't match up with those given in market_ships.ini. is this something to do with the ship's .cmp files? or do those govern the ship's model only? if so, what program do i use to make the code readable and how do i make this new ship? if not, which files hold the necessary attributes?

any help would be appreciated....

Edited by - LimeCordial on 29-05-2003 20:09:51

Post Thu May 29, 2003 8:03 pm

The nickname is used in goods.ini to create a package, it is the package that is sold at bases and this has nothing to do with cmp files, if you look in goods.ini, you will see that each ship has two sections, a section describing the ship hull (basically the ship) and in the category field it should say ship hull, and a second section which is the ship package. To add a new ship for sale simply copy these two sections down to the bottom of the goods.ini file and change the fields to look something like this.

[Good
nickname = myship_hull
category = shiphull
nickname = put in your ships nickname here
price = 1
ids_name = 66571 <- can be anything
item_icon = your choice

[Good
nickname = myship_package
category = ship
hull = myship_hull <----From above
addon = This dictates the equipment that comes with your ship

After this is saved open market_ships.ini and find your base of choice, if we use manhattan it would look like this

[BaseGood
base = li01_01_base
marketgood = gf1_package, 0 ,-1,0.0.1.1.1
{Ship package} // {determines whether or not the ship is sold here}

change this to

marketgood = myship_package, 0 ,-1,1.1.0.1.1

and your ship should be in manhattan

Post Thu May 29, 2003 9:13 pm

Ah I see, thanks for the help.

Post Fri May 30, 2003 4:55 pm

hmmmmm............i have tried all the steps you listed, and i can get the ship to appear in the ship dealer screen, but it still has all the characteristics of the defender........i did change what i wanted to but it is just the same - the price has changed but not hit points, bots+bats etc....i have checked that the IDS name for the different ships is different, as are the package names and nicknames.......is there some problem in another file that i need to change?

any ideas?

i also seem unable to alter stats for other ships - i edit the shiparch.ini file and i can see in the file that the changes have taken place, but the ships themselves seem to not reflect these changes. could it be that the game simply doesn't display the new characteristics and they are there, but you can't see them?

Edited by - LimeCordial on 30-05-2003 19:30:16

Post Fri May 30, 2003 9:42 pm

this info that shows up is stored in infocards. To change these you should have a look around the editing tutorials forums on changing infocards, theer are a few good links there, especially zen's infocard tutorial

Post Sat May 31, 2003 10:00 am

so the ships HAVE been altered, the info on them is just stored in the infocards and to see the changes i have to alter those?

Post Sat May 31, 2003 2:04 pm

thats right, although you cannot see it, you will definitely find that the stats of the ships have changed, the easiest way to test this is by bseeing if the amount of shield/nano bots is changed to that which you desire

Post Sat May 31, 2003 2:54 pm

hoooookaaaaay...........thanks for the help, i tried following zen's tutorial on making the ships and info cards so i could see the changes i made, i started right form the beginning of the tutorial rather than carrying on with the one i had alreayd started on so i knew what i was doing...........is there any easy way of putting in the infocard without following that tutorial? it says about messing around with nameresources.dll and such, as i posted in the tutorial thread the game crashes when i load it up after adding in the modded .dll as the tutorial says.....all i want to do is put in this modded ship and make the changes i made visible, freelancer has to make it so hard......*breaks down in tears*....

---------------
I know what you're thinking. Did he fire six shots, or only five? Tell you the truth, in all the excitement I kind of lost track myself. Being as this is a .44 Magnum, the most powerful hand gun in the world, it'll take your head clean off. So you gotta ask yourself one question - do I feel lucky? Well......do ya? Punk?

Return to Freelancer General Editing Forum