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

**Tutorial** - Which files do what?

Here you find the different tutorials on editing and MODing Freelancer

Post Sun Mar 28, 2004 4:10 pm

**Tutorial** - Which files do what?

Didn't see one around here, so I thought it would be ok to start one. Specifically, I'm looking for a tutorial or better yet, flowchart on how this berzerko ini system goes from one file to another for the most asked for topics. Like how the missions go from the vignette ini to the pilots population ini to the pilots_story.ini (hadn't a clue about that one until I saw Warzog's recent AI release) to solars.ini to the loadouts.ini. etc... I'm not sure if anyone is up to pathing the insane micrologic through these things, but I am sure that a) if it can be done, it'll make modding MUCH easier, and b) the people here are the only ones that have a snowball's chance in a supernova of doing so
Thanks!
Tred

*edit* - sorry, have hijacked your thread Tred, rather than making another one
Hope you don't mind


Edited by - Chips on 10/31/2004 8:06:14 AM

Post Tue Mar 30, 2004 7:53 am

I was actually doing this after a request from Baked Potato, its just that i keep stopping and giving up, before restarting from scratch!


equipment/weapons_equip.ini - this file contains all the raw data for weapons on how they fire, how much damage and stuff
equipment/weapons_good.ini - contains data on how they look in game, the price, and stuff (visible icons at dealer etc, price at dealer)
equipment/market_misc.ini - deals with selling weapons and equipment at the bases in game
equipment/st_equip.ini - shields and thrusters stats, regens, drain rates etc.
equipment/st_good.ini - goods file again, what is sold at bases, its kind of the package up. Links the weapon stats to the images and price you buy (same as for guns)
equipment/market_misc.ini - they are stated again here for selling
equipment/select_equip.ini - filled with an assortment of things, mainly this contains the info for commodities - like volume they take, what they are, information about them
equipment/goods.ini - contains the info on all commodities - like price, what is a good deal, what is a bad deal etc etc etc.
equipment/goods.ini also contains all info on ships prices, what they are sold with and more (called packages).
ships/shiparch.ini - contains all rough data on ships for stats, and links it to ships models and stuff
ships/loadouts.ini - contains all info on NPC ships loadouts for the game
ships/loadouts_special.ini - same but for capships etc
ships/loadouts_utility.ini - same but for the transports etc
Ships directory contains all ships models.
universe/universe.ini - contains all base and systems references. ALL need to be declared here.
universe/systems_shortest_path.ini - links between systems and stuff - NEED to declare route in here to make jumpgates work
universe/shortest_legal_path.ini and shortest_illegal_path.ini - same again, but specific for jumpgates/jumpholes routes mainly
universe/systems folder - contains ALL systems folders which in turn contain system and base files.
solar/solararch.ini - contains data on all base models, and planet models in game. Basically anything in a system NOT a ship/star/nebula is in here. Asteroids aren't here either
solar/loadouts.ini - contains info on what base models have mounted and stuff, including weapon platforms
solar/asteroids/all files - contain info about the asteroid fields, contents, loot and more
solar/nebula/ same again, but about nebulas this time.
audio/contains the music and sound effects of the game.
missions/contains all files to do with encounters and NPC's for missions and normal game.
random missions/contains all info about random missions pay, loot and more stuff.

Post Tue Mar 30, 2004 8:05 am

Missions/mbases.ini - contains information about NPC's on bases, including their names, whom they are etc, rumours (via ids numbers), secrets, bribes on offer, whether the NPC's/ The BASE give out missions, and the level of those missions

missions/npcships.ini - contains information about the ships that the NPC's fly, linked directly towards the loadouts.ini file, and also the faction_prop.ini file. Basically - npcships.ini file links these files together for the faction_prop.ini file to use as "encounters" and stuff: Also holds the npc ships difficulty level.
Shiparch.ini
Loadouts.ini (or loadouts_special.ini etc)
pilots_population.ini
formations.ini
shipclass.ini

The others interlink kinda

missions/Empathy.ini file - contains info about how the factions react to YOU when u do mission for a faction etc, and shoot them/please them, as well as how all toehr factions respond to you doing it for one faction etc.

Missions/faction_props.ini file - contains info about the formations, names, voices, legallity, scanning of cargo as contraband/wanting it, ships to fly etc, and the factions names, how they are reffered to (voices) and more. EXTREMEMLY closely linked to NPCships.ini

missions/lootprops.ini - contains info about the drop rates of stuff by npcs
missions/news.ini - contains the ids links to text for bases as news items.
missions/ptough.ini - money and level area
missions/formations.ini - formations and their "design" - basicalyl the ships positions in formations, and where the player joins them


random missions folder:
rmlootinfo.ini - stuff dropped by npc's when killed in random misions
diff2money.ini - mission (random) payouts to difficulty levels
Killablesolars.ini - types of missions given out by the NPC factions. The ones with faction name appearing in the lines for them are giving that mission type. Don't worry if you don't understand, you gotta learn to walk before doing a marathon!
The rest you needn't worry about at this time. Its not important

Cockpits folder - contains all cockpits for ships - basically contains the turret cam info, and rotation speed etc.

Thats more than enough for 99% of modders.

To make systems, your universe folder contains the systems folders. each system has its own folder, along with the system file inside that folder.
So:

Universe/systems/li01/li01.ini ;contains information about liberty system New York
Universe/sytems/Rh01/Rh01.ini contains all systems inofmation for new berlin.

Okay, inside these folders (systems folders) they have a bases folder, whre the file for bases are contained. These files only contain links to the "rooms" of the base, which are contained inthe rooms folder (inside bases folder). The rooms foler contains links to the backgrounds, music played, character position (by points on the CMP for base) and other things. It also contains the links for the buttons inside the base etc.

Going backwards, the audio/sounds.ini contains the links to sound files (sound effects) for the game. The music.ini file contains the music links.

The FX folder contains the files that deal with the effects of stuff. The main effects.ini file deals with the weapons, wormholes etc etc etc.
Beam effects are the actual stuff SEEN in the game by the guns, but you MUST have them referenced inthe effects.ini file to work.

explosions.ini file is also in here, and obviously contains links to the effects for different types of explosions used in the game.

Edited by - Chips on 3/30/2004 11:44:12 AM

Post Sun Apr 04, 2004 4:27 pm

Good lordy lou, what a braindump! Thanks Chips!
Hmm, I don't see anything here that couldn't be stored in a single database file, all linked up and ready to slap a front end on. Does anyone but me get the impression that after Chris Roberts left the project, MS gave it to a bunch of interns to cut their teeth on before they got into "real programming"?
Sigh, at least I'm nearly done with Fly or Die. Just have to grit my teeth and edit the battlesizes (down) in every encounters file, and it'll be ready for the finishing touches. Hope people like it
Thanks again!
Tred

Return to Freelancer Editing Tutorial Forum