Jump to content

AncientHawk

Member
  • Posts

    12
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by AncientHawk

  1. 51 minutes ago, vbawol said:

    @AncientHawk When spawning the vehicle you need to run this command server side:

    
    _veh call EPOCH_server_setVToken; // _veh is a reference to the newly spawned vehicle object. (example: _veh = createVehicle ["I_Heli_Transport_02_EPOCH", _startpos, [], 0, "FLY"]; _veh call EPOCH_server_setVToken;)

     

    I have read this before, but I am not sure where to put the code or how to make it work with the sector vehicles that are spawned in. Where would I put that code?

  2. On ‎11‎/‎27‎/‎2016 at 11:20 PM, vbawol said:

    I Just pushed a fix https://github.com/EpochModTeam/Epoch/commit/c86d4577e43907d7db247784d21016372c4cbb2f to allow vehicles that are spawned with Zeus available since b657 from here: https://github.com/EpochModTeam/Epoch/tree/experimental

    I am having the same issue with sector addon. I have vehicles and 50 hmg turrets spawning in, but they are deleted when I get near the mission. Will the changes you made above fix my issue as well?

  3. On ‎1‎/‎8‎/‎2017 at 7:13 AM, Ghostrider-DbD- said:

     

    As someone else said, UPS or ALIVE mods can be used.

    VEMFr now provides space in the config for custom, static AI spawns for infantry and static weapons, I believe.

    We use A3EAI which provides options for custom spawns. Advantages are that AI have more intelligence and only spawn when players are nearby. Disadvantages are that there is some overhead with spawning / despawning and A3EAI does not support static weapons. You can define the spawn locations in @A3EAI\addons\a3eai_config\a3eai_custom_defs.sqf. An example of the definitiion for Darth_Rogue's Object X99 (Bornholm) follows:

           ["ArmedH1",[4256.91,19799.3,0.00165558],"B_Heli_Light_01_armed_F",1000,[1,1],1] call A3EAI_createCustomVehicleQueue;
            ["ObjectX1",[7218.28,12069.2,0.00141907],100,5,1,false,0] call A3EAI_createCustomInfantryQueue;
     

    There is a very nice tool provided with A3EAI for generating a list of the spawns which lets you teleport around the map and define the varous locations for the spawns.

    Alternatively, you could just place boxes or something in the spots you want AI to spawn, export the sqf and transpose the coordinates into the templates above.

    One can also place AI using the editor and export that information to an SQF. If you felt ambitious, you could use calls to functions in VEMFr or blckeagls to place AI but that would be a bit more work. I have not yet added an option for spawning static AI to blckeagls.

     

    Thanks for the information Ghost!

  4. 2 hours ago, Ghostrider-DbD- said:

    we create any map addons needed using the Eden editor. Maca's editor plugin is a convenient way to export your base layouts to an sqf. While it was designed for Exile it works fine for Epoch as well. You can then place custom A3EAI spawns to guard the base.

     

    Thanks Ghost. Can you expound on that? I know how to add in buildings and stuff, but I have a hard time knowing how to add in AI. I really want some static 50's, vehicles and AI.

  5.  

    On ‎12‎/‎27‎/‎2016 at 3:43 PM, Arduo said:

    I'm also looking for a working AI Missions Script. :P

    I have Sector addon right now and it works besides the vehicles keep getting removed. The AI and loot boxes spawn in without any issues. 

  6. 5 hours ago, Kenobi said:

    Are you used default AI spawn coordinates or your own? Are they defined properly?

    Kenobi, I finally figured out that the coordinates provided in the instructions say that they should be arranged as [X, Z, Y], but I found that the marker had spawned in the ocean at the bottom of the map. After changing the coordinates to [X, Y, Z] I was able to get everything to spawn where I wanted it.  These are my own coordinates that I have entered into the file. Now I am having an issue where the vehicles that spawn in are being removed as soon as I get near the mission.

  7. On ‎12‎/‎24‎/‎2016 at 7:01 PM, Kenobi said:

    We have this script on server and works well, but with some errors in RPT like:

    0:00:55 "***[Sector] Loading Sector_Positions***"
     0:00:55 Error in expression <icV] joinsilent _groupAI;
    _staticV call EPOCH_server_setVToken;
    _staticV call EP>
     0:00:55   Error position: <EPOCH_server_setVToken;
    _staticV call EP>
     0:00:55   Error Undefined variable in expression: epoch_server_setvtoken
     0:00:55 File x\addons\a3_epoch_sector\scripts\SUP_functions.sqf, line 195
     0:00:56 Error in expression < joinsilent _groupAI;
    _landvehicle call EPOCH_server_setVToken;
    _landvehicle cal>
     0:00:56   Error position: <EPOCH_server_setVToken;
    _landvehicle cal>
     0:00:56   Error Undefined variable in expression: epoch_server_setvtoken
     0:00:56 File x\addons\a3_epoch_sector\scripts\SUP_functions.sqf, line 93
    ETC....

    But AI are spawned OK. We have only Blckeagls mission system and Sector at present.

    How did you get sector to work? I have tried everything I can think of.

  8. I am looking to make an AI mission that spawns only once a server restart and doesn't give any notification that it is there. Does anyone have any good info on how to do this? I would like to put them on an island and have them guard some crates that have special loot for people to try and get. Any info would be appreciated.

×
×
  • Create New...