Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
like this please:
SurvivorRandomSuits["Common"]["Basic1"] = {"Base.Hat_BaseballCapBlue", "Base.Shirt_HawaiianRed", "Base.TrousersMesh_DenimLight", "Base.Shoes_Black"}
SurvivorRandomSuits["Normal"]["Hunter1"] = {"Base.Hat_BonnieHat_CamoGreen", "Base.Vest_Hunting_Camo", "Base.Trousers_CamoGreen", "Base.Shoes_BlackBoots"}
SurvivorRandomSuits["Rare"]["Army1"] = {"Base.Hat_BeretArmy", "Base.Jacket_CoatArmy", "Base.Trousers_ArmyService", "Base.Shoes_ArmyBoots"}
SurvivorRandomSuits["Rare"]["Groom1"] = {"Base.Tie_BowTieFull", "Base.Gloves_WhiteTINT", "Base.WeddingJacket", "Base.Shirt_FormalWhite", "Base.Trousers_Suit", "Base.Socks_Long", "Shoes_Black"}
SurvivorRandomSuits["Rare"]["Priest1"] = {"Base.Shirt_Priest", "Base.Trousers_Suit", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Normal"]["ShopGeneric1"] = {"Base.Tshirt_DefaultDECAL", "Base.Apron_Black", "Base.TrousersMesh_DenimLight", "Base.Socks_Ankle", "Base.Shoes_TrainerTINT"}
SurvivorRandomSuits["Rare"]["ShopSpiffo1"] = {"Base.Tshirt_BusinessSpiffo", "Base.Apron_Spiffos", "Base.TrousersMesh_DenimLight", "Base.Socks_Ankle", "Base.Shoes_TrainerTINT"}
SurvivorRandomSuits["Rare"]["SwimwearF1"] = {"Base.Bikini_Pattern01"}
SurvivorRandomSuits["Rare"]["SwimwearM1"] = {"Base.SwimTrunks_Blue"}
SurvivorRandomSuits["Normal"]["Athlete1"] = {"Base.Shorts_ShortSport", "Base.Tshirt_Sport", "Base.Socks_Ankle", "Base.Shoes_TrainerTINT"}
SurvivorRandomSuits["Normal"]["Student1"] = {"Base.Tshirt_DefaultDECAL", "Base.TrousersMesh_DenimLight", "Base.Socks_Ankle", "Base.Shoes_TrainerTINT", "Base.Jacket_Varsity"}
SurvivorRandomSuits["Common"]["Dress01"] = {"Base.Dress_Normal", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Common"]["Dress02"] = {"Base.Hat_Beret", "Base.Dress_ Knees", “Base.Socks_Long”, “Base.Shoes_Black”}
SurvivorRandomSuits["Common"]["Dress03"] = {"Base.Dress_Long", “Base.Socks_Long”, “Base.Shoes_Black”}
SurvivorRandomSuits["Common"]["Skirt01"] = {"Base.Skirt_Normal", “Base.Tshirt_DefaultTEXTURE”, “Base.Socks_Long”, “Base.Shoes_Black”}
SurvivorRandomSuits["Common"]["Skirt02"] = {"Base.Skirt_Knees", “Base.Tshirt_DefaultTEXTURE”, “Base.Socks_Long”, “Base.Shoes_Black”, “Base.Hat_Beret”}
SurvivorRandomSuits["Common"]["Skirt03"] = {"Base.Skirt_Long", “Base.Tshirt_DefaultTEXTURE”, “Base.Socks_Long”, “Base.Shoes_Black”}
SurvivorRandomSuits["Normal"]["OfficeM1"] = {"Base.Tie_Full", “Base.Shirt_FormalWhite”, “Base.Trousers_Suit”, “Base.Socks_Ankle”, “Base.Shoes_Black”}
SurvivorRandomSuits["Normal"]["OfficeF1"] = {"Base.Shirt_FormalWhite", “Base.Skirt_Normal”, “Base.Socks_Long”, “Base.Shoes_Black”}
SurvivorRandomSuits["Normal"]["Biker1"] = {"Base.Hat_Bandana", “Base.Glasses_Aviators”, “Base.Jacket_Black”, “Base.Tshirt_Rock”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, “Base.Shoes_Black”}
SurvivorRandomSuits["Rare"]["Prepper1"] = {"Base.Hat_GasMask", “Base.HoodieUP_GreenTINT”, “Base.Vest_BulletCivilian”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, “Base.Shoes_Black”}
SurvivorRandomSuits["Common"]["Generic01"] = {"Base.HoodieDOWN_GreyTINT”, “Base.Tshirt_Rock”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, "Base.Shoes_TrainerTINT"}
SurvivorRandomSuits["Common"]["Generic02"] = {"Base.Tshirt_DefaultDECAL”, “Base.Jumper_DiamondPatternTINT”, “Base.Glasses_Normal”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, “Base.Shoes_TrainerTINT”}
SurvivorRandomSuits["Common"]["Generic03"] = {"Base.Jumper_RoundNeck”, “Base.Tshirt_Rock”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, “Base.Shoes_TrainerTINT”}
SurvivorRandomSuits["Common"]["Generic04"] = {"Base.Tshirt_DefaultDECAL”, "Base.TrousersMesh_DenimLight", “Base.Socks_Ankle”, “Base.Shoes_TrainerTINT”}
SurvivorRandomSuits["Rare"]["Nurse1"] = {"Base.Hat_SurgicalMask_Blue”, “Base.Tshirt_Scrubs”, “Base.Trousers_Scrubs”, “Base.Socks_Ankle”, “Base.Shoes_Black”}
Here's all the ones I said in the other discussion for now
edit... I tried it with and without :
if(isModEnabled("SuperbSurvivors"))
if( not PresetSpawns ) then PresetSpawns = {} end
*** my lines in here ***
end
Edit edit... putting in 2_Other folder makes no difference...
Also, to avoid some confusion as I initially had, the option is sort of a double negative... Disable needs to be set to [OFF]... some may read it as Preset NPCs are [OFF]... Maybe just have it read... PRESETS [ON/OFF] ??
Also also... did you intentionally disable Following Distance keybinding? just wondering....
probably had sometihg to do with load order.
so i just made some chages so that it only processes the table on game load. so now it should not matter whos file gets loaded first.
i shouldbnt hurt but you wouldnt really need the ifModEnabled condition, even if survivors not enabled, there is no harm in declaring that table
try again now witth your own file in your own mod.
just need a file with:
if( not PresetSpawns ) then PresetSpawns = {} end
--then your lines here:
PresetSpawns[#PresetSpawns+1] = {Suit = "Farmer", Greeting = "I bet you could use someone who knows about farming. If you make it worth my while I just might go with you.",isFemale = false, PerkName="Farming",PerkLevel=5, Name = "Farmer Phil", X = 12059, Y = 7363, Z = 0 , Weapon = "Base.Hammer", Orders = "Patrol", isHostile = false, Patrolling=true, PX=0,PY=-4};
SurvivorRandomSuits["Normal"]["Cop1"] = {"Base.Hat_Police", "Base.Jacket_Police", "Base.Trousers_Police", "Base.Shirt_PoliceBlue", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Normal"]["Ranger1"] = {"Base.Hat_Ranger", "Base.Jacket_Ranger", "Base.Trousers_Ranger", "Base.Shirt_Ranger", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Normal"]["Deputy1"] = {"Base.Jacket_Police", "Base.Trousers_PoliceGrey", "Base.Shirt_PoliceGrey", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Normal"]["Bandit1"] = {"Base.Hat_BalaclavaFull", "Base.Jacket_Padded", "Base.Trousers_CamoUrban", "Base.Tshirt_Rock", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Normal"]["Bandit2"] = {"Base.Hat_BalaclavaFull", "Base.HoodieUP_WhiteTINT", "Base.Trousers", "Tshirt_DefaultDECAL", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Rare"]["Bandit3"] = {"Base.Hat_GasMask", "Base.Vest_Hunting_Camo", "Base.Trousers_CamoGreen", "Base.Shoes_BlackBoots"}
SurvivorRandomSuits["Rare"]["Prisoner1"] = {"Base.Boilersuit_Prisoner", "Base.Shoes_Black"}
SurvivorRandomSuits["Normal"]["Worker1"] = {"Base.Shirt_Workman", "Base.Vest_HighViz", "Base.TrousersMesh_DenimLight", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Normal"]["Student1"] = {"Base.Shorts_ShortSport", "Base.Tshirt_Sport", "Base.Socks_Ankle", "Base.Shoes_TrainerTINT"}
Female
SurvivorRandomSuits["Rare"]["Bride1"] = {"Base.WeddingDress", "Base.Shirt_FormalWhite", "Base.Socks_Long", "Base.Shoes_Black"}
SurvivorRandomSuits["Rare"]["SwimwearF1"] = {"Base.Bikini_Pattern01"}
SurvivorRandomSuits["Common"]["Dress01"] = {"Base.Dress_Normal", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Common"]["Dress02"] = {"Base.Hat_Beret", "Base.Dress_ Knees", “Base.Socks_Long”, “Base.Shoes_Black”}
SurvivorRandomSuits["Common"]["Dress03"] = {"Base.Dress_Long", “Base.Socks_Long”, “Base.Shoes_Black”}
SurvivorRandomSuits["Common"]["Skirt01"] = {"Base.Skirt_Normal", “Base.Tshirt_DefaultTEXTURE”, “Base.Socks_Long”, “Base.Shoes_Black”}
SurvivorRandomSuits["Common"]["Skirt02"] = {"Base.Skirt_Knees", “Base.Tshirt_DefaultTEXTURE”, “Base.Socks_Long”, “Base.Shoes_Black”, “Base.Hat_Beret”}
SurvivorRandomSuits["Common"]["Skirt03"] = {"Base.Skirt_Long", “Base.Tshirt_DefaultTEXTURE”, “Base.Socks_Long”, “Base.Shoes_Black”}
SurvivorRandomSuits["Normal"]["OfficeF1"] = {"Base.Shirt_FormalWhite", “Base.Skirt_Normal”, “Base.Socks_Long”, “Base.Shoes_Black”}
Male
SurvivorRandomSuits["Rare"]["Groom1"] = {"Base.Tie_BowTieFull", "Base.Gloves_WhiteTINT", "Base.WeddingJacket", "Base.Shirt_FormalWhite", "Base.Trousers_Suit", "Base.Socks_Long", "Shoes_Black"}
SurvivorRandomSuits["Rare"]["Priest1"] = {"Base.Shirt_Priest", "Base.Trousers_Suit", "Base.Socks_Ankle", "Base.Shoes_Black"}
SurvivorRandomSuits["Rare"]["SwimwearM1"] = {"Base.SwimTrunks_Blue"}
SurvivorRandomSuits["Normal"]["OfficeM1"] = {"Base.Tie_Full", “Base.Shirt_FormalWhite”, “Base.Trousers_Suit”, “Base.Socks_Ankle”, “Base.Shoes_Black”}
SurvivorRandomSuits["Common"]["Generic02"] = {"Base.Tshirt_DefaultDECAL”, “Base.Jumper_DiamondPatternTINT”, “Base.Glasses_Normal”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, “Base.Shoes_TrainerTINT”}
SurvivorRandomSuits["Common"]["Generic03"] = {"Base.Jumper_RoundNeck”, “Base.Tshirt_Rock”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, “Base.Shoes_TrainerTINT”}
Both
SurvivorRandomSuits["Normal"]["ShopGeneric1"] = {"Base.Tshirt_DefaultDECAL", "Base.Apron_Black", "Base.TrousersMesh_DenimLight", "Base.Socks_Ankle", "Base.Shoes_TrainerTINT"}
SurvivorRandomSuits["Rare"]["ShopSpiffo1"] = {"Base.Tshirt_BusinessSpiffo", "Base.Apron_Spiffos", "Base.TrousersMesh_DenimLight", "Base.Socks_Ankle", "Base.Shoes_TrainerTINT"}
SurvivorRandomSuits["Normal"]["Athlete1"] = {"Base.Shorts_ShortSport", "Base.Tshirt_Sport", "Base.Socks_Ankle", "Base.Shoes_TrainerTINT"}
SurvivorRandomSuits["Normal"]["Student1"] = {"Base.Tshirt_DefaultDECAL", "Base.TrousersMesh_DenimLight", "Base.Socks_Ankle", "Base.Shoes_TrainerTINT", "Base.Jacket_Varsity"}
SurvivorRandomSuits["Normal"]["Biker1"] = {"Base.Hat_Bandana", “Base.Glasses_Aviators”, “Base.Jacket_Black”, “Base.Tshirt_Rock”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, “Base.Shoes_Black”}
SurvivorRandomSuits["Rare"]["Prepper1"] = {"Base.Hat_GasMask", “Base.HoodieUP_GreenTINT”, “Base.Vest_BulletCivilian”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, “Base.Shoes_Black”}
SurvivorRandomSuits["Common"]["Generic01"] = {"Base.HoodieDOWN_GreyTINT”, “Base.Tshirt_Rock”, “Base.TrousersMesh_DenimLight”, “Base.Socks_Ankle”, "Base.Shoes_TrainerTINT"}
SurvivorRandomSuits["Common"]["Generic04"] = {"Base.Tshirt_DefaultDECAL”, "Base.TrousersMesh_DenimLight", “Base.Socks_Ankle”, “Base.Shoes_TrainerTINT”}
SurvivorRandomSuits["Rare"]["Nurse1"] = {"Base.Hat_SurgicalMask_Blue”, “Base.Tshirt_Scrubs”, “Base.Trousers_Scrubs”, “Base.Socks_Ankle”, “Base.Shoes_Black”}
Here man, I sorted them into the categories for you lol
How did you make it work? I would like to do this for myself as well
From what I understand:
1. Make a .lua file on notepad
2. Declare "if( not PresetSpawns ) then PresetSpawns = {} end" on the start
3. Make the rest of the lines, for example:
PresetSpawns[#PresetSpawns+1] = {Suit = "Farmer", Greeting = "I bet you could use someone who knows about farming. If you make it worth my while I just might go with you.",isFemale = false, PerkName="Farming",PerkLevel=5, Name = "Farmer Phil", X = 12059, Y = 7363, Z = 0 , Weapon = "Base.Hammer", Orders = "Patrol", isHostile = false, Patrolling=true, PX=0,PY=-4};
4. End, then run PZ
5. It's supposed to work?
yes thats right, but of course the lua file you made needs to be in a lua/client/ folder of a mod that is enabled
Edit... but sometimes they are correct, which leads me to think the variable isn't being checked on spawn ?