FallingSheep
OpenDayZ Lord!
hey guys since theres no release section im just putting this here need it tested in the wild/public!
What it does:
lets deploy an ebike if you 50 krypto
Difficulty:
Easy < 5 min
Requirements:
Epoch mod
mission folder access ( MPMISSIONS)
text editor
CREDITS
Leigham
Objectives
KIloSwiss
keith fitzgerald
Install:
1. add this to the bottom of your init.sqf in you mission folder
(if you dont have a init.sqf just create one!)
2. now create another sqf called bike.sqf and paste this into it,
(save it in your mpmission\scripts folder)
3.place the .pbo in your @epochhive\addons folder.
thats it!
fire up your server grab some krypto and test it out!
Deploy/Pack Ebike
What it does:
lets deploy an ebike if you 50 krypto
Difficulty:
Easy < 5 min
Requirements:
Epoch mod
mission folder access ( MPMISSIONS)
text editor
CREDITS
Leigham
Objectives
KIloSwiss
keith fitzgerald
Install:
1. add this to the bottom of your init.sqf in you mission folder
(if you dont have a init.sqf just create one!)
Code:
waitUntil{!isNull (uiNameSpace getVariable ["EPOCH_loadingScreen", displayNull])};
waitUntil{isNull (uiNameSpace getVariable "EPOCH_loadingScreen")};
sleep 5;
Deployaction = player addaction [("<t color=""#00CF11"">" + ("Craft Bike") +"</t>"),"scripts\bike.sqf","",-97,false,false,"",""];
(save it in your mpmission\scripts folder)
Code:
if (EPOCH_playerCrypto > 50) then {
titleText ["", "PLAIN DOWN"];
player playActionNow "Medic";
_spawnPos = player modelToWorld [0,2,0];
_spawnDir = (getDir player) -90;
SPAZ = [player, _spawnPos, _spawnDir];
EPOCH_playerCrypto = EPOCH_playerCrypto - 50 ;
sleep 3;
publicVariableServer "SPAZ";
sleep 1;
['You bought a bike for 50 crypto. Gone at restart!',0,0.7,2,0] spawn bis_fnc_dynamictext;
player removeAction spazbike;
} else{
['You need 50 crypto.',0,0.7,2,0] spawn bis_fnc_dynamictext;
};
thats it!
fire up your server grab some krypto and test it out!
Last edited: