Oke, i found some things out i never read here on the forum. To set the loot props.
If we look at the file /mission/lootprops.ini and search for the nomad gun we see this.
[mLootProps
nickname = special_nomad_gun01
drop_properties = 10, 646965, 646965, 0, 2, 1
[mLootProps
nickname = special_nomad_gun02
drop_properties = 10, 646965, 646965, 0, 2, 1
The first number (10) is how much % chance the special_nomad_gun02 will be dropped if this is in the loadouts (cargo) of a ship. But, those 10% will only be made when you have at least 646965 credits on your account or more. If you have more then this amount of credits it will stay 10% chance. If you have less (let say ~300.000 credits, the chance that this special nomad_gun will be dropped is halved (so ~5% chance).
So if you want to get 100% chance with this amount of credits just change it to:
[mLootProps
nickname = special_nomad_gun02
drop_properties = 100, 646965, 646965, 0, 2, 1
So it will be 100% chance when you reached 646965 credits. You can also let this gun dropped when you have 1 credit.
[mLootProps
nickname = special_nomad_gun02
drop_properties = 100, 1, 1, 0, 2, 1
Oke. But why their are 2 numbers? This is very simple and logical... lets say we have these numbers: (*not really sure, i'm still testing)
[mLootProps
nickname = special_nomad_gun02
drop_properties = 100, 100000, 1, 0, 2, 1
So the: 100000 and the 1.
If you have more then 1 nomad_gun in the cargo-bay of a ship (in loadouts.ini, i will explain this later) then these 2 numbers has affect on the amount of weapons dropped.
The 1 tells this "The first weapon will be dropped if the player has at least 1 credit". So in this cause always, because every player has 1 credit
The 100000 tells "Every next weapon will be dropped if the player has reached 100000 credits.
So if the chance is 100% and you have 500001 credits the NPC will drop 5 nomad_guns (if this is in the cargo of the NPC!!)
If you have 50000 credits, the change is 100% that the npc will drop 1 nomad gun, and 50% for the next nomad gun (because you have not reached the 100000 ofcourse.
Oke, if you want to change how much guns they drop go to ships/loadouts.ini
We take as example the nomad ship:
loadout = no_fighter_loadout02
cargo = special_nomad_gun01, 1
cargo = special_nomad_gun02, 1
He has 2 guns of each type in his cargo-bay. So he max. drop 2 guns (if both has set to 100% dropchance). Change it to another number to let it drop more guns
if it reached 100% chance.
loadout = no_fighter_loadout02
cargo = special_nomad_gun01, 10
cargo = special_nomad_gun02, 1
Hes has now 10 special_nomad_gun01 in his bay and 1 special_nomad_gun02. So he can't drop 5 nomad_gun2 types (even if you have thos changes)
Oke, i hope some people can do something with this. Sorry for my bad english
Working on the Phoenix project.
Edited by - Paniohitus on 3/13/2004 5:12:33 AM