cant get it to work no clue why
ok so I changed.
CRTYPE_MUT = Super Mutant
#################################################################
_basetypes.fos
Added:
// Mutant
#define CRTYPE_MUT_LEATHER_JACKET (20)
#define CRTYPE_MUT_JUMPSUIT (21)
#define CRTYPE_MUT_LEATHER_ARMOR (20)
#define CRTYPE_MUT_METAL_ARMOR (52)
#################################################################
critter_item_movment.fos
// Mutant redirects
if(cr.Stat[ST_BASE_CRTYPE] == CRTYPE_MUT_JUMPSUIT && isMale)
{
crType = CRTYPE_MUT_JUMPSUIT;
if(toSlot == SLOT_ARMOR)
{
crType = item.Proto.Armor_CrTypeMale;
if(crType == CRTYPE_MALE_LEATHER_ARMOR)
crType = CRTYPE_MUT_LEATHER_ARMOR;
else if(crType == CRTYPE_MALE_LEATHER_JACKET)
crType = CRTYPE_MUT_LEATHER_JACKET;
else if(crType == CRTYPE_MALE_METAL_ARMOR)
crType = CRTYPE_MUT_METAL_ARMOR;
}
}
#################################################################
Npc_travel.fos
{
// player-like
CRTYPE_MALE_JUMPSUIT,
CRTYPE_LHD_JUMPSUIT,
CRTYPE_BHD_JUMPSUIT,
CRTYPE_MUT_JUMPSUIT,
CRTYPE_MALE_VAULTSUIT,
// npc
CRTYPE_KHAN_LONGHAIR,
CRTYPE_MONK
};
#################################################################
Cheats.fos
if(players[p].StatBase[ST_GENDER] == GENDER_MALE &&
(players[p].StatBase[ST_BASE_CRTYPE] == CRTYPE_MALE_DEFAULT ||
players[p].StatBase[ST_BASE_CRTYPE] == CRTYPE_MALE_JUMPSUIT ||
players[p].StatBase[ST_BASE_CRTYPE] == CRTYPE_LHD_JUMPSUIT ||
players[p].StatBase[ST_BASE_CRTYPE] == CRTYPE_MUT_JUMPSUIT ||
players[p].StatBase[ST_BASE_CRTYPE] == CRTYPE_BHD_JUMPSUIT))
continue;
#################################################################
It wont work and causes server errors like:
[59:925] ConstantsManager::GetDefineValue - Define<CRTYPE_MUT_JUMPSUIT> not found, taked zero by default.
[59:925] ConstantsManager::GetDefineValue - Define<CRTYPE_MUT_JUMPSUIT> not found, taked zero by default.
[01:15:612] Script callback: ERR: Couldn't read AnyData array : vaul_guard : QuestPool::QuestPool(uint) : 572, 4 : Critter::ParseScript : Npc (5000386).
[01:15:651] Script callback: ERR: Couldn't read AnyData array : vaul_guard : QuestPool::QuestPool(uint) : 572, 4 : Critter::ParseScript : Npc (5000470).
[01:16:380] CritterManager::CreateNpc - Accuracy position busy, map pid<70>, hx<169>, hy<277>.
[01:16:380] Map::Generate - Create npc on map<junktown> with pid<23> failture - continue generate.
[01:16:456] FOServer::SScriptFunc::Crit_ChangeCrType : Script error: New type arg is zero. : critter_item_movement : void critter_move_item(Critter&inout, Item&inout, uint8) : 486, 4 : Critter::EventMoveItem : Npc (5002152).
[01:16:468] CritterManager::CreateNpc - Accuracy position busy, map pid<267>, hx<82>, hy<63>.
[01:16:468] Map::Generate - Create npc on map<newr_stables1> with pid<4> failture - continue generate.
[01:16:647] Map::Generate - Add item to Map<hub_water> with pid<2481> failture, continue generate.
[01:16:701] CritterManager::CreateNpc - Accuracy position busy, map pid<100>, hx<218>, hy<183>.
[01:16:701] Map::Generate - Create npc on map<ares_enter> with pid<9> failture - continue generate.
Lol what the hell what have I done wrong ;(