Jump to content

seelenapparat

Member
  • Content Count

    267
  • Joined

  • Last visited

  • Days Won

    5

seelenapparat last won the day on October 23

seelenapparat had the most liked content!

About seelenapparat

  • Rank
    Hardened

Recent Profile Visitors

1335 profile views
  1. the eventhandler getin must be attached to where you create the vehicle. search for createvehicle and look where the other eventhandlers are attached. servermonitor etc. definetly serverside.
  2. an eventhandler works like you described it. once you enter the vehicle. the code is executed. everytime you enter it. sry for making it so unclear. yes the loc part is from the RE part of this. it means local the player.
  3. go to the script that spawns in the specific vehicle (e.g. servermonitor if spawned from hive, or server_publishvehicle when bought from trader etc.). add this: _vehicle addEventHandler ["GetIn",{_nil = [nil,(_this select 2),"loc",rTITLETEXT,"This vehicle needs to be hotwired in order to work.","PLAIN DOWN",5] call RE;}]; Reconfigure it for your purpose. this will only be executed when a player enters a vehicle (once).
  4. The serverfiles are, as the name suggests, stored on the server. Ergo, nobody,expect you should have had access to them. (In theory) Sry, but you might have to restart. Epoch was updated anyway.
  5. How do you add them? You might not set up the vehicle correctly. There are some variables that must be set up correctly, else the ingame createvehicle check will kill the vehicle as soon as someone enters it. e.g.: dayz_serverObjectMonitor set [count dayz_serverObjectMonitor, _object]; _object setVariable ["ObjectID", "1", true]; _object setVariable ["ObjectUID", "1", true];
  6. This would best be achived via the server_monitor.sqf. if (_ownerID != "0") then { means its a locked vehicle. if (_object isKindOf "Air") then { means its an air vehicle, like helis or airplanes. then you would set _object setFuel 1; for it to be fully refueled at server startup. _object setDamage 0; _hitpoints = _object call vehicle_getHitpoints; { _hitpoint = _x; _selection = getText(configFile >> "cfgVehicles" >> (typeof _object) >> "HitPoints" >> _hitpoint >> "name"); _object setHit[_selection,0]; _strH = ("hit_" + (_selection)); _object setVariable[_strH,0,true]; } forEach _hitpoints; [_object,"repair"] call server_updateObject; This makes it fully repaired on server startup. Someone correct me if I made a mistake somewhere.
  7. you can use extdb to achieve your goal. no need for a custom hiveext.dll. (tho it would be nice to have one; multichar support etc.) :)
  8. not possible via missionfile or serverfile editing. you would need to change that in the correct cfgmagazines configfile. which then means you would need to make a custom addon pbo file, which everyone needs to download in order to play on your server.
  9. thats correct. delay issue: if I remember correctly. the serverside script has a built in sleep. so it might be that it only checks each xx seconds.
  10. the number means minutes. 5 = 5 minutes after serverstart. 35 = 35 minutes after serverstart. and so on. these events will be executed each hour.
  11. check the classnames of the items and weapons. if there is a wrong classname the game adds a nonworking item to the body. when the player opens the gear the game checks the configs and produces an error. the game crashes.
  12. hint: check the variables.sqf for dayz_gearedobjects. all ori houses must be in there in order for them to be updated by the server.
  13. check your spawnvehiclepatrol.sqf. in there you will find something like this: _vehicle setVehicleLock "LOCKED"; replace it with this: //_vehicle setVehicleLock "LOCKED";
  14. even easier would be something like this: take the player_spawnCheck.sqf to the missionfile and edit it. somewhere where it says: if (getNumber(_config >> "zombieChance") > 0) then { above add: if (player distance [youcoordsarray) < 1000) exitwith {}; 1000 is roughly the islandsize from the middle of it (radius). or do I have a mistake in my thinking there?
×
×
  • Create New...