Jump to content
  • 0
Kovicson

Move Trader Vehicle Spawns (solved)

Question

Hi folks!

 

I'm trying to move the Vehicle Spawns for Traders, Especially Klen and Bash. Seems like the vehicles spawn right next to the trader that sells vehicles wondering how on earth do I move them!

As far as I know.. you add the "HeliHCivil" but apart from I dunno how to link up the trader to that spawn

 

Any help would be great! Thank you

Share this post


Link to post
Share on other sites

12 answers to this question

Recommended Posts

  • 0
  • 0
11 minutes ago, oldmatechoc said:

Thank you for the reply man, I'll give this a try! As soon as I can 

Share this post


Link to post
Share on other sites
  • 0
18 hours ago, oldmatechoc said:

Hey man, sadly I dont have those files.. Do I have to install another script for that to work?

Share this post


Link to post
Share on other sites
  • 0
1 minute ago, lwbuk said:

Bear in mind if you edit anything in dayz_code, you need to move it to your mission file and change any calls to it, otherwise it won't work. 

All I wanna do is add the "HeliHCivil" to traders.. assuming I use this - 

 

["HeliHCivil",[11496,11335.3,0.0],248.275],

Thats for Klen and would be okay or would it be better to add it like - 

 

_vehicle_15679 = objNull;
if (true) then
{
  _this = createVehicle ["HeliHCivil", [11493.8, 11331.8, 0.00146484], [], 0, "CAN_COLLIDE"];
  _vehicle_15679 = _this;
  _this setDir 151.845;
  _this setPos [11493.8, 11331.8, 0.00146484];
};

 

Share this post


Link to post
Share on other sites
  • 0

You could  move the entire chernarus11 file mission side and edit it, and edit the call to it, or you could add  the H via an external script like you've done  and load it through server_functions.sqf in dayz_server.pbo. 

Share this post


Link to post
Share on other sites
  • 0

Here's how I do it:

Move this file to your mission somewhere, mine is in scripts\ now:

  1. https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/system/mission/chernarus11.sqf
  2. in your init.sqf find this line: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf#L109 change it to correspond to where you have put the file in the first step, i.e: 
    call compile preprocessFileLineNumbers "scripts\chernarus11.sqf"; //Add trader city objects locally on every machine early

     

  3. edit your now copied chernarus11.sqf and modify the positions of the HeliHEmpty to where you want them

  4. repack your pbo

  5. test

  6. profit

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By FG_Trap
      Made this in my free time awhile ago thought id make it public.
      Right Alt is the key to open the menu.
      Install instructions are inside the download.
      https://github.com/NWDZ-Trapxxgods/traps-menu
       
       
      here is a picture of the server menu
       
    • By lordacus
      so i have been making a server between trying to get my provider to update their mods section. after getting this don i found the server with epoch and infistar were conflicting each other such as: when joining i can use infistar but when i press f9 or i to enter my inventory or f10 for the mobile pad it then conflicts (i think) infistar and i can no longer use it. any ideas on how to stop this
       
    • By 2DayZ2Retirement
      -PROBLEM SOLVED-
       
      G'day, Survivors.
      I am having an issue on my server where vehicles which spawn randomly around the map repair themselves upon server restart.
      I use this config in my init.sqf which successfully spawns the vehicles in damaged and with low fuel...
      DynamicVehicleDamageLow = 75;
      DynamicVehicleDamageHigh = 100;
      DynamicVehicleFuelLow = 0;
      DynamicVehicleFuelHigh = 25;
      ...However upon each server restart the vehicles repair themselves (the fuel remains low however) and for the life of me I can't figure out why this is happening. 
      DayZ Version -DayZ Epoch 1.0.6.2
      Scripts Used -DZAI | -DZMS | -Right Click Actions (Suicide, Smoke Drugs, GPS Scan)
      AntiHack - InfiSTAR
      Server Host - GTXGaming
      My HiveEXT.log and arma2oaserver.RPT logs are not showing anything out of the ordinary.
      I'm not sure if it matter, but all Planes/Helicopters and Boats have been removed from the server via the dynamic_vehicle.sqf.
      In addition, all of the traders and trader cities being removed by removing the call for the CfgServerTrader.hpp in the description.ext.
      If there is any other info I can show to assist in fixing this problem please let me know, any help would be greatly appreciated.
      Cheers.
    • By vbawol
      Open world survival mod set just two years after the mass extinction of billions of people. Those that remain are left with remnants of a once technological society. Try to survive, build, or explore your way through the harsh dynamic environment.
      Features
      Powerful persistence framework for Arma 3 with native Windows and Linux dedicated server support. Fully configurable script based security checks. Base Building re-envisioned for Arma 3 PhysX. Persistent secure and insecure storage devices. Upgradeable locking doors. Barter based economy and trading systems backed a single currency ¤ called "Krypto". Hostile Environment with several different types of antagonists, Air and Water temperature extremes, and Earthquakes. Hunting, Fishing, Tame Dogs, Explore & Loot: Wrecked ships, Abandoned vehicles and buildings, Perform task based missions and more! Open source APL-SA Epoch Survival MP gamemode. Open source APL-SA Modders resource configs and Class List. Assets can be used as a mod dependency on Steam workshop.
    • By Achef
      Greetings!
      So I recently started up in a new host and haven't gotten to make the server run, found that a ca/modules bis_fnc issue is recurring but doesn't affect players when running coop missions like the default arma 2 oa ones, but when trying with Epoch hive won't connect/start despite being configured.
      Hive error
      Meanwhile at line 23...
       
      I'm still bad with Pastebin, sorry.
       
      This error has been chasing me for 2 days now
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...