Gunny-e174dd68292a73e3 0 Posted January 7, 2023 I cant find a spawn selection mod which does the following for me. I would like to have a respawn selection mod on my server but I dont want new players to be able to select spawn - they should spawn from cfgplayerspawnpoints.xml So I was thinking there must be a way to have a mod like BasicSpawnSelect install and when its a new player it does not use that mod but goes to vanilla spawn points. But how? Share this post Link to post Share on other sites
Gunny-e174dd68292a73e3 0 Posted January 7, 2023 (edited) Found that zSpawnSelection already did that. Sorry no it didnt, it was a setup error on my part, so the question still stands Edited January 7, 2023 by Gunny-e174dd68292a73e3 Share this post Link to post Share on other sites
Sid Debian 132 Posted January 8, 2023 On 1/7/2023 at 10:46 AM, Gunny-e174dd68292a73e3 said: I cant find a spawn selection mod which does the following for me. I would like to have a respawn selection mod on my server but I dont want new players to be able to select spawn - they should spawn from cfgplayerspawnpoints.xml So I was thinking there must be a way to have a mod like BasicSpawnSelect install and when its a new player it does not use that mod but goes to vanilla spawn points. But how? You need to create own mod.based on those mod that you're using. Server-side has CustomMission.OnPlayerSpawn fnc, OnDisconnect. Onplayerspwn - check does your server has file like SteamID.json in your profile folder. And check amount of disconnections. If you has it then player at least 1 time disconnected and already had a character. OnDisconnect - create or override file SteamID.json with disconnectinonCounter + 1 Now the full scheme: 1st situation we has a totally new player: He/she did connected (file not existing) - OnPlayerRespawn use std fame coords that passed as argument of fnc. He/she disconnected - create file SteamID.json and write there DisconnectionCount = 1 Situation 2: he/she had been disconnected several times but less then 20 (for example), on 21th respawn checkout if DisconnectCount = 20 - send RPC for start mod with selection of point. If less then use std coords. Situation 3: if player is good - simply set a fix standalone point for him or her. In other cases - brainhack your brain... Heck that's something about that. Share this post Link to post Share on other sites
Gunny-e174dd68292a73e3 0 Posted January 8, 2023 What I ended up doing was using zSpawnSelectionFixed as a base because it is open source. In MissionServer I have an array where I store ids from the dead.When EEKilled send a message to client whit the position of dead I send a message to MissionServer with the id and store it in the array. I have an call later function which clears the id after some time to not overflood it. When OnClientNewEvent is trigger, for both new spawns and respawns in MissionServer I see if the id is in the array. If so it gets a dialog else it just ignores the dialog and the systems normal spawn process is running. But I quite like the idea of a file instead of the array so I think I will change to that methode. Thanks for you valuable answer Share this post Link to post Share on other sites
Sid Debian 132 Posted January 8, 2023 3 hours ago, Gunny-e174dd68292a73e3 said: What I ended up doing was using zSpawnSelectionFixed as a base because it is open source. In MissionServer I have an array where I store ids from the dead.When EEKilled send a message to client whit the position of dead I send a message to MissionServer with the id and store it in the array. I have an call later function which clears the id after some time to not overflood it. When OnClientNewEvent is trigger, for both new spawns and respawns in MissionServer I see if the id is in the array. If so it gets a dialog else it just ignores the dialog and the systems normal spawn process is running. But I quite like the idea of a file instead of the array so I think I will change to that methode. Thanks for you valuable answer Oky then here for you some info that may help you: CustomMission overrides (aka init.c): Spoiler // At top of file init.c #include "$mission:\\Classes\\PlayerInfo.c" class CustomMission: MissionServer { override void InvokeOnConnect(PlayerBase player, PlayerIdentity identity) { super.InvokeOnConnect(player, identity); Print ("::: InvokeOnConnect, connecting: NAME: \"" + identity.GetName() + "\", UID: " + identity.GetPlainId()+ ", ID: "+identity.GetId()); // Here we ae override the statemnet when player just connected } override void OnClientDisconnectedEvent(PlayerIdentity identity, PlayerBase player, int logoutTime, bool authFailed) { Print(" OnClientDisconnectedEvent for: "+identity.GetPlainId()); super.OnClientDisconnectedEvent(identity, player, logoutTime, authFailed); } override void OnClientDisconnectedEvent(PlayerIdentity identity, PlayerBase player, int logoutTime, bool authFailed) { Print(" OnClientDisconnectedEvent for: "+identity.GetId()); // Here we shall execute trigger for increasing amount of discnnects for current user super.OnClientDisconnectedEvent(identity, player, logoutTime, authFailed); } override void OnClientReconnectEvent(PlayerIdentity identity, PlayerBase player) { // Here code might twice fired coz of connection & respawn event Print(" OnClientReconnectEvent for: "+identity.GetPlainId()); super.OnClientReconnectEvent(identity, player); } override void OnClientRespawnEvent(PlayerIdentity identity, PlayerBase player) { //players respawn event happens after death and player selected Respawn Print(" OnClientRespawnEvent for: "+identity.GetPlainId()); super.OnClientRespawnEvent(identity, player); } override PlayerBase CreateCharacter(PlayerIdentity identity, vector pos, ParamsReadContext ctx, string characterName) { Print(" CreateCharacter for: "+identity.GetPlainId()); ref CharacterStore storeDta = new CharacterStore; storeDta.Load(identity.GetId()); if (storeDta.ConnectionAmmount < 20) { //Call polce... oh heck not that way playerEnt = GetGame().CreatePlayer(identity, characterName, pos, 0, "NONE"); // create character at rnd game coords } else if (storeDta.ConnectionAmmount >= 20) { //Way 1: playerEnt = GetGame().CreatePlayer(identity, characterName, "1234 420 4321", 0, "NONE"); //Way 2: playerEnt = GetGame().CreatePlayer(identity, characterName, storeDta.Coords, 0, "NONE"); // Define Vector var @ CharacterStore class! // Way 3: set coords any other way... } } } Now the file $mission:\\Classes\\PlayerInfo.c: Spoiler class CharacterData { int ConnectionAmmount = 0; void CharacterData() { ConnectionAmmount = 0; } bool Load(long SteamID) { string BASE_PLAYER_SAVE_DIR = "$profile:\\Players\\"; MakeDirectory( BASE_PLAYER_SAVE_DIR ); BASE_PLAYER_SAVE_DIR = "$profile:\\Players\\"+GetGame().GetWorldName()+"\\"; MakeDirectory( BASE_PLAYER_SAVE_DIR ); if (FileExist(BASE_PLAYER_SAVE_DIR+ SteamID + ".json")) { ref CharacterData oData = new CharacterData; oData.Load(); ConnectionAmmount = oData.ConnectionAmmount; // Load in current instance last amount of conn/disconn return true; } return false; } void Save(long SteamID) { string BASE_PLAYER_SAVE_DIR = "$profile:\\Players\\"; MakeDirectory( BASE_PLAYER_SAVE_DIR ); BASE_PLAYER_SAVE_DIR = "$profile:\\Players\\"+GetGame().GetWorldName()+"\\"; MakeDirectory( BASE_PLAYER_SAVE_DIR ); // No problems if Folder already exists - will just nothing happens here // Profile folder will be like {profile}\Players\enoch\ ref CharacterData oData = NULL; if (FileExist(BASE_PLAYER_SAVE_DIR+ SteamID + ".json")) { oData = new CharacterData; // We can't save directly from current object through "this" key-word so make copy oData.Load(); oData.ConnectionAmmount = oData.ConnectionAmmount + 1; //let's make it safety then we'll able to ++ if (DeleteFile(BASE_PLAYER_SAVE_DIR+ SteamID + ".json")) { JsonFileLoader<CharacterData>.JsonSaveFile(BASE_PLAYER_SAVE_DIR+ SteamID + ".json", oData); } // Full path will be like: {profile}\Players\enoch\76561197991259XXXX.json } else { // If file not yet existing and player first time connected/disconnected oData = new CharacterData; oData.ConnectionAmmount = 1; JsonFileLoader<CharacterData>.JsonSaveFile(BASE_PLAYER_SAVE_DIR+ SteamID + ".json", oData); // Just created save flie! } } } That's something about. I hope that will help you to solve your problem 🙂 Share this post Link to post Share on other sites
Daxolion 0 Posted January 8, 2023 Hello, i work on my own Clothing Mod without Textures. I use the DayZ Vanilla Textures. The Mountain backpacks work and the Pants work. The Shirts work too but the Textures are bugged. The Beanies wont show up ingame and dont work The Hunting backpack wont show up ingame and dont work Maybe someone can help me. Here is the Code: class CfgPatches { class PGB_clothing { units[]={}; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "DZ_Characters", "DZ_Characters_Backpacks", "DZ_Characters_Pants", "DZ_Characters_Tops", "DZ_Characters_Headgear", "DZ_Gear_Containers", "DZ_Data" }; }; }; class CfgMagazines { class DefaultMagazine; class Magazine_Base: DefaultMagazine { inventorySlot[]= { "magazine", "magazine2", "magazine3", "magazine4", "magazine5", "magazine6", "magazine7", "magazine8" }; }; }; class cfgWeapons { class RifleCore; class Rifle_Base: RifleCore { scope=0; inventorySlot[]= { "Shoulder", "Melee", "Shoulder1", "Shoulder2", "Shoulder3", "Shoulder4", "Shoulder5", "Shoulder6", "Shoulder7", "Shoulder8", "Shoulder9", "Shoulder10", "Shoulder11", "Shoulder12", "Shoulder13", "Shoulder14", "Shoulder15", "Shoulder16", "Shoulder17", "Shoulder18", "Shoulder19", "Shoulder20", "Shoulder21", "Shoulder22", "Shoulder23", "Shoulder24", "Shoulder25", "Shoulder26", "Shoulder27", "Shoulder28", "Shoulder29", "Shoulder30", "WeaponBoxShoulder" }; }; class PistolCore; class Pistol_Base: PistolCore { scope=0; inventorySlot[]= { "pistol", "pistol1", "pistol2", "pistol3", "pistol4", "pistol5", "pistol6", "pistol7", "pistol8", "pistol9", "pistol10" }; }; }; class CfgSlots { class Slot_magazine2 { name="magazine2"; displayName="magazine2"; ghostIcon="magazine2"; }; class Slot_magazine3 { name="magazine3"; displayName="magazine3"; ghostIcon="magazine2"; }; class Slot_magazine4 { name="magazine4"; displayName="magazine4"; ghostIcon="magazine2"; }; class Slot_magazine5 { name="magazine5"; displayName="magazine5"; ghostIcon="magazine2"; }; class Slot_magazine6 { name="magazine6"; displayName="magazine6"; ghostIcon="magazine2"; }; class Slot_magazine7 { name="magazine7"; displayName="magazine7"; ghostIcon="magazine2"; }; class Slot_magazine8 { name="magazine8"; displayName="magazine8"; ghostIcon="magazine2"; }; class Slot_shoulder1 { name="shoulder1"; displayName="Weapon"; ghostIcon="shoulderleft"; }; class Slot_shoulder2 { name="shoulder2"; displayName="Weapon"; ghostIcon="shoulderleft"; }; class Slot_shoulder3 { name="shoulder3"; displayName="Weapon"; ghostIcon="shoulderleft"; }; class Slot_shoulder4 { name="shoulder4"; displayName="Weapon"; ghostIcon="shoulderleft"; }; class Slot_shoulder5 { name="shoulder5"; displayName="Weapon"; ghostIcon="shoulderleft"; }; class Slot_shoulder6 { name="shoulder6"; displayName="Weapon"; ghostIcon="shoulderleft"; }; class Slot_shoulder7 { name="shoulder7"; displayName="Weapon"; ghostIcon="shoulderleft"; }; class Slot_shoulder8 { name="shoulder8"; displayName="Weapon"; ghostIcon="shoulderleft"; }; class slot_shoulder9 { name="shoulder9"; displayName="Weapon"; ghostIcon="shoulderleft"; }; class Slot_shoulder10 { name="shoulder10"; displayName="Weapon"; ghostIcon="shoulderleft"; }; }; class CfgVehicles { // Backpacks class MountainBag_ColorBase; class PGB_Neuling_Backpack: MountainBag_ColorBase { scope=2; displayName="PGB Neulings Rucksack"; descriptionShort="ProudGameBrothers ServerPack"; itemsCargoSize[]={10,10}; attachments[]= { "Shoulder", "Body", "Legs", "Feet" }; hiddenSelectionsTextures[]= { "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=1000; transferToAttachmentsCoef=0.5; healthLevels[]= { { 1, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.69999999, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.5, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0.30000001, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0, { "DZ\Characters\backpacks\data\mountain_destruct.rvmat" } } }; }; }; }; }; class PGB_Backpack_LVL1: MountainBag_ColorBase { scope=2; displayName="PGB Rucksack LVL1"; descriptionShort="ProudGameBrothers ServerPack"; itemsCargoSize[]={10,25}; attachments[]= { "Shoulder", "Body", "Legs", "Feet" }; hiddenSelectionsTextures[]= { "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=1000; transferToAttachmentsCoef=0.5; healthLevels[]= { { 1, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.69999999, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.5, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0.30000001, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0, { "DZ\Characters\backpacks\data\mountain_destruct.rvmat" } } }; }; }; }; }; class PGB_Backpack_LVL2: MountainBag_ColorBase { scope=2; displayName="PGB Rucksack LVL2"; descriptionShort="ProudGameBrothers ServerPack"; itemsCargoSize[]={10,50}; attachments[]= { "Shoulder", "Body", "Vest", "Hips", "Legs", "Feet" }; hiddenSelectionsTextures[]= { "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=2000; transferToAttachmentsCoef=0.40000001; healthLevels[]= { { 1, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.69999999, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.5, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0.30000001, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0, { "DZ\Characters\backpacks\data\mountain_destruct.rvmat" } } }; }; }; }; }; class PGB_Backpack_LVL3: MountainBag_ColorBase { scope=2; displayName="PGB Rucksack LVL3"; descriptionShort="ProudGameBrothers ServerPack"; itemsCargoSize[]={10,75}; attachments[]= { "Shoulder", "Body", "Vest", "Hips", "Legs", "Feet", "Headgear", "Belt_Left" }; hiddenSelectionsTextures[]= { "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=3000; transferToAttachmentsCoef=0.30000001; healthLevels[]= { { 1, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.69999999, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.5, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0.30000001, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0, { "DZ\Characters\backpacks\data\mountain_destruct.rvmat" } } }; }; }; }; }; class PGB_Backpack_LVL4: MountainBag_ColorBase { scope=2; displayName="PGB Rucksack LVL4"; descriptionShort="ProudGameBrothers ServerPack"; itemsCargoSize[]={10,100}; attachments[]= { "Shoulder", "Melee", "Body", "Vest", "Hips", "Legs", "Feet", "Headgear", "Mask", "Eyewear", "Gloves", "Armband", "Belt_Left" }; hiddenSelectionsTextures[]= { "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa", "dz\characters\backpacks\data\mountain_green_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=5000; transferToAttachmentsCoef=0.1; healthLevels[]= { { 1, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.69999999, { "DZ\Characters\backpacks\data\mountain.rvmat" } }, { 0.5, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0.30000001, { "DZ\Characters\backpacks\data\mountain_damage.rvmat" } }, { 0, { "DZ\Characters\backpacks\data\mountain_destruct.rvmat" } } }; }; }; }; }; // Beanies class BeanieHat_ColorBase; class PGB_Neuling_Beanie: BeanieHat_ColorBase { scope=2; displayName="PGB Neulings Beanie"; descriptionShort="ProudGameBrothers ServerPack"; heatIsolation=0.85000002; visibilityModifier=0.85000002; itemsCargoSize[]={10,1}; attachments[]= { "Eyewear", "Mask" }; hiddenSelections[]= { "camoGround", "camoMale", "camoFemale" }; hiddenSelectionsTextures[]= { "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa" }; }; class PGB_Beanie_LVL1: BeanieHat_ColorBase { scope=2; displayName="PGB Beanie LVL1"; descriptionShort="ProudGameBrothers ServerPack"; heatIsolation=0.85000002; visibilityModifier=0.85000002; itemsCargoSize[]={10,2}; attachments[]= { "Eyewear", "Mask" }; hiddenSelections[]= { "camoGround", "camoMale", "camoFemale" }; hiddenSelectionsTextures[]= { "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=1000; healthLevels[]= { { 1, { "DZ\characters\headgear\data\BeanieHat.rvmat" } }, { 0.69999999, { "DZ\characters\headgear\data\BeanieHat.rvmat" } }, { 0.5, { "DZ\characters\headgear\data\BeanieHat_damage.rvmat" } }, { 0.30000001, { "DZ\characters\headgear\data\BeanieHat_damage.rvmat" } }, { 0, { "DZ\characters\headgear\data\BeanieHat_destruct.rvmat" } } }; }; }; }; }; class PGB_Beanie_LVL2: BeanieHat_ColorBase { scope=2; displayName="PGB Beanie LVL2"; descriptionShort="ProudGameBrothers ServerPack"; heatIsolation=0.85000002; visibilityModifier=0.85000002; itemsCargoSize[]={10,3}; attachments[]= { "Eyewear", "Mask" }; hiddenSelections[]= { "camoGround", "camoMale", "camoFemale" }; hiddenSelectionsTextures[]= { "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=2000; healthLevels[]= { { 1, { "DZ\characters\headgear\data\BeanieHat.rvmat" } }, { 0.69999999, { "DZ\characters\headgear\data\BeanieHat.rvmat" } }, { 0.5, { "DZ\characters\headgear\data\BeanieHat_damage.rvmat" } }, { 0.30000001, { "DZ\characters\headgear\data\BeanieHat_damage.rvmat" } }, { 0, { "DZ\characters\headgear\data\BeanieHat_destruct.rvmat" } } }; }; }; }; }; class PGB_Beanie_LVL3: BeanieHat_ColorBase { scope=2; displayName="PGB Beanie LVL3"; descriptionShort="ProudGameBrothers ServerPack"; heatIsolation=0.85000002; visibilityModifier=0.85000002; itemsCargoSize[]={10,4}; attachments[]= { "Eyewear", "Mask" }; hiddenSelections[]= { "camoGround", "camoMale", "camoFemale" }; hiddenSelectionsTextures[]= { "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=3000; healthLevels[]= { { 1, { "DZ\characters\headgear\data\BeanieHat.rvmat" } }, { 0.69999999, { "DZ\characters\headgear\data\BeanieHat.rvmat" } }, { 0.5, { "DZ\characters\headgear\data\BeanieHat_damage.rvmat" } }, { 0.30000001, { "DZ\characters\headgear\data\BeanieHat_damage.rvmat" } }, { 0, { "DZ\characters\headgear\data\BeanieHat_destruct.rvmat" } } }; }; }; }; }; class PGB_Beanie_LVL4: BeanieHat_ColorBase { scope=2; displayName="PGB Beanie LVL4"; descriptionShort="ProudGameBrothers ServerPack"; heatIsolation=0.85000002; visibilityModifier=0.85000002; itemsCargoSize[]={10,5}; attachments[]= { "Eyewear", "Mask" }; hiddenSelections[]= { "camoGround", "camoMale", "camoFemale" }; hiddenSelectionsTextures[]= { "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa", "dz\characters\headgear\data\BeanieHat_green_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=3000; healthLevels[]= { { 1, { "DZ\characters\headgear\data\BeanieHat.rvmat" } }, { 0.69999999, { "DZ\characters\headgear\data\BeanieHat.rvmat" } }, { 0.5, { "DZ\characters\headgear\data\BeanieHat_damage.rvmat" } }, { 0.30000001, { "DZ\characters\headgear\data\BeanieHat_damage.rvmat" } }, { 0, { "DZ\characters\headgear\data\BeanieHat_destruct.rvmat" } } }; }; }; }; }; // Shirts class Shirt_ColorBase; class PGB_Neuling_Shirt: Shirt_ColorBase { scope=2; displayName="PGB Neulings Shirt"; descriptionShort="Willkommen bei ProudGameBrothers"; visibilityModifier=0.98000002; heatIsolation=0.69999999; itemsCargoSize[]={10,4}; hiddenSelectionsTextures[]= { "dz\characters\tops\data\Shirt_ground_checkBlue_co.paa", "dz\characters\tops\data\Shirt_ground_checkBlue_co.paa", "dz\characters\tops\data\Shirt_ground_checkBlue_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=50000; healthLevels[]= { { 1, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.69999999, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.5, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0.30000001, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0, { "DZ\characters\tops\Data\Shirt_destruct.rvmat", "DZ\characters\tops\Data\Shirt_ground_destruct.rvmat" } } }; }; }; }; }; class PGB_Shirt_LVL1: Shirt_ColorBase { scope=2; displayName="PGB Shirt LVL1"; descriptionShort="ProudGameBrothers ServerPack"; visibilityModifier=0.98000002; heatIsolation=0.69999999; itemsCargoSize[]={10,5}; attachments[]= { "magazine", "magazine2" }; hiddenSelectionsTextures[]= { "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa", "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa", "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=50000; healthLevels[]= { { 1, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.69999999, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.5, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0.30000001, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0, { "DZ\characters\tops\Data\Shirt_destruct.rvmat", "DZ\characters\tops\Data\Shirt_ground_destruct.rvmat" } } }; }; }; }; }; class PGB_Shirt_LVL2: Shirt_ColorBase { scope=2; displayName="PGB Shirt LV2"; descriptionShort="ProudGameBrothers ServerPack"; visibilityModifier=0.98000002; heatIsolation=0.69999999; itemsCargoSize[]={10,5}; attachments[]= { "Shoulder", "magazine", "magazine2" }; hiddenSelectionsTextures[]= { "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa", "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa", "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=50000; healthLevels[]= { { 1, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.69999999, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.5, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0.30000001, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0, { "DZ\characters\tops\Data\Shirt_destruct.rvmat", "DZ\characters\tops\Data\Shirt_ground_destruct.rvmat" } } }; }; }; }; }; class PGB_Shirt_LVL3: Shirt_ColorBase { scope=2; displayName="PGB Shirt LVL3"; descriptionShort="ProudGameBrothers ServerPack"; visibilityModifier=0.98000002; heatIsolation=0.69999999; itemsCargoSize[]={10,5}; attachments[]= { "Shoulder", "magazine", "magazine2", "magazine3", "magazine4" }; hiddenSelectionsTextures[]= { "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa", "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa", "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=50000; healthLevels[]= { { 1, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.69999999, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.5, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0.30000001, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0, { "DZ\characters\tops\Data\Shirt_destruct.rvmat", "DZ\characters\tops\Data\Shirt_ground_destruct.rvmat" } } }; }; }; }; }; class PGB_Shirt_LVL4: Shirt_ColorBase { scope=2; displayName="PGB Shirt LVL4"; descriptionShort="ProudGameBrothers ServerPack"; visibilityModifier=0.98000002; heatIsolation=0.69999999; itemsCargoSize[]={10,5}; attachments[]= { "Shoulder", "Shoulder1", "magazine", "magazine2", "magazine3", "magazine4" }; hiddenSelectionsTextures[]= { "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa", "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa", "dz\characters\tops\data\Shirt_ground_checkWhite_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=50000; healthLevels[]= { { 1, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.69999999, { "DZ\characters\tops\Data\Shirt.rvmat", "DZ\characters\tops\Data\Shirt_ground.rvmat" } }, { 0.5, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0.30000001, { "DZ\characters\tops\Data\Shirt_damage.rvmat", "DZ\characters\tops\Data\Shirt_ground_damage.rvmat" } }, { 0, { "DZ\characters\tops\Data\Shirt_destruct.rvmat", "DZ\characters\tops\Data\Shirt_ground_destruct.rvmat" } } }; }; }; }; }; // Pants class Jeans_ColorBase; class PGB_Neuling_Jeans: Jeans_ColorBase { scope=2; displayName="PGB Neulings Jeans"; descriptionShort="ProudGameBrothers ServerPack"; visibilityModifier=0.94999999; itemsCargoSize[]={10,4}; hiddenSelectionsTextures[]= { "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa" }; }; class PGB_Jeans_LVL1: Jeans_ColorBase { scope=2; displayName="PGB Jeans LVL1"; descriptionShort="ProudGameBrothers ServerPack"; visibilityModifier=0.94999999; itemsCargoSize[]={10,5}; hiddenSelectionsTextures[]= { "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=50000; healthLevels[]= { { 1, { "DZ\characters\pants\Data\Jeans_m_grd.rvmat", "DZ\characters\pants\Data\jeans.rvmat", "DZ\characters\pants\Data\jeans_f.rvmat" } }, { 0.69999999, { "DZ\characters\pants\Data\Jeans_m_grd.rvmat", "DZ\characters\pants\Data\jeans.rvmat", "DZ\characters\pants\Data\jeans_f.rvmat" } }, { 0.5, { "DZ\characters\pants\Data\Jeans_m_grd_damage.rvmat", "DZ\characters\pants\Data\jeans_damage.rvmat", "DZ\characters\pants\Data\jeans_f_damage.rvmat" } }, { 0.30000001, { "DZ\characters\pants\Data\Jeans_m_grd_damage.rvmat", "DZ\characters\pants\Data\jeans_damage.rvmat", "DZ\characters\pants\Data\jeans_f_damage.rvmat" } }, { 0, { "DZ\characters\pants\Data\Jeans_m_grd_destruct.rvmat", "DZ\characters\pants\Data\jeans_destruct.rvmat", "DZ\characters\pants\Data\jeans_f_destruct.rvmat" } } }; }; }; }; }; class PGB_Jeans_LVL2: Jeans_ColorBase { scope=2; displayName="PGB Jeans LV2"; descriptionShort="ProudGameBrothers ServerPack"; visibilityModifier=0.94999999; itemsCargoSize[]={10,5}; attachments[]= { "magazine", "magazine2" }; hiddenSelectionsTextures[]= { "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=50000; healthLevels[]= { { 1, { "DZ\characters\pants\Data\Jeans_m_grd.rvmat", "DZ\characters\pants\Data\jeans.rvmat", "DZ\characters\pants\Data\jeans_f.rvmat" } }, { 0.69999999, { "DZ\characters\pants\Data\Jeans_m_grd.rvmat", "DZ\characters\pants\Data\jeans.rvmat", "DZ\characters\pants\Data\jeans_f.rvmat" } }, { 0.5, { "DZ\characters\pants\Data\Jeans_m_grd_damage.rvmat", "DZ\characters\pants\Data\jeans_damage.rvmat", "DZ\characters\pants\Data\jeans_f_damage.rvmat" } }, { 0.30000001, { "DZ\characters\pants\Data\Jeans_m_grd_damage.rvmat", "DZ\characters\pants\Data\jeans_damage.rvmat", "DZ\characters\pants\Data\jeans_f_damage.rvmat" } }, { 0, { "DZ\characters\pants\Data\Jeans_m_grd_destruct.rvmat", "DZ\characters\pants\Data\jeans_destruct.rvmat", "DZ\characters\pants\Data\jeans_f_destruct.rvmat" } } }; }; }; }; }; class PGB_Jeans_LVL3: Jeans_ColorBase { scope=2; displayName="PGB Jeans LVL3"; descriptionShort="ProudGameBrothers ServerPack"; visibilityModifier=0.94999999; itemsCargoSize[]={10,5}; attachments[]= { "magazine", "magazine2", "magazine3", "magazine4" }; hiddenSelectionsTextures[]= { "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=50000; healthLevels[]= { { 1, { "DZ\characters\pants\Data\Jeans_m_grd.rvmat", "DZ\characters\pants\Data\jeans.rvmat", "DZ\characters\pants\Data\jeans_f.rvmat" } }, { 0.69999999, { "DZ\characters\pants\Data\Jeans_m_grd.rvmat", "DZ\characters\pants\Data\jeans.rvmat", "DZ\characters\pants\Data\jeans_f.rvmat" } }, { 0.5, { "DZ\characters\pants\Data\Jeans_m_grd_damage.rvmat", "DZ\characters\pants\Data\jeans_damage.rvmat", "DZ\characters\pants\Data\jeans_f_damage.rvmat" } }, { 0.30000001, { "DZ\characters\pants\Data\Jeans_m_grd_damage.rvmat", "DZ\characters\pants\Data\jeans_damage.rvmat", "DZ\characters\pants\Data\jeans_f_damage.rvmat" } }, { 0, { "DZ\characters\pants\Data\Jeans_m_grd_destruct.rvmat", "DZ\characters\pants\Data\jeans_destruct.rvmat", "DZ\characters\pants\Data\jeans_f_destruct.rvmat" } } }; }; }; }; }; class PGB_Jeans_LVL4: Jeans_ColorBase { scope=2; displayName="PGB Jeans LVL4"; descriptionShort="ProudGameBrothers ServerPack"; visibilityModifier=0.94999999; itemsCargoSize[]={10,5}; attachments[]= { "magazine", "magazine2", "magazine3", "magazine4", "magazine5", "magazine6" }; hiddenSelectionsTextures[]= { "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa", "dz\characters\pants\data\Jeans_brown_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=50000; healthLevels[]= { { 1, { "DZ\characters\pants\Data\Jeans_m_grd.rvmat", "DZ\characters\pants\Data\jeans.rvmat", "DZ\characters\pants\Data\jeans_f.rvmat" } }, { 0.69999999, { "DZ\characters\pants\Data\Jeans_m_grd.rvmat", "DZ\characters\pants\Data\jeans.rvmat", "DZ\characters\pants\Data\jeans_f.rvmat" } }, { 0.5, { "DZ\characters\pants\Data\Jeans_m_grd_damage.rvmat", "DZ\characters\pants\Data\jeans_damage.rvmat", "DZ\characters\pants\Data\jeans_f_damage.rvmat" } }, { 0.30000001, { "DZ\characters\pants\Data\Jeans_m_grd_damage.rvmat", "DZ\characters\pants\Data\jeans_damage.rvmat", "DZ\characters\pants\Data\jeans_f_damage.rvmat" } }, { 0, { "DZ\characters\pants\Data\Jeans_m_grd_destruct.rvmat", "DZ\characters\pants\Data\jeans_destruct.rvmat", "DZ\characters\pants\Data\jeans_f_destruct.rvmat" } } }; }; }; }; }; // WIP class HuntingBag_ColorBase; class PGB_Hunting_Backpack: HuntingBag_ColorBase { scope=2; displayName="PGB Hunting Rucksack"; descriptionShort="ProudGameBrothers ServerPack"; itemsCargoSize[]={10,25}; attachments[]= { "Shoulder", "Body", "Legs", "Feet" }; hiddenSelectionsTextures[]= { "dz\characters\backpacks\data\hunting_co.paa", "dz\characters\backpacks\data\hunting_co.paa", "dz\characters\backpacks\data\hunting_co.paa" }; class DamageSystem { class GlobalHealth { class Health { hitpoints=1000; transferToAttachmentsCoef=0.5; healthLevels[]= { { 1, { "DZ\Characters\backpacks\data\hunting.rvmat" } }, { 0.69999999, { "DZ\Characters\backpacks\data\hunting.rvmat" } }, { 0.5, { "DZ\Characters\backpacks\data\hunting_damage.rvmat" } }, { 0.30000001, { "DZ\Characters\backpacks\data\hunting_damage.rvmat" } }, { 0, { "DZ\Characters\backpacks\data\hunting_destruct.rvmat" } } }; }; }; }; }; }; Share this post Link to post Share on other sites
Gunny-e174dd68292a73e3 0 Posted January 9, 2023 16 hours ago, Sid Debian said: Oky then here for you some info that may help you Thanks a lot!! I will have a closer look at this /Jens G Share this post Link to post Share on other sites