Skip to content

Commit

Permalink
Update animal randomization for 1.50. Fixes #114.
Browse files Browse the repository at this point in the history
  • Loading branch information
robalo committed Aug 14, 2015
1 parent 4c4c55f commit bdaa699
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 11 additions & 5 deletions addons/xeh_a3/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,19 +160,25 @@ class Extended_init_Eventhandlers {
SLX_BIS = "if (local (_this select 0)) then {[(_this select 0), """", nil, nil] call bis_fnc_initVehicle; [(_this select 0)] call bis_fnc_initVehicleKart;};";
};
class Fin_random_F /* : Fin_Base_F */ {
SLX_BIS = "_FRnd = compile loadFile ""\A3\animals_f_beta\dog\scripts\randomize.sqf"";(_this select 0) call _FRnd;";
SLX_BIS = "(_this select 0) call bis_fnc_animalRandomization;";
};
class Alsatian_Random_F /* : Alsatian_Base_F */ {
SLX_BIS = "_FRnd = compile loadFile ""\A3\animals_f_beta\dog\scripts\randomize_als.sqf"";(_this select 0) call _FRnd;";
SLX_BIS = "(_this select 0) call bis_fnc_animalRandomization;";
};
class Goat_random_F /* : Goat_Base_F */ {
SLX_BIS = "_FRnd = compile loadFile ""\A3\animals_f_beta\goat\scripts\randomize.sqf"";(_this select 0) call _FRnd;";
SLX_BIS = "(_this select 0) call bis_fnc_animalRandomization;";
};
class Sheep_random_F /* : Animal_Base_F */ {
SLX_BIS = "_FRnd = compile loadFile ""\A3\animals_f_beta\Sheep\scripts\randomize.sqf"";(_this select 0) call _FRnd;";
SLX_BIS = "(_this select 0) call bis_fnc_animalRandomization;";
};
class Snake_random_F /* : Animal_Base_F */ {
SLX_BIS = "_FRnd = compile loadFile ""\A3\animals_f\Snakes\scripts\randomize.sqf"";(_this select 0) call _FRnd;";
SLX_BIS = "(_this select 0) call bis_fnc_animalRandomization;";
};
class Cock_random_F /* : Fowl_Base_F */ {
SLX_BIS = "(_this select 0) call bis_fnc_animalRandomization;";
};
class Cock_white_F /* : Cock_random_F */ {
SLX_BIS = "";
};
class FlagChecked_F /* : FlagCarrierCore */ {
SLX_BIS = "(_this select 0) setFlagTexture '\A3\signs_f\signspecial\data\checker_flag_co.paa';";
Expand Down
4 changes: 4 additions & 0 deletions addons/xeh_a3/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ class CfgVehicles {
class Sheep_random_F: Animal_Base_F {
delete Eventhandlers; // Eventhandlers
};
class Fowl_Base_F;
class Cock_random_F : Fowl_Base_F {

This comment has been minimized.

Copy link
@Killswitch00

Killswitch00 Aug 15, 2015

Contributor

Indendation! It hurts! Eek! :-)

delete Eventhandlers; // Eventhandlers
};

class FlagCarrierCore;
class FlagChecked_F: FlagCarrierCore {
Expand Down

0 comments on commit bdaa699

Please sign in to comment.