BetterDeadThanZed Posted February 17, 2015 Report Share Posted February 17, 2015 So, it's been two weeks without another reply to this thread. I am particularly interested in allowing players to make the Mosquito helicopter, perhaps with a set of vehicle repair parts and 4 large salvage metal. I want this because the mosquito is the only helicopter on my server and only 3 are set to spawn, so if I could make it so players could craft their own, that would be awesome. Link to comment Share on other sites More sharing options...
ApokalyptoRage Posted February 18, 2015 Report Share Posted February 18, 2015 action menu must load by server side? or in init? Link to comment Share on other sites More sharing options...
Coco-Nuts Posted February 19, 2015 Report Share Posted February 19, 2015 From init ;) Link to comment Share on other sites More sharing options...
Leigham Posted February 19, 2015 Report Share Posted February 19, 2015 when my action menu is updated i have this sorted Link to comment Share on other sites More sharing options...
monkeybrain Posted February 25, 2015 Report Share Posted February 25, 2015 The classname ebike_epoch just needs to be added to the Safe_vehicles array in the vehiclesimulation.fsm and it can be triggered by players the same way the UAV and Parachutes are, without being picked up by the de simulate cleanup. All found in the server_monitor.fsm. Now the trick is adding it to the said array. Without adding it to the server code directly, and breaking dll CRC checksum. ;) It's possible. so you use custom compiles to add the bike in. Where is safe vehicle array? All i see is Epoch_save_vehicles private["_aa"]; {_aa=_x getVariable["VEHICLE_SLOT","ABORT"]; if(_aa !="ABORT")then{if !(_x in EPOCH_saveVehQueue)then{EPOCH_saveVehQueue pushBack _x};}; _storSlot=_x getVariable["STORAGE_SLOT","ABORT"]; if(_storSlot !="ABORT")then{if !(_x in EPOCH_saveStorQueue)then{EPOCH_saveStorQueue pushBack _x};};}forEach _this; where is this array? Link to comment Share on other sites More sharing options...
egamestudio Posted February 25, 2015 Report Share Posted February 25, 2015 Download link please ? or impossible ? Link to comment Share on other sites More sharing options...
Suppe Posted February 25, 2015 Report Share Posted February 25, 2015 pr0dukt, on 14 Jan 2015 - 5:33 PM, said: The classname ebike_epoch just needs to be added to the Safe_vehicles array in the vehiclesimulation.fsm and it can be triggered by players the same way the UAV and Parachutes are, without being picked up by the de simulate cleanup. All found in the server_monitor.fsm. Now the trick is adding it to the said array. Without adding it to the server code directly, and breaking dll CRC checksum. ;) It's possible. but have you actually answered yourself.... Link to comment Share on other sites More sharing options...
Suppe Posted February 25, 2015 Report Share Posted February 25, 2015 Download link please ? or impossible ? for what ? this dont work !!!! Link to comment Share on other sites More sharing options...
egamestudio Posted February 25, 2015 Report Share Posted February 25, 2015 Grieve my English language, I mean how to enable ingame script? any key on the keyboard? Link to comment Share on other sites More sharing options...
1Man Posted February 25, 2015 Report Share Posted February 25, 2015 It's a scroll option Link to comment Share on other sites More sharing options...
monkeybrain Posted February 26, 2015 Report Share Posted February 26, 2015 haha I opened that up already, didn't know you could open it up with notepad as well. Found the line! Thanks. server_monitor = compile preprocessFileLineNumbers "custom\server_monitor.fsm"; thats how it works right^? edit: guess not, didn't work. how do you get fsm's to work, I read that previous post on last page but it didn't make much sense. Link to comment Share on other sites More sharing options...
egamestudio Posted February 26, 2015 Report Share Posted February 26, 2015 my bike is disapear , how to fix a problem please ? Link to comment Share on other sites More sharing options...
Leigham Posted February 26, 2015 Report Share Posted February 26, 2015 my actionmenu actually comes with a fix for this Link to comment Share on other sites More sharing options...
BullRaider Posted March 2, 2015 Report Share Posted March 2, 2015 This does not work until now? Link to comment Share on other sites More sharing options...
1Man Posted March 2, 2015 Report Share Posted March 2, 2015 This one does not work with built in anti hack don't know if it works without any anti hack or 3rd party. Link to comment Share on other sites More sharing options...
laurent09 Posted March 9, 2015 Report Share Posted March 9, 2015 if u want a bike that dissapears, than just create a menu.sqf with: private["_veh", "_idx"]; Sleep 15; _idx = -1; while {alive player} do { if(_idx == -1) then { _idx = (vehicle player) addaction [("" + ("Bike") +""),"custom\Bike.sqf","",5,false,true,"","]; _veh = vehicle player; }; if (_veh != vehicle player) then { _veh removeAction _idx; _idx = -1; }; Sleep 2; }; place your path and the bike.sqf from post 1 in your script or custom folder Init: [] execVM "custom\menu.sqf"; tada, u have the dissapear bike ! but this help nothing.... we need to create a addon that added the bike to the Safe_vehicles array in the vehiclesimulation.fsm.... and i have no idea how it works :( but this is not all.... that bike need a not sell funktion, and so on.... example: i buy a salvage metal for 35 crypto and sell a bike for 1500 ?!? = not good :D i hope the devs bring back the old bicycle from arma2.... with a normal craft option ! a bicycle in the real craftlist :-) I did as you said and I do not have the menu that appears. Link to comment Share on other sites More sharing options...
egamestudio Posted March 9, 2015 Report Share Posted March 9, 2015 Please Download Link Mod ? Script is Bug .. Link to comment Share on other sites More sharing options...
1Man Posted March 9, 2015 Report Share Posted March 9, 2015 It is not possible with this script someone needs to delete this topic, vehicles can only spawn if called by the server which this does not, how do I know because I finally got it working and not with this script. Link to comment Share on other sites More sharing options...
Suppe Posted March 9, 2015 Report Share Posted March 9, 2015 It is not possible with this script someone needs to delete this topic, vehicles can only spawn if called by the server which this does not, how do I know because I finally got it working and not with this script. then release it please.... all want something like this. Link to comment Share on other sites More sharing options...
sparrow8332 Posted March 10, 2015 Report Share Posted March 10, 2015 then release it please.... all want something like this. it has been released - use search Link to comment Share on other sites More sharing options...
monkeybrain Posted March 10, 2015 Report Share Posted March 10, 2015 it has been released - use search really? Want to point us in the right direction. I can't find anything. Link to comment Share on other sites More sharing options...
sparrow8332 Posted March 10, 2015 Report Share Posted March 10, 2015 Serverside : if(isServer) then { "SPAZ" addPublicVariableEventHandler {_this select 1 call Spawn_Ebike}; Spawn_Ebike = { private["_spawnPos","_spawnDir","_veh","_goat"]; _spawnPos = _this select 1; _spawnDir = _this select 2; _veh = createVehicle["Ebike_Epoch", _spawnPos, [], 0, "NO_COLLIDE"]; _veh allowDamage false; _veh setPos _spawnPos; _veh setDir _spawnDir; _veh setVectorUp (surfaceNormal (getPos _veh)); _veh call EPOCH_server_setVToken; _veh call EPOCH_server_vehicleInit; _veh setVelocity [0,0,.1]; _veh allowDamage true; }; }; clientside : 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; }; ive got it set so you need 50 crypro to use then 50 crypto gets removed from your player balance once crafted Link to comment Share on other sites More sharing options...
Suppe Posted March 10, 2015 Report Share Posted March 10, 2015 can u please upload the orignal pbo please.... or post it in the real thread or the serversite in my init or in the addon pbo ? Link to comment Share on other sites More sharing options...
Suppe Posted March 10, 2015 Report Share Posted March 10, 2015 got it... thanks :D Link to comment Share on other sites More sharing options...
laurent09 Posted March 15, 2015 Report Share Posted March 15, 2015 hi i have a problem I can not seem to get the menu. 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