Member
Last active 6 years ago
I am having a problem with getting Vehicles to persist on the Altis map.
I have a bare bones mission cba and alive (all most current versions) with 1 small TOAR, with 1 military objective, with 1 player slot and 1 single empty vehicle. When the mission starts and I enter the world it takes like 15 seconds for the vehicle to appear. I then drive the vehicle to a new location and exit it and then do a server save and exit.
I then close the mission down on the server and restart it on the server. I then connect with my client and enter the world and I am put back where I was when the save was done but the vehicle is not there or anywhere else on the map that I can see.
This also happens on the Takistan map.
On Utes the vehicle appear and the last saved spot and every previous save spot.
BUT if I copy the setup onto Stratis everything persists as it should.
Can someone please test this out on their system .
Thanks
Eric
Should damage done to vehicles be persisted?
Just curious because I had a damage ATV, did a save and restarted the mission and it was fully repaired..
Thanks
Ericwewe
Several of us have the same issue with larger missions.
Take a look at this
OK have not used the above code in a few months but something has changed.
description.ext
class Extended_Init_EventHandlers { class Box_NATO_Ammo_F // classname of the box { init = "(_this select 0) call (compile preprocessFileLineNumbers 'scripts\ammo.sqf')"; }; };
scripts\ammo.sqf
//test private "_crate"; _crate = _this; [-2, { _crate = _this; _crate allowDamage false; }, _crate] call CBA_fnc_globalExecute; [0, { _crate = _this; clearWeaponCargoGlobal _crate; clearMagazineCargoGlobal _crate; clearItemCargoGlobal _crate; clearBackpackCargoGlobal _crate; _crate addMagazineCargoGlobal ["30Rnd_65x39_caseless_mag", 20]; }, _crate] call CBA_fnc_globalExecute;
When running the mission on the DEDICATED SERVER....
One Box_NATO_Ammo_F begins the mission at my base (was placed in the editor) and then I requested another one via Combat Logistics (Helo, Airdrop or Convoy). The Box_NATO_Ammo_F that was placed on the map in the editor has the custom item in it but the Box_NATO_Ammo_F that came in by Combat Logistics has the default items (Same thing happens if I use Zues to drop one into the mission also, it has all the default items).
When testing thru the Editor/Single player everything works, both boxes contain just the custom item.
Does anyone have any idea how to fix this to work on the dedicated server?
Thanks
Eric
LOL, was struggling with this myself tonight. I'll do the hosts edit till plugin gets corrected.
Thanks
Eric
Tried it a few more times and about 50% of the time after you rescue him and get the task complete message he remains seated with hands behind his back.
I'm stuck or just plain missing it.
My small group gets to the hostage area and clear out the opfor troops. I hold down spacebar and complete the rescue and the hostage joins my group. The hostage is sitting on the ground with hands behind his back.
This is where I am stuck. How do I get home to move? I give him commands to move but he remains on the ground.
Thanks
Eric
I'm still not able to get helo/truck based logistics to work. they arrive, land/stop and then immediately depart, no 2 minute message to unload or time to unload. Running just CBA and Alive.
Does anyone have a basic mission with this working I can look at to make sure I don't have something bugged on my end.
Thanks
Eric
Works fine with dropping off troops but not when you have to unload something yourself.
Just setup the new version of Alive and on my basic Stratis test map I have the same issue with the default helicopter.
Requested just a nato ammo box helicopter arrives like it should, it lands and immediately takes off. All the messages are one right after the other, from arriving right to rtb. I also tested the convoy and it did not wait for 2 minutes before it took off also.
slingload of a vehicle worked fine and so did airdrops.
Remove this section
//////////--Start Time (Multiplayer Parameter)--////////// -----> https://community.bistudio.com/wiki/Arma_3_Mission_Parameters
class Params {
class STARTTIME {
title = "Mission Start Time";
values[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24};
texts[] = {
"1:00","2:00","3:00","4:00","5:00","6:00","7:00","8:00","9:00","10:00","11:00","12:00",
"13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00","24:00"
};
default = 6;
function = "BIS_fnc_paramDaytime";
};
};