Finding entries that are relevant to what your after
Well - now you know WHERE to look for the right files - but what about when you open them?? Looking at 27,000 lines of text in the weapon_equip.ini file for one guns entry is HARD WORK.
So how does the game differentiate?
Simple - it uses nicknames!!
Here is an excerpt of a gun from the weapon_equip.ini file - the nickname is what the game will use to reference this item to the other files (remember that they ALL interlink with many other files):
PLEASE NOTE THAT THE FORUM CODE PREVENTS THE CLOSING SQUARE BRACKET FROM APPEARING. - after the word gun there should be another bracket - a closing bracket! Like this {Gun} - but square brackets instead!
<pre><font size=1 face=Courier>
[Gun
nickname = fc_x_gun01_mark02
ids_name = 263354
ids_info = 264354
</font></pre>
Notice that if you search for this nickname using your text editors "Edit -> Find" feature - you will find it in a second. Same for the game. Its the reference. You will also find that there is ALOT more information that i haven't put up here below the ids parts. (by the way - the ids is the TEXT that you see in the game - its stored in dll files, see the sticky in this forum for making ids custom entries!)
So that gun nickname is linked? Yep:
The weapon_goods.ini file:<pre><font size=1 face=Courier>
[Good
nickname = fc_x_gun01_mark02
equipment = fc_x_gun01_mark02
category = equipment
price = 1830
item_icon = equipment\models\commodities\nn_icons\EQUIPICON_gun.3db
combinable = false
ids_name = 263354
ids_info = 264354
shop_archetype = equipment\models\weapons\li_laser_beam.cmp
material_library = equipment\models\li_equip.mat
</font></pre>
This is the actual physical thing you see - in the shop to buy, and mounted upon the weapons mounts in the shop.
And here is that same gun upon a NPC fighter:
<pre><font size=1 face=Courier>[Loadout
nickname = fc_x_ge_fighter2_loadout01
archetype = ge_fighter2
equip = ge_gf2_engine_01
equip = npc_shield02_mark02, HpShield01
equip = infinite_power
equip = ge_s_scanner_02
equip = ge_s_tractor_01
equip = ge_s_thruster_01, HpThruster01
equip = armor_scale_3
equip = fc_x_gun01_mark01, HpWeapon01
equip = fc_x_gun01_mark01, HpWeapon02
equip = fc_x_gun01_mark02, HpWeapon03
equip = ge_s_cm_01, HpCM01
cargo = ge_s_cm_01_ammo, 20
equip = LargeWhiteSpecial, HpHeadlight
equip = SlowSmallOrange, HpRunningLig </font></pre>
There it is - mounted upon a weapon mount!
So - you see how its linked from the weapons file to being on an NPC's ship in space huh? But how the hell will YOU know what the nickname for a gun....or ANYTHING else is?
Simple - a database!
Subxero spent ALOT of time doing all this for you! - Subxeros Misc Database. Its a VERY important thing to those just starting out!
Subxeros Miscellaneous Database download
So - open that up and look what you get?
Now find the name of the gun your after (easier to do it this way - find the name of the gun, then copy its nickname, and search the weapon_equip.ini file for it!)
So - try finding the Shield Busting Del Cid huh? - remember - its called Tizona Del Cid:
Copy that nickname - then go to your weapon_equip.ini file and paste it into the find function:
And it pulls up the relevent ammo/gun entry in this HUGE file!
Now you know not only HOW the game finds stuff - using those nicknames, but to also work out which is what! That database contains TONS of stuff - systems, bases, factions, ships, powerplants, weapons, shields, everything is in there - use the tabs at the bottom to find stuff. You will aslo see that the database includes the ids_name next to its real name - another way to search for things too, or just the thing to edit to change its name!