Jump to content

leondus

Member
  • Content Count

    95
  • Joined

  • Last visited

  • Medals

Posts posted by leondus


  1. hey all,

    Could two sides Res+East share the same pbo?

    This is what I have for the Res (pre revolt) forces.

    Can I also add post revolt East forces? or have to make another PBO file??

    Thanks smile_o.gif

    Quote[/b] ]

    class IRO_NawfalSOLa: IRO_NawfalSOL {};

    class IRO_NawfalSOLb: IRO_NawfalSOL {};

    class IRO_NawfalSOLc: IRO_NawfalSOL {};

    class IRO_Nawfalofficera: IRO_NawfalSOL {};

    class IRO_Nawfalofficerb: IRO_NawfalSOL {};

    class IRO_NawfalSOLha: IRO_NawfalSOL {};

    class IRO_NawfalSOLhb: IRO_NawfalSOL {};

    class IRO_NawfalSOLhc: IRO_NawfalSOL {};

    class IRO_NawfalSOLhd: IRO_NawfalSOL {};

    class IRO_NawfalSOLhe: IRO_NawfalSOL {};

    class IRO_Nawfalcrewb: IRO_NawfalSOL {};

    class IRO_Nawfalcrewc: IRO_NawfalSOL {};

    };

    class CfgVehicles {

    class All{};

    class AllVehicles:All{};

    class Land:AllVehicles{};

    class Man:Land{};

    class Soldier:Man{};

    class SoldierGB:Soldier{};

    class IRO_NawfalSOLBase : SoldierGB {

    scope = private;

    moves = "CfgMovesMC";

    vehicleClass = "Libyx Army";

    side = 2;

    nightVision = true;

    hiddenSelections[] = {};

    sensitivity = 1.5;

    camouflage = 0.75;

    accuracy = 0.7;

    cost = 40000;

    threat[] = {1, 0.05, 0.05};

    weaponSlots = WeaponSlotPrimary + WeaponSlotSecondary + 10 * WeaponSlotItem + WeaponSlotBinocular + WeaponSlotHandGun + 4*WeaponSlotHandGunItem;

    wounds[]={"\IRO_Nawfal\2pants.pac","\IRO_Nawfal\2pants_z.pac","\IRO_Nawfal\2shirt.pac","\IRO_Nawfal\2shirt_z.pac","\IRO_Nawfal\2sleve.pac","\IRO_Nawfal\2sleve_z.pac"};

    };

    class IRO_NawfalSOLb: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_NawfalSOLb.p3d";

    displayName = "Libyx AK47 ";

    weapons[] = {"ICP_AK47","Throw","Put"};

    magazines[] = {"ICP_AK47mag","ICP_AK47mag","ICP_AK47mag","ICP_AK47mag

    ","ICP_AK47mag","ICP_AK47mag","handgrenade","handg

    renade","handgrenade","handgrenade"};

         class EventHandlers

        {

                           = "[_this select 0]exec""IRO_Nawfal\script\init_soldier.sqs"";";

        };

    };

    class IRO_Nawfalofficerb: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_Nawfalofficerb.p3d";

    displayName = "Officer";

    moves = "CfgMovesMC";

    weapons[] = {"ICP_AK47","Throw","Put"};

    magazines[] = {"ICP_AK47mag","ICP_AK47mag","ICP_AK47mag","ICP_AK47mag

    ","ICP_AK47mag","ICP_AK47mag","handgrenade","handg

    renade","handgrenade","handgrenade"};

         class EventHandlers

        {

           = "[_this select 0]exec""\IRO_Nawfal\script\init_soldier.sqs"";";

        };

    };

    class IRO_Nawfalofficera: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_Nawfalofficera.p3d";

    displayName = "Officer x";

    moves = "CfgMovesMC";

    weapons[] = {"ICP_AK47","Throw","Put"};

    magazines[] = {"ICP_AK47mag","ICP_AK47mag","ICP_AK47mag","ICP_AK47mag

    ","ICP_AK47mag","ICP_AK47mag","handgrenade","handg

    renade","handgrenade","handgrenade"};

         class EventHandlers

        {

    Init= "[_this select 0]exec""\IRO_Nawfal\scr\arab_faces.sqs"";";

        };

    };

    class IRO_NawfalSOLc: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_NawfalSOLb.p3d";

    displayName = "Libyx SKS ";

    weapons[] = {"JAM_SKS","Throw","Put"};

    magazines[]={"JAM_E762_SKSmag","JAM_E762_SKSmag","JAM_E762_SKSmag",&quot

    ;

    ;JAM_E762_SKSmag","JAM_E762_SKSmag","JAM_E762_SKSmag","JAM_E

    762_SKSmag","HandGrenade","HandGrenade","HandGrenade"};

         class EventHandlers

        {

    Init= "[_this select 0]exec""\IRO_Nawfal\scr\arab_faces.sqs"";";

        };

    };

    class IRO_NawfalSOLhb: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_NawfalSOLhb";

    displayName = "Libyx Helmeted AK47/rpg";

    weapons[] = {"ICP_AK47","ICPrpg7","Throw","Put"};

    magazines[] = {"ICP_AK47mag","ICP_AK47mag","ICP_AK47mag","ICPrpg7mag&

    amp;

    quot;,"ICPrpg7mag","ICPrpg7mag","ICPrpg7mag"};

         class EventHandlers

        {

    Init= "[_this select 0]exec""\IRO_Nawfal\scr\arab_faces.sqs"";";

        };

    };

    class IRO_NawfalSOLha: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_NawfalSOLha.p3d";

    displayName = "Libyx Helmeted RPK74";

    weapons[] = {"RHS_RPK74_JAM","Throw","Put"};

    magazines[] = {"JAM_E545M_45HDmag","JAM_E545M_45HDmag","JAM_E545M_45HDmag"

    ,"JAM_E545M_45HDmag","JAM_E545M_45HDmag"};

         

         class EventHandlers

        {

    Init= "[_this select 0]exec""\IRO_Nawfal\scr\arab_faces.sqs"";";

        };

    };

    class IRO_NawfalSOLhc: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_NawfalSOLha.p3d";

    displayName = "Libyx Helmeted SKSoptics";

    weapons[] = {"SKSoptics","Throw","Put"};

    magazines[] = {"JAM_E762_SKSmag","JAM_E762_SKSmag","JAM_E762_SKSmag",&quot

    ;

    ;JAM_E762_SKSmag","JAM_E762_SKSmag"};

         class EventHandlers

        {

    Init= "[_this select 0]exec""\IRO_Nawfal\scr\arab_faces.sqs"";";

        };

    };

    class IRO_NawfalSOLhd: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_NawfalSOLha.p3d";

    displayName = "Libyx Helmeted SMG";

    weapons[] = {"UP_PPSHA","Throw","Put"};

    magazines[] = {"UP_PPSHAmag","UP_PPSHAmag","UP_PPSHAmag","UP_PPSHAmag

    "};

         class EventHandlers

        {

    Init= "[_this select 0]exec""\IRO_Nawfal\scr\arab_faces.sqs"";";

        };

    };

    class IRO_NawfalSOLhe: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_NawfalSOLha.p3d";

    displayName = "Libyx Helmeted RPD";

    weapons[] = {"JAM_RPD","Throw","Put"};

    magazines[]= {"JAM_E762M_100HDmag","JAM_E762M_100HDmag","JAM_E762M_100HDmag&am

    p;qu

    ot;,"JAM_E762M_100HDmag","JAM_E762M_100HDmag","JAM_E762M_100HDmag

    ","HandGrenade","HandGrenade"};

         class EventHandlers

        {

    Init= "[_this select 0]exec""\IRO_Nawfal\scr\arab_faces.sqs"";";

        };

    };

    class IRO_Nawfalcrewc: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_Nawfalcrewb.p3d";

    displayName = "Libyx Tanker SMG";

    weapons[] = {"UP_PPSHA","Throw","Put"};

    magazines[] = {"UP_PPSHAmag","UP_PPSHAmag","UP_PPSHAmag","UP_PPSHAmag

    "};

         class EventHandlers

        {

    Init= "[_this select 0]exec""\IRO_Nawfal\scr\arab_faces.sqs"";";

        };

    };

    class IRO_Nawfalcrewb: IRO_NawfalSOLBase {

    scope = public;

    model = "\IRO_Nawfal\IRO_Nawfalcrewb.p3d";

    displayName = "Libyx Tanker";

    weapons[] = {"ICP_AK47","Throw","Put"};

    magazines[] = {"ICP_AK47mag","ICP_AK47mag","ICP_AK47mag","ICP_AK47mag

    ","ICP_AK47mag","ICP_AK47mag","handgrenade","handg

    renade","handgrenade","handgrenade"};

         class EventHandlers

        {

           = "[_this select 0]exec""\IRO_Nawfal\script\init_soldier.sqs"";";

         };

     };

    };

    class CfgGroups

    {

    class Resistance

    {

    name="Nawfal Army";

    class IRO_SOL_1

    {

    name="Nawfal Units";

    class IRO_Nawfal_Squad

    {

    name="Libyx Squad";

    class Unit0{name="1";side=2;vehicle="IRO_NawfalSOLb";rank="Sergeant";position[]={0,0,0};};

    class Unit1{name="2";side=2;vehicle="IRO_NawfalSOLb";rank="Corporal";position[]={-8,-3,0};};

    class Unit2{name="3";side=2;vehicle="IRO_NawfalSOLb";rank="Corporal";position[]={-6,-3,0};};

    class Unit3{name="4";side=2;vehicle="IRO_NawfalSOLb";rank="Corporal";position[]={-4,-3,0};};

    class Unit4{name="5";side=2;vehicle="IRO_NawfalSOLb";rank="Corporal";position[]={-2,-3,0};};

    class Unit5{name="6";side=2;vehicle="IRO_NawfalSOLb";rank="Private";position[]={0,-3,0};};

    };

    class IRO_SOL_Troop

    {

    name="Nawfal Leader";

    class Unit0{name="1";side=2;vehicle="IRO_NawfalSOLb";rank="Sergeant";position[]={0,0,0};};

    class Unit1{name="2";side=2;vehicle="IRO_NawfalSOLb";rank="Corporal";position[]={-6,-3,0};};

    class Unit2{name="3";side=2;vehicle="IRO_NawfalSOLb";rank="Private";position[]={-3,-3,0};};

    };

    class IRO_SOL_snipr_Squad

    {

    name="Nawfal Sniper Team";

    class Unit0{name="1";side=2;vehicle="IRO_NawfalSOLb";rank="Major";position[]={0,0,0};};

    class Unit1{name="2";side=2;vehicle="IRO_NawfalSOLb";rank="Captain";position[]={-6,-3,0};};

    class Unit2{name="3";side=2;vehicle="IRO_NawfalSOLb";rank="Sergeant";position[]={-3,-3,0};};

    };

    };

    };


  2. opps! first one was my bad, I ment init = "_this exec ""\reb\arab_faces.sqs""";"[_this select 0,0] exec ""\bd_grenadepack\AddNewUnit.sqs"""

    But I used the only other command(?) I know and kind of got it somewhat working.

    Quote[/b] ] Init = "_this exec ""\reb\arab_faces.sqs""";

    fired = "[_this select 0,0] exec ""\bd_grenadepack\AddNewUnit.sqs""";

    The first grenade has no FX effect when it goes off, ie frag effect, but everyone after that does!! strange, but it working wow_o.gif

    I would use

    Quote[/b] ]this removemagazines "HandGrenade"; this addmagazine "BD_M67"; this addmagazine "BD_M67"; [this,0] exec "\BD_GrenadePack\AddNewUnit.sqs"

    but GDCEv110 only gives the Player the grenades and not the squad or replacements.

    Thanks for helping biggrin_o.gif


  3. Nope, did not work like this

    Quote[/b] ]init = "[_this select 0,0] exec ""\bd_grenadepack\AddNewUnit.sqs""";"[_this select 0,0] exec ""\bd_grenadepack\AddNewUnit.sqs"""

    or like this

    Quote[/b] ]

    class EventHandlers: ECP_EventHandlers

    {

    Init = "_this exec ""\reb\arab_faces.sqs""";

    init = "[_this select 0,0] exec ""\bd_grenadepack\AddNewUnit.sqs""";

    };

    };

    Now OFP just crashes on startup  crazy_o.gif


  4. I'm working on a addon that going to use arab_faces.sqs with 20 odd faces already done.

    Here it is,

    Quote[/b] ] class EventHandlers: ECP_EventHandlers

    {

    Init = "_this exec ""\reb\arab_faces.sqs""";

    };

    };

    Now the above works fine, but I would like to add some grenades

    Quote[/b] ] class Eventhandlers

    {

    init = "[_this select 0,0] exec ""\bd_grenadepack\AddNewUnit.sqs"""

    };

    };

    But keep getting errors

    Anyway to use both in the config without getting a error?

    Thanks


  5. Thanks for the 411, ProfTournesol

    I just tested my map and it seems okay with no major lag.

    But that's with just the road network and jungle/grassland, but i have not started on towns yet.

    Rendered is when you set the buildings to fit the ground?

    Thx

×