Advertisement

Author Topic: Dedicated Server Rearm,Repair, and Reload  (Read 348 times)

0 Members and 1 Guest are viewing this topic.

Offline sardaukar17

  • Members
  • *
Dedicated Server Rearm,Repair, and Reload
« on: 02 Oct 2009, 01:50:46 »
Has anyone run into this problem?

When my map is tested on Preview and when I host it on my computer I can use the Warfare Building "USMC Service Station" To rearm, Refuel, and Reload vehicles. When it is run on a dedicated server however, none of the Ammo crates, service stations, and any other buildings or ammo boxes supply vehicles any more.. Anyone know why that is and/or a way to fix it?

Right now I am back where I started on creating a new service station.. or (FARP)  ;)

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: Dedicated Server Rearm,Repair, and Reload
« Reply #1 on: 03 Oct 2009, 09:43:28 »
Locality bug in arma. Only works for local vehicles.
You have to make the unit/object local to be able to issue the command.

Offline sardaukar17

  • Members
  • *
Re: Dedicated Server Rearm,Repair, and Reload
« Reply #2 on: 04 Oct 2009, 18:17:39 »
In order to make each of those supply objects local for each client would I have to run a creation script for each object that would then run on each client? or is there an easier way?


Offline tcp

  • Members
  • *
    • Violator Gaming
Re: Dedicated Server Rearm,Repair, and Reload
« Reply #3 on: 04 Oct 2009, 19:18:42 »
Create a marker where you want the service point called FARP1mrk
In init.sqf:
FARP1 = "USMC_WarfareBVehicleServicePoint" createVehicleLocal getMarkerPos "FARP1mrk";

It will locally create one on every client and the server.

Offline sardaukar17

  • Members
  • *
Re: Dedicated Server Rearm,Repair, and Reload
« Reply #4 on: 05 Oct 2009, 04:52:01 »
That did end up working. Thank you!
« Last Edit: 05 Oct 2009, 10:38:02 by sardaukar17 »