Results 1 to 2 of 2

Thread: Porting Insurgency to CLAfghan

  1. #1

    Porting Insurgency to CLAfghan

    I'm trying to port the insurgency gamemode to CLAfghan without having the base spawn at random locations and such things, but have a single static base at the airfield. I just have to idea how to port it properly, so here I am asking for some help.

  2. #2
    Well to get a static base look for this

    Insurgency/Common folder

    initserver-common.sqf

    for me its line 47

    //_pos = randPos;
    //while { count (_pos isFlatEmpty [30,0,0.2,20,0,false,objNull]) == 0 || getTerrainHeightASL _pos <= 2 } do {
    // _pos = randPos;
    //};
    //HQ setDir (((CENTERPOS select 0) - (_pos select 0)) atan2 ((CENTERPOS select 1) - (_pos select 1))+90);
    //HQ setPosATL _pos;
    HQ setposATL (getmarkerpos "hq");
    waitUntil { !isDead(HQ) };
    More specificity

    HQ setposATL (getmarkerpos "hq");
    That part where "HQ" is a marker on the map called hq (where the base spawns)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •