Jump to content

frwind

Member
  • Content Count

    12
  • Joined

  • Last visited

  • Medals

Posts posted by frwind


  1. Solved the problem

    1) do not write to file description.ext

    respawnvehicle = "BASE";

    respawnVehicleDelay = 8;

    2) He took the finished script vehicle.sqf and place in mission folder

    private ["_delay","_disabled","_startdir","_startpos","_type","_vehicle"];
    if (!isServer) exitWith {};
    
    _vehicle = _this select 0;
    _delay = 5;
    _startpos = getpos _vehicle;
    _startdir = getdir _vehicle;
    _type = typeof _vehicle;
    
    while {true} do
    {
     _empty = (if (({alive _x} count (crew _vehicle)) > 0) then {false} else {true});
     _disabled = (if (damage _vehicle > 0) then {true} else {false});
     if ((_disabled && _empty)) then
     {
    sleep (_delay);
       deletevehicle _vehicle;
       _vehicle = objNull;
       _vehicle = _type createvehicle _startpos;
       _vehicle setpos _startpos;
       _vehicle setdir _startdir;
     };
    };
    

    Added to each vehicle and helicopter line in the initialization

    veh = [this] execVM "vehicle.sqf"

    And most importantly, the mission has made the helicopter and vehicle side EMPTY

    Everything works.


  2. When I'm online, create a server "Duel helicopter".

    Usually from 16:00-19:00 GMT

    All the action takes place in Seattle, the Port of the island.

    Available all types of armed helicopters, plus a bit of ground vehicles.

    Priority mission: Dogfight helicopters.

    Secondary mission: Cooperative fighting against bots.

    Respawn: Player and vehicle.

    Level: Expert

    All who are not indifferent to the air battles in helicopters, join us.

    PS: This is my first experience writing missions at TOH, accept criticism and suggestions.

    PS:PS: Sorry for my bad English.


  3. I fly online with 16:00-19:00 GMT

    To create a server with a mission "Duel of helicopters"

    It can make war against each other in helicopters or in co-op to war with the ground vehicle and boats.

    Level: Expert.

    If you are interested please write to the ICQ, always willing to talk on the subject of joint operations.


  4. How do I spawn a few helicopters in multiplayer?

    Made in two ways, only the first spawn helicopter in which sadishsya, the rest does not restores.

    1) The file description.ext prescribed

    respawnvehicle = "BASE";

    respawnVehicleDelay = 8;

    and put a mark in her mission

    respawn_vehicle_west

    2) Use the script vehicle.skf and prescribed in the mission.sqm

    init = "veh = [this, 5, 10] execVM" "vehicle.sqf" "";

    Doing mission desmatch between the two parties, in helicopters, to recovery vehicles.

    And another question: How do I Recover a helicopter if he had damaged the engine or something, but it did not explode?

×