Amdathlon Posted January 4, 2015 Report Share Posted January 4, 2015 Here's our own version! v1.0 the script inserts a player menu! or copy the files to a folder Misson specify the file init.sqf this: act = player addaction [("<t color="#0074E8"">" + ("Bike") +"</t>"),"Bike.sqf","",5,false,true,"","]; //The script:// //Script created by Bakler2 cutText [format["You created the Ebike"], "PLAIN DOWN"]; player playActionNow "Medic"; sleep 3; if ("ItemCorrugated" in magazines player) then{ player removeMagazine "ItemCorrugated"; _spawn = "ebike_epoch"; _posplr = [((getPos player) select 0) + 2, ((getPos player) select 1) + 2, 0]; _saveVehicle call EPOCH_server_save_vehicle; _dirplr = getDir player; _spwnveh = _spawn createVehicle (_posplr); _spwnveh setVariable ["Sarge",1,true]; _vehObj call EPOCH_server_save_vehicle; _vehObj call EPOCH_server_setVToken; sleep 3; cutText [format["You've used your Corrugated to build a Ebike."], "PLAIN DOWN"]; } else { SystemChat "You need one Corrugated to Ebike"; }; //Save the Bike.sqf// Change ItemCorrugated: what you would like! Change ebike_epoch: Quad or Mosqito! Even I develop my script! Have fun! :D Link to comment Share on other sites More sharing options...
Humpabry Posted January 5, 2015 Report Share Posted January 5, 2015 so just add this to a sqf file and call from init.sqf //Script created by Bakler2 cutText [format["You created the Ebike"], "PLAIN DOWN"]; player playActionNow "Medic"; sleep 3; if ("ItemCorrugated" in magazines player) then{ player removeMagazine "ItemCorrugated"; _spawn = "ebike_epoch"; _posplr = [((getPos player) select 0) + 2, ((getPos player) select 1) + 2, 0]; _saveVehicle call EPOCH_server_save_vehicle; _dirplr = getDir player; _spwnveh = _spawn createVehicle (_posplr); _spwnveh setVariable ["Sarge",1,true]; _vehObj call EPOCH_server_save_vehicle; _vehObj call EPOCH_server_setVToken; sleep 3; cutText [format["You've used your Corrugated to build a Ebike."], "PLAIN DOWN"]; } else { SystemChat "You need one Corrugated to Ebike"; }; wat is this code for? act = player addaction [("<t color="#0074E8"">" + ("Bike") +"</t>"),"Bike.sqf","",5,false,true,"","]; Link to comment Share on other sites More sharing options...
Amdathlon Posted January 5, 2015 Author Report Share Posted January 5, 2015 This code is added new player menu. "bike" Link to comment Share on other sites More sharing options...
Humpabry Posted January 5, 2015 Report Share Posted January 5, 2015 so that goes in the same sqf file as the rest of the code? also is the or copy the files to a folder Misson specify the file init.sqf this: <--- this; supposed to go on like this;act = player addaction [("<t color="#0074E8"">" + ("Bike") +"</t>"),"Bike.sqf","",5,false,true,"","]; or just act = player addaction [("<t color="#0074E8"">" + ("Bike") +"</t>"),"Bike.sqf","",5,false,true,"","]; Link to comment Share on other sites More sharing options...
Humpabry Posted January 5, 2015 Report Share Posted January 5, 2015 ok added all code to sqf and called it...i get no player menu to build bike :/ Link to comment Share on other sites More sharing options...
Jelschinger Posted January 6, 2015 Report Share Posted January 6, 2015 A dll blocks all addactions thats the reason why you cant craft it Link to comment Share on other sites More sharing options...
Humpabry Posted January 6, 2015 Report Share Posted January 6, 2015 ah ok which dll is that mate Link to comment Share on other sites More sharing options...
Liam Posted January 6, 2015 Report Share Posted January 6, 2015 even if you could craft it the cleanup system would delete it? Link to comment Share on other sites More sharing options...
Cletis5 Posted January 6, 2015 Report Share Posted January 6, 2015 This script is already out and working. It has been for some time now ;) Large item Corrugated = mozzie Small item Corrugated = EBike It could be applied to a few things Link to comment Share on other sites More sharing options...
Liam Posted January 6, 2015 Report Share Posted January 6, 2015 All i can say is that script up there got alot of undefined stuff and the cleanup system on arma removes the bike after a few seconds so i have no idea how u made this work =) Tophi 1 Link to comment Share on other sites More sharing options...
Amdathlon Posted January 6, 2015 Author Report Share Posted January 6, 2015 All i can say is that script up there got alot of undefined stuff and the cleanup system on arma removes the bike after a few seconds so i have no idea how u made this work =) so: I'm still working on the script development and will soon give out more repairs! This script is already out and working. It has been for some time now ;) Large item Corrugated = mozzie Small item Corrugated = EBike It could be applied to a few things I do not understand what you mean by this? why it was not disclosed if it has? this script I wrote what I shared with you here! Link to comment Share on other sites More sharing options...
Cletis5 Posted January 6, 2015 Report Share Posted January 6, 2015 What im saying is this is not a new script that is just being created. I know servers that have it running and working already, and have had it for weeks. So yea. What you're writting is cool and all, but there is already a working version out there, its just peeps are not giving it out ;) Link to comment Share on other sites More sharing options...
Liam Posted January 6, 2015 Report Share Posted January 6, 2015 Are these servers posibly using a cracked dll? Anyway cool thanks for explaining Amdathlon i misunderstod this as a working example =) Link to comment Share on other sites More sharing options...
Cletis5 Posted January 6, 2015 Report Share Posted January 6, 2015 Are these servers posibly using a cracked dll? Anyway cool thanks for explaining Amdathlon i misunderstod this as a working example =) Nope Link to comment Share on other sites More sharing options...
drsubo Posted January 7, 2015 Report Share Posted January 7, 2015 All i can say is that script up there got alot of undefined stuff and the cleanup system on arma removes the bike after a few seconds so i have no idea how u made this work =)theres a way around all of this, im working on my own kart build script like this and I have everything working if you hav curcuits, metal and a few things you can craft, it takes the items out of inventory and they spawns kart, im just working the the kart and sticking around cleanup right now. I have other scripts that spawn vehicles fine so hopefully using parts of those iwill have it done soon DirtySanchez 1 Link to comment Share on other sites More sharing options...
Paradox121 Posted January 7, 2015 Report Share Posted January 7, 2015 Where i must put the code? act = player addaction [("<t color=""#0074E8"">" + ("Bike") +"</t>"),"Bike.sqf","",5,false,true,"",""]; Link to comment Share on other sites More sharing options...
Amdathlon Posted January 7, 2015 Author Report Share Posted January 7, 2015 Where i must put the code? act = player addaction [("<t color=""#0074E8"">" + ("Bike") +"</t>"),"Bike.sqf","",5,false,true,"",""]; mission.pbo in create init.sqf. Link to comment Share on other sites More sharing options...
Paradox121 Posted January 7, 2015 Report Share Posted January 7, 2015 And where there i have put that in @the bottom but i dont have a Scroll menü Link to comment Share on other sites More sharing options...
Jelschinger Posted January 7, 2015 Report Share Posted January 7, 2015 A dll is blocking the addaction Link to comment Share on other sites More sharing options...
Paradox121 Posted January 7, 2015 Report Share Posted January 7, 2015 Hae ? Why another People can do that? Link to comment Share on other sites More sharing options...
Amdathlon Posted January 7, 2015 Author Report Share Posted January 7, 2015 who is interested in improving the sign in Private! Link to comment Share on other sites More sharing options...
drsubo Posted January 7, 2015 Report Share Posted January 7, 2015 A dll is blocking the addactionI have a scroll option working for a few scripts so dll cant be blocking it. I have my own version jus tweaking and working on things still but I do have the scroll option and the building and taking of items to build working. Not with this script tho its very unfinished and looks like a bunch of pieces put together but if you look how its set up im sure you can do something with it Link to comment Share on other sites More sharing options...
Paradox121 Posted January 7, 2015 Report Share Posted January 7, 2015 Can you poste your init.sqf ? Link to comment Share on other sites More sharing options...
emwilsh Posted January 7, 2015 Report Share Posted January 7, 2015 Dll blocks serevr side why are you thinking its blocking? haha player menu, what a way to wreck epoch do you want an admin tool aswell? this mod is alpha and bringing ways to make it easier on a player shouldnt be arising now as players would expect on every server once it makes it through epoch is surival and should be made tougher not easier. lke old trader system shouldnt be baught over people should scavenge for their loot not buy their base patter2012 1 Link to comment Share on other sites More sharing options...
Humpabry Posted January 7, 2015 Report Share Posted January 7, 2015 epoch is wat the server host makes it simple.... some people like good old survival where as some like many mods + different play style second_coming and Pinkyizthebrain 2 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