mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
0.3.9.0477
fixed BE kick with CUP enabled fixed error with bite player add random zombie faces
This commit is contained in:
parent
284ff32fe5
commit
89bf743b0c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -48,7 +48,7 @@
|
||||
7 displaySetEventHandler
|
||||
7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status" !"ctrlSetEventHandler ['LBDblClick', '_this call" !="_buttonRespawn ctrlseteventhandler [\"buttonclick\",\"with uinamespace do {['buttonRespawn'," !="_ctrl ctrlSetEventHandler [\"mouseEnter\"" !="_ctrlBtn ctrlSetEventHandler [\"MouseButtonDblClick\", _verAct];"
|
||||
7 addMPEventHandler
|
||||
7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"[\"FiredNear"\" !"[\"EpeContactStart"\" !"[\"GetOut"\" !"[\"local"\" !"[\"PostReset"\" !"[\"TaskSetAsCurrent"\" !="player addEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="\"CBA_fnc_addEventHandler\"" !="\\fnc_addEventHandler" !="\"addEventHandler" !="_eventFunc = _eventFunc + \"(_this select 0) addEventHandler ['Respawn', \" + str _eventFunc + \"];\";" !="_unit addEventHandler [\"hitpart\"," !="CBA_fnc_addEventHandler"
|
||||
7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"[\"FiredNear"\" !"[\"EpeContactStart"\" !"[\"GetOut"\" !"[\"local"\" !"[\"PostReset"\" !"[\"TaskSetAsCurrent"\" !="player addEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="\"CBA_fnc_addEventHandler\"" !="\\fnc_addEventHandler" !="\"addEventHandler" !="_eventFunc = _eventFunc + \"(_this select 0) addEventHandler ['Respawn', \" + str _eventFunc + \"];\";" !="_unit addEventHandler [\"hitpart\"," !="CBA_fnc_addEventHandler" !="_ship addEventHandler [\"AttributesChanged3DEN\""
|
||||
7 displayAddEventHandler !="(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !="_display displayAddEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="_display displayaddeventhandler\n[\n\"mousemoving\"," !="_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'" !="_display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown'" !="_display displayaddeventhandler [_x,_fnc_animate];" !="Development\") then\n{\n_display displayaddeventhandler [\n\"keydown\"" !="_display displayaddeventhandler [\"mousemoving\",\"with uinamespace do {['watchFields'" !="/"CBA_fnc_addDisplayHandler/""
|
||||
7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="(_display displayctrl _idc) ctrlAddEventHandler [\"LBSelChanged\"," !="_ctrl ctrlSetEventHandler [\"mouseEnter\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseExit\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseButtonDown\", (format [\"call %1;\",(_buttonSettings select _e select 2)])];" !="_prevButton ctrlAddEventHandler [\"MouseButtonUp\", {_this call cba_diagnostic_fnc_debug"
|
||||
7 removeAllEventHandlers !="ctrlRemoveAllEventHandlers" !="displayRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" !="_unit removeAllEventHandlers \"Hit\";\n_unit removeAllEventHandlers \"FiredNear\";"
|
||||
|
@ -115,22 +115,23 @@ switch _unitClass do {
|
||||
[] execFSM "\x\addons\a3_epoch_code\System\Event_Air_Drop.fsm";
|
||||
};
|
||||
case "EPOCH_RyanZombie_1": {
|
||||
_hordeTypes = ["EPOCH_RyanZombie_1","EPOCH_RyanZombie_2","EPOCH_RyanZombie_3","EPOCH_RyanZombie_4","EPOCH_RyanZombie_5"];
|
||||
_unitClass = selectRandom _hordeTypes;
|
||||
_unitClass = selectRandom ["EPOCH_RyanZombie_1","EPOCH_RyanZombie_2","EPOCH_RyanZombie_3","EPOCH_RyanZombie_4","EPOCH_RyanZombie_5"];
|
||||
|
||||
diag_log format["DEBUG: spawned %1",_unitClass];
|
||||
_unit = createAgent[_unitClass, _targetPos, [], 256, "FORM"];
|
||||
// diag_log format["DEBUG: spawned %1",_unitClass];
|
||||
_unit = createAgent[_unitClass, _targetPos, [], 120, "FORM"];
|
||||
_unit call _disableAI;
|
||||
|
||||
// climb out of ground
|
||||
_unit switchMove "AmovPercMstpSnonWnonDnon_SaluteOut";
|
||||
_unit setmimic "dead";
|
||||
_unit setface (selectRandom ["RyanZombieFace1", "RyanZombieFace2", "RyanZombieFace3", "RyanZombieFace4", "RyanZombieFace5"]);
|
||||
removegoggles _unit;
|
||||
|
||||
// load temp brains
|
||||
[_unit,true] execFSM "\x\addons\a3_epoch_code\System\Zombie_Brain.fsm";
|
||||
|
||||
// spawn more up to limit
|
||||
_id = "EPOCH_RyanZombie_1" spawn EPOCH_unitSpawn;
|
||||
_id = "EPOCH_RyanZombie_1" call EPOCH_unitSpawn;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -46,9 +46,15 @@ if !(isNull _this && alive _this) then {
|
||||
_fatigueChance = getNumber (_cfgObjectInteraction >> "fatigueChance");
|
||||
_bleedAmount = getNumber (_cfgObjectInteraction >> "bleedAmount");
|
||||
_bloodpAmount = getNumber (_cfgObjectInteraction >> "bloodpAmount");
|
||||
_soundEffect = selectRandom (getArray (_cfgObjectInteraction >> "soundEffect"));
|
||||
_soundConfigArray = getArray (_cfgObjectInteraction >> "soundEffect");
|
||||
if !(_animConfigArray isEqualTo []) then {
|
||||
_soundEffect = selectRandom _soundConfigArray;
|
||||
};
|
||||
_soundEffectGlobal = getNumber (_cfgObjectInteraction >> "soundEffectGlobal");
|
||||
_animationEffect = selectRandom (getArray (_cfgObjectInteraction >> "animationEffect"));
|
||||
_animConfigArray = getArray (_cfgObjectInteraction >> "animationEffect");
|
||||
if !(_animConfigArray isEqualTo []) then {
|
||||
_animationEffect = selectRandom _animConfigArray;
|
||||
};
|
||||
_animationEffectGlobal = getNumber (_cfgObjectInteraction >> "animationEffectGlobal");
|
||||
_canSee = call compile (getText (_cfgObjectInteraction >> "canSee"));
|
||||
_ppEffect = getNumber (_cfgObjectInteraction >> "ppEffect");
|
||||
|
@ -1,6 +1,19 @@
|
||||
class CfgObjectInteractions {
|
||||
class Default {
|
||||
interactMode = 0;
|
||||
distance = 0;
|
||||
toxicChance = 0;
|
||||
bleedChance = 0;
|
||||
bloodpChance = 0;
|
||||
fatigueChance = 0;
|
||||
bleedAmount = 0;
|
||||
bloodpAmount = 0;
|
||||
soundEffect[] = {};
|
||||
soundEffectGlobal = -1;
|
||||
animationEffect[] = {};
|
||||
animationEffectGlobal = -1;
|
||||
canSee = "false";
|
||||
ppEffect = 0;
|
||||
};
|
||||
class Land_MPS_EPOCH : Default {};
|
||||
class container_epoch : Default {};
|
||||
@ -16,7 +29,13 @@ class CfgObjectInteractions {
|
||||
class C_man_1 : Default {
|
||||
interactMode = 2;
|
||||
};
|
||||
|
||||
class SapperHead_SIM_EPOCH : Default {
|
||||
interactMode = 0;
|
||||
};
|
||||
class SapperCorpse_SIM_EPOCH : Default {
|
||||
interactMode = 0;
|
||||
};
|
||||
|
||||
class Snake_random_EPOCH : Default {
|
||||
distance = 3;
|
||||
toxicChance = 0.2;
|
||||
|
@ -1 +1 @@
|
||||
build=473;
|
||||
build=477;
|
||||
|
@ -1 +1 @@
|
||||
build=473;
|
||||
build=477;
|
||||
|
@ -1 +1 @@
|
||||
build=473;
|
||||
build=477;
|
||||
|
@ -1 +1 @@
|
||||
build=473;
|
||||
build=477;
|
||||
|
Loading…
x
Reference in New Issue
Block a user