Jump to content

MeinCain

Member
  • Posts

    11
  • Joined

  • Last visited

Reputation Activity

  1. Like
    MeinCain got a reaction from Sandbird in [Release] Walk Amongst The Dead - (Hide from zombies like "The Walking Dead")   
    OK. We'll do that. Thanks for trying to help!

    And.... comeback in Dayz)) It's a great game! 
  2. Like
    MeinCain reacted to Sandbird in [Release] Walk Amongst The Dead - (Hide from zombies like "The Walking Dead")   
    Walk Amongst The Dead
     
     
     
    The famous "Walking Dead" trick, that you can smear zombie parts on you to hide from zombies is coming to dayz !
    This mod is for 1.5 epoch. The 1.6+ version is continued by juandayz over here :
     
     
    This script does exactly that!. I tried to do this as realistic as possible...so excuse the lengthy tutorial. Its to add realism to the mod.
     
    Features: 
    To apply the camo you need to harvest zombie parts, and Right click on them. (default value: 2) Zombies ignore you when camo is active (camo can be active until player washes it off, or after x minutes...set in the config.sqf) Humanity or blood decreases while under the effect (default value: 1 point per 10 seconds, easy to disable this..see the end of this thread) When in combat, camo is temporarily disabled (ex...you shoot, or your friend does cause he thinks its funny :P) Player is making random zombie noises when camo is on, to fit in with his new friends :P (male or female sounds, depending on the player's skin) Rain can wash away your camo....depending on rain's intensity. Hide inside a building if you want to keep it. (Low, Medium, Hard rain / 26, 18, 12 seconds till you lose it.) To remove the camo you need to wash it off with any type of water source (Right click water bottle, or swim, use mouse scroll on wells, ponds) Changing clothes removes the camo  
    Basically you gut some zombies and use their parts to 'smear' yourself with zombie parts.
    While you have the camo on you, zombies wont notice you, unless you fire your weapon or clean yourself.
    If you fire your weapon, then you can easily get the 'zombie camo' back if you hide somewhere until the combat timer is off. You still 'wear' the z parts so the zombies still think you are one of them if they see you again.

     
    Installation in 10 steps:
     
    Download the file containing the script  -=Click Here=- Extract the content in your Mission folder (i have them inside /custom  folder. For the purpose of this tutorial i'll refer to that folder. If you want to add them to your OWN special folder...Search all the files for the word custom and change it to your liking.) Open your init.sqf and at the bottom add this line: call compile preprocessFileLineNumbers "custom\walkamongstthedead\config.sqf"; Open your description.ext and search for  class RscPictureGUI If you have RscPictureGUI dont do anything...If you dont....then add this at the bottom of the file.
    class RscPictureGUI { access=0; type=0; idc=-1; colorBackground[]={0,0,0,0}; colorText[]={0.38,0.63,0.25999999,0.75}; font="TahomaB"; sizeEx=0; lineSpacing=0; text=""; style="0x30 + 0x100"; x=0; y=0; w=0.2; h=0.15000001; }; In the same file search for: 
    class RscTitles If you have RscTitles then inside it add class zCamoStatusGUI from bellow...If you dont....then add ALL of this at the bottom of the file:
    class RscTitles { class zCamoStatusGUI { idd = -1; fadeout=0; fadein=0; onLoad = "uiNamespace setVariable ['zCamo_GUI_display', _this select 0]"; duration = 10e10; name= "zCamoGui"; controlsBackground[] = {}; objects[] = {}; class controls { class zCamoIcon:RscPictureGUI { idc = 1; text="custom\walkamongstthedead\zombie.paa"; x="0.958313 * safezoneW + safezoneX"; y="0.43 * safezoneH + safezoneY"; w=0.059999999; h=0.079999998; colorText[]={1,1,1,1}; }; }; }; }; Notice the text="custom\walkamongstthedead\zombie.paa";      folder name custom...change to where you put the mod.
     
    In the same file (or if you have defines.hpp) seach for this:
    class CfgSounds If you have CfgSounds then inside it add class z_wzombie1 and z_wzombie2 from bellow, and into sounds[] array...If you dont....then add ALL of this at the bottom of the file:  (these are the female zombie sounds....whoever made dayz_sfx.pbo forgot to add them in the config.bin..so we have to add them manually).
    class CfgSounds { sounds[] ={z_wzombie1,z_wzombie2}; class z_wzombie1 { name = ""; sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_attack_04.ogg",0.3,1,40}; titles[] = {0, ""}; }; class z_wzombie2 : z_wzombie1 { sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_spotted_01.ogg",0.3,1,40}; }; }; At the bottom of the file add this: (This is the right click options for WaterBottle and Zombie Parts...a must for step 8)
    #include "custom\walkamongstthedead\watd.hpp" Now for the right clicking options on the Zombie Guts and Water Bottles we have to overwrite ui_selectSlot.sqf in the dayz_code\init\compiles.sqf. If you have done this go to step 9.
    Open your compiles.sqf and search for player_selectSlot and change it to this:
    player_selectSlot= compile preprocessFileLineNumbers "dayz_code\compile\ui_selectSlot.sqf"; Open the dayz_code.pbo located in the dayz epoch mod folder (yes the 2.5gig folder) and extract the dayz_code\compile\ui_selectSlot.sqf you see there in your Mission folder (look above the path....dayz_code\compile\)
     
    Open ui_selectSlot.sqf  and search for: 
    _pos set [3,_height]; Right above this add: 
    _erc_cfgActions = (missionConfigFile >> "WaTd" >> _item); _erc_numActions = (count _erc_cfgActions); if (isClass _erc_cfgActions) then { for "_j" from 0 to (_erc_numActions - 1) do { _menu = _parent displayCtrl (1600 + _j + _numActions); _menu ctrlShow true; _config = (_erc_cfgActions select _j); _text = getText (_config >> "text"); _script = getText (_config >> "script"); _height = _height + (0.025 * safezoneH); uiNamespace setVariable ['uiControl', _control]; _menu ctrlSetText _text; _menu ctrlSetEventHandler ["ButtonClick",_script]; }; }; If you have in*****r Antihack add this as well in your _dayzActions s_player_cleanguts (Update, If you dont have v5). Since the latest beta patch is so strict, add this at the top of your walkamongstthedead\config.sqf file: hasGutsOnHim = false;  
     
    If people are getting kicked/banned with inifistar you can do this to fix it. Open AH.sqf and change line:
    player_zombieAttack = compile preprocessFileLineNumbers '\z\addons\dayz_code\compile\player_zombieAttack.sqf'; to this:
    player_zombieAttack = {}; V2 Changes
    All values have been moved to config.sqf
     
    V3 Changes
    - Changed config.sqf (removed wells from there...now all wells are recognized from the walkamongstthedead.sqf
    - Changed walkamongstthedead.sqf (added all wells and ponds detection. Look at any well or a pond and use scroll to get the option to remove camo)
     
    V4 Changes (17-5-14)
    - Fixed flashing icon not flashing when in combat
    - Fixed camo not getting reactivated properly when 1st camo finishes and new one applied
    - Added value in config.cfg to NOT disable Z camo when you fire your weapon...so it stays on
    - (if you are updating from previous versions just change your walkamongstthedead.sqf, and config.sqf files)
     
    V5 Changes
    - Added a value in config.sqf to initialize a bool.
     
     
     
    Open config.sqf and tweak the hell out of it if you want.
    If you want to lose blood instead of humanity do these 4 steps
    Grab this \z\addons\dayz_code\system\player_spawn_2.sqf and put it in your compiles folder Change path to player_spawn_2.sqf in compiles.sqf, to where you put it in Open player_spawn_2.sqf and change line: if (!r_player_infected and !r_player_inpain and !r_player_injured and !DZE_InRadiationZone) then { to
    if (!r_player_infected and !r_player_inpain and !r_player_injured and !DZE_InRadiationZone and !DZE_hasZombieCamo) then { Set DZ_ZCAMO_HUMANITY = false; in the \walkamongstthedead\config.sqf
     
     
    Gui will look like this when you have zombie camo on

     
     
    Note:
    If you dont hear any idle zombie sounds when you are wearing the Z camo, try this fix here:
    It should work for the latest Epoch version.
     
     
    Enjoy
     
    Credits: Enhanced Water Bottle Filling - by BDC - Aug 11 2013, for DayZ 1.7.7.1
     
    I DO NOT ALLOW ANYONE SELLING THIS SCRIPT...PERIOD
    YOU DO NOT HAVE MY PERMISSION TO SELL IT
    THIS SCRIPT SHOULD BE USED FREELY

     
  3. Like
    MeinCain reacted to Goober in Working Dayz Epoch Headless Client for Zed Spawn and FSM   
    What this is:
    1)  Customization at the mission folder level (e.g. \MPMissions\Dayz_Epoch_<number>.<mapname>).  It is changes and additions to mission files that are loaded at server startup and when each client connects.
    2)  It is a method of dynamically tracking connected Headless Clients and maintaining a list of available ones on the server.
    3)  It is changes to the way the player client runs the player_spawnCheck->building_spawnCheck->zombie_generate->zombie_agent.fsm/zombie_loiter chain to make zombies spawn and behave the same  INDEPENDENTLY (no reliance on the variable "player") of which client spawned them.
    4)  It is a way (in theory) of reducing zombie location lag by having all zeds controlled by low latency clients.
    5)  It furthers experimentation in using targetted publicVariableServer and publicVariableClient message semaphores.
    6)  It is TLDR ... (if you got this far .. good for you).
    7)  HC keeps zeds from disappearing just because a player disconnects (doesn't affect 25m radius on player connect)..
     
    What this isn't:
    A)  Well tested.  My test bed is an 8 core computer on which I developed the scripts without BE operational so that I could run my player client and headless client off the same key without Arma throwing a fit.
    B )  This scripting doesn't address the occasional problem of headless clients joining the server and landing in the wrong slot.  This is usually a problem when the HC joins before the server processes mission.sqm.
    C)  This is not hooked into animal spawning so it doesn't offload animal spawning.
    D)  The code does not have the "hint" and "diag_log" lines commented out that I used for development.
    E)  This is not a step by step set of instructions in how to make it work on your server.  I authored it and got it to work on mine using vanilla Dayz-Epoch 1.0.3.1 on the 1.5 Lingor map (the larger one).  If you do not understand function overloading and what instruction to change to make it work with another mod, then this is not for you.
     
    edit 2: (the file attachment is not working, so use this external link instead)
    http://www.mediafire.com/download/zyrzrs05x1um0mn/HC.zip
     
    my server startup options:
    "Expansion\beta\arma2oaserver.exe" -port=2325 -cpuCount=4 "-config=instance_7_Lingor\config.cfg" "-cfg=instance_7_Lingor\basic.cfg" "-profiles=instance_7_Lingor" -name=instance_7_Lingor "-mod=%_ARMA2PATH%;Expansion;ca;Expansion\beta;Expansion\beta\Expansion;@lingor;@DayZ_Epoch;@DayZ_Epoch_Server;"
     
    excerpt from config.cfg:
    requiredBuild = 103718; localclient[]={"127.0.0.1"};   headless client startup:  (sorry, still some steam path stuff here ... but you should get the idea) "%_ARMA2OAPATH%\Expansion\beta\ARMA2OA.exe" -skipIntro -nosplash -showScriptErrors -noPause -client -connect=127.0.0.1 -port=2325 -nosound "-mod=%_ARMA2PATH%;EXPANSION;ca" "-mod=Expansion\beta;Expansion\beta\Expansion" "-mod=@lingor;@dayz_epoch" -cpuCount=2 -name=HeadlessClient -profiles=HeadlessClient   ---------------------------------------------------- least painful way to try to assure the HC goes into the CIV slot 1) start server 2) start player client - connect to lobby of server 3) start headless client --------------------------------------------------- HOW it does it:   1) Server listens (via publicVariableEventHandler) for heartbeats from headless clients and updates and administers list of currently connected HCs. 2) Headless Clients send publlcVariableServer message once every 3 seconds as a heartbeat signal. 3) Player's player_spawnCheck function sends a publicVariableServer to request a zed and loot spawn cycle 4a) Server checks for presence of active HCs... if available, it sends publicVariableClient message to do zed and loot spawn to a random HC. 4b) If no HC in Server's list, then Server sends publicVariableClient message back to player client to do its own zed and loot spawn.   PROPS: Some parts (HCsignals.sqf) inspired by (but not copied from) Unit Caching and Distribution Script by Dylan Plecki (Naught). Of course a lot of the code I mangled is the Dayz-Epoch and by extension all the Dayz code that went before it, but all the changes I wrote myself (not bragging ... this forum category requires original code only)   edit1: p.s. Forgot to mention I also have a pet peeve fixed in the "fixes\player_spawn_2.sqf" file.  It corrects the speed and weight carried effect on hunger.  Without this fix, your hunger would seem to go nuts based on travel speed while in a vehicle.  This makes sure that when you are doing 200kph in a Mi17, you are not starving at the end of your 2 minute heli ride across the map.  The _thirst calculation corrects for vehicle travel so I thought the _hunger calculation needed it also. _hunger = +((((r_player_bloodTotal - r_player_blood) / r_player_bloodTotal) * 5)) * 3; if (!_inVehicle) then { _hunger = _hunger + (_speed + dayz_myLoad) *3; };  
    edit 3:  if you see a file attachment below, it doesn't seem to be working.  Use the link above in the middle of the post.
  4. Like
    MeinCain reacted to horbin in Fulcrum Mission System v2.1a   
    https://github.com/horbin/FuMS-HC-Server/tree/master
     
    See the link above for details.. you will not be disappointed.
     
    Configuration Help: https://github.com/horbin/FuMS-HC-Server/tree/master/Docs
      and click on the index.htm link!
     
    All theme/mission options documented in GitHub's Docs folder.
    Fully admin configurable mission/theme sets. Unlimited mission/theme sets.
    All missions maintained server side. 
    HC files maintained server side: No need to manage more than 1 copy per server.
    Water, Land, Air AI, vehicles, and UAV, UGV's.
    Random, fixed locations, static / random patrol routing
    Mission Objectives: Capture the Flag, Free Captives, Kill AI, destroy specific buildings/vehicles
    Missions support M3Editor built installations
    Custom AI types (snipers, gunners, pilots, civilians, etc)
    Custom loot based upon themes and missions.
    Branching Mission system. Missions can create child missions depending on parameters set by admin.
    Admin spawn-able, killable missions
    Custom AI support:
        Dinosaur-raptor mod
        crazed clones (zombies)
×
×
  • Create New...