sam_ Posted November 14, 2019 Report Share Posted November 14, 2019 (edited) Prisoner Zombie: https://imgur.com/a/kCnr595 Install: Download (142 KB) overall_prison_co.paa Put the .paa into a folder on your mission file named textures Example:YourMissionFileName.Map\textures\overall_prison_co.paa In your custom compiles add the line: zombie_generate = compile preprocessFileLineNumbers "dayz_code\compile\zombie_generate.sqf"; into if (!isDedicated) then { From the Epoch client copy: dayz_code\compile\zombie_generate.sqf to:MPMissions\YourMissionFileName.Map\dayz_code\compile\zombie_generate.sqf In your zombie_generate.sqf find the line: _agent = createAgent [_type, _position, [], _radius, "CAN_COLLIDE"]; directly below it add: if (_type == "z_worker2") then { _agent setVehicleInit "this setObjectTexture [0, ""textures\overall_prison_co.paa""];"; processInitCommands; }; Note: If you want to edit where the zombie can spawn redirect your CfgLoot to your mission file and edit the files in:Configs\CfgLoot\Buildings Add/Remove "z_worker2" in zombieClass in whichever building.hpp you want to enable/disable this zombie type from spawning in I prefer to have this guy only spawn in military zones :) Remember to edit battleye filters Edited November 15, 2019 by sam_ Link to comment Share on other sites More sharing options...
seelenapparat Posted November 15, 2019 Report Share Posted November 15, 2019 _agent setObjectTexture [0, "textures\overall_prison_co.paa"]; this does only work for your client. if you want for all players to see the new texture you should do this: _agent setVehicleInit "this setObjectTexture [0, ""textures\overall_prison_co.paa""];"; if I'm not mistaken. You need to be aware that this might need a change in your battleye filters tho. sam_ 1 Link to comment Share on other sites More sharing options...
sam_ Posted November 15, 2019 Author Report Share Posted November 15, 2019 5 hours ago, seelenapparat said: _agent setObjectTexture [0, "textures\overall_prison_co.paa"]; this does only work for your client. if you want for all players to see the new texture you should do this: _agent setVehicleInit "this setObjectTexture [0, ""textures\overall_prison_co.paa""];"; if I'm not mistaken. You need to be aware that this might need a change in your battleye filters tho. Edited, thanks for letting me know! :D Link to comment Share on other sites More sharing options...
Jonathon Pfeffer Posted July 23, 2020 Report Share Posted July 23, 2020 good info! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now