Jump to content

CaptainBravo

Member
  • Content Count

    731
  • Joined

  • Last visited

  • Medals

Posts posted by CaptainBravo


  1. Hi everyone,

    I have a couple of simple questions about a random mortar script.

    a) How do I add sound to it so every time it fires a sound file is played.

    b) How do I call the script from a trigger I havetried a variation execVM and others with no luck.

    Script:

    // ///////////////////////////////////////////////////////////////

    // 1. Center place an object ot gamelogic where you want the explosions.

    // 2. Choose the size of the area in metere.

    // 3. Select how many explosions you require

    // 4. Select the maximum delay between explosions in seconds.

    // 5. minimum delay is 0.5 secs and can be changed in the script.

    // 6. If the two // are removed from the "Grenadebase" line a more visible marke is left on the ground.

    // 7."HelicopterExploSmall" "HelicopterExploBig" "SmallSecondary"

    _pos = _this select 0;

    _area = _this select 1;

    _rounds = _this select 2;

    _del = _this select 3;

    _height = 0;// increase this if you want the items to fall from the sky.

    _ammo = "grenade";// Ammo can be changed for larger effects.

    for [{_i = 0},{_i < _rounds},{_i = _i + 1}] do

    {

    _newpos = GetPos _pos;

    _posX = _newpos select 0;

    _posY = _newpos select 1;

    _bomb = _ammo createVehicle[(_posX + random _area)-_area/2, (_posY + random _area)-_area/2,_height];

    // _bomb = "GrenadeBase" createVehicle [(getpos _bomb select 0),(getpos _bomb select 1),-10];

    sleep (random _del)+0.5;// minimum delay 0.5, adjust for best results.

    };

    Thanks for your help in advance.


  2. Below is the data I need in the file. The question is where does it go??

    I have widnows 7 and I am having diffuclties finding that file. Before you say the .arma2profile I have looked and it has something different see bottom of page plz.!

    This is what I need:

    class Difficulties

    {

    class Recruit

    {

    class Flags

    {

    3rdPersonView = 1;

    armor = 1;

    autoAim = 0;

    autoGuideAT = 1;

    autoSpot = 1;

    cameraShake = 0;

    clockIndicator = 1;

    deathMessages = 1;

    enemyTag = 0;

    friendlyTag = 1;

    hud = 1;

    hudGroupInfo = 1;

    hudPerm = 1;

    hudWp = 1;

    hudWpPerm = 1;

    map = 1;

    netStats = 1;

    tracers = 1;

    ultraAI = 0;

    unlimitedSaves = 1;

    vonID = 1;

    weaponCursor = 1;

    };

    skillFriendly = 1;

    precisionFriendly = 1;

    skillEnemy = 0.55;

    precisionEnemy = 0.3;

    };

    class Regular

    {

    class Flags

    {

    3rdPersonView = 1;

    armor = 1;

    autoAim = 0;

    autoGuideAT = 1;

    autoSpot = 1;

    cameraShake = 1;

    clockIndicator = 1;

    deathMessages = 1;

    enemyTag = 0;

    friendlyTag = 1;

    hud = 1;

    hudGroupInfo = 1;

    hudPerm = 1;

    hudWp = 1;

    hudWpPerm = 1;

    map = 1;

    netStats = 1;

    tracers = 1;

    ultraAI = 0;

    unlimitedSaves = 1;

    vonId = 1;

    weaponCursor = 1;

    };

    skillFriendly = 1;

    precisionFriendly = 1;

    skillEnemy = 0.7;

    precisionEnemy = 0.5;

    };

    class Veteran

    {

    class Flags

    {

    3rdPersonView = 1;

    armor = 0;// Cannot be changed

    autoAim = 0;// Cannot be changed

    autoGuideAT = 0;// Cannot be changed

    autoSpot = 0;// Cannot be changed

    cameraShake = 1;

    clockIndicator = 0;

    deathMessages = 1;

    enemyTag = 0;// Cannot be changed

    friendlyTag = 0;// Cannot be changed

    hud = 1;

    hudGroupInfo = 0;

    hudPerm = 0;// Cannot be changed

    hudWp = 1;

    hudWpPerm = 0;// Cannot be changed

    map = 0;

    netStats = 1;

    tracers = 0;// Cannot be changed

    ultraAI = 0;

    unlimitedSaves = 0;

    vonId = 0;

    weaponCursor = 1;

    };

    skillFriendly = 1;

    precisionFriendly = 1;

    skillEnemy = 0.9;

    precisionEnemy = 0.75;

    };

    class Mercenary

    {

    class Flags

    {

    3rdPersonView = 0;// Cannot be changed

    armor = 0;// Cannot be changed

    autoAim = 0;// Cannot be changed

    autoGuideAT = 0;// Cannot be changed

    autoSpot = 0;// Cannot be changed

    cameraShake = 1;// Cannot be changed

    clockIndicator = 0;// Cannot be changed

    deathMessages = 0;

    enemyTag = 0;// Cannot be changed

    friendlyTag = 0;// Cannot be changed

    hud = 0;// Cannot be changed

    hudGroupInfo = 0;// Cannot be changed

    hudPerm = 0;// Cannot be changed

    hudWp = 0;// Cannot be changed

    hudWpPerm = 0;// Cannot be changed

    map = 0;// Cannot be changed

    netStats = 0;

    tracers = 0;// Cannot be changed

    ultraAI = 0;

    unlimitedSaves = 0;// Cannot be changed

    vonID = 0;

    weaponCursor = 0;// Cannot be changed

    };

    skillFriendly = 1;

    precisionFriendly = 1;

    skillEnemy = 1;

    precisionEnemy = 1;

    };

    };

    And below is what I actually have in my .arma2profile:

    version=2;

    blood=1;

    singleVoice=0;

    class Identity

    {

    face="Face101";

    glasses="Sunglasses";

    speaker="Male05";

    pitch=0.96558529;

    squad="";

    };

    tripleHead=0;

    class MainMap

    {

    class Compass

    {

    inBack=0;

    position[]={-0.097275808,-0.073925406,0.2};

    positionBack[]={0.0085000042,0,0.1};

    };

    class Watch

    {

    inBack=0;

    position[]={-0.074969999,-0.05689688,0.20999999};

    positionBack[]={-0.0093500009,0,0.11};

    };

    class WalkieTalkie

    {

    inBack=1;

    position[]={0.093999997,-0.043000001,0.25};

    positionBack[]={0.28,-0.155,0.625};

    };

    class GPS2

    {

    inBack=0;

    position[]={-0.026179997,-0.059606258,0.22};

    positionBack[]={0.020400001,0,0.12};

    };

    };

    shadingQuality=10;

    shadowQuality=3;

    maxSamplesPlayed=32;

    anisoFilter=2;

    TexQuality=1;

    TexMemory=1;

    useWBuffer=0;

    browsingSource="Internet";

    class Filter

    {

    serverName="";

    missionType="";

    missionName="";

    maxPing=0;

    minPlayers=0;

    maxPlayers=0;

    fullServers=1;

    passwordedServers=1;

    battleyeRequired=0;

    expansions=1;

    };

    difficultyMP="regular";

    lastMPMission="Wrong_Turn_VI";

    class ModLauncherList

    {

    class Mod1

    {

    dir="@CBA";

    name="";

    origin="GAME DIR";

    fullPath="@CBA";

    };

    class Mod2

    {

    dir="@ACE";

    name="";

    origin="GAME DIR";

    fullPath="@ACE";

    };

    class Mod3

    {

    dir="@ACEX";

    name="";

    origin="GAME DIR";

    fullPath="@ACEX";

    };

    class Mod4

    {

    dir="@ACEX_RU";

    name="";

    origin="GAME DIR";

    fullPath="@ACEX_RU";

    };

    class Mod5

    {

    dir="@ACEX_SM";

    name="";

    origin="GAME DIR";

    fullPath="@ACEX_SM";

    };

    class Mod6

    {

    dir="@ACEX_USNavy";

    name="";

    origin="GAME DIR";

    fullPath="@ACEX_USNavy";

    };

    class Mod7

    {

    dir="@CHN_Crocodile";

    name="";

    origin="GAME DIR";

    fullPath="@CHN_Crocodile";

    };

    class Mod8

    {

    dir="@Desert_Merc";

    name="";

    origin="GAME DIR";

    fullPath="@Desert_Merc";

    };

    class Mod9

    {

    dir="@duala";

    name="";

    origin="GAME DIR";

    fullPath="@duala";

    };

    class Mod10

    {

    dir="@fallujah";

    name="";

    origin="GAME DIR";

    fullPath="@fallujah";

    };

    class Mod11

    {

    dir="@FFAA_11";

    name="";

    origin="GAME DIR";

    fullPath="@FFAA_11";

    };

    class Mod12

    {

    dir="@Islands";

    name="";

    origin="GAME DIR";

    fullPath="@Islands";

    };

    class Mod13

    {

    dir="@pxs_satcom2_v13";

    name="";

    origin="GAME DIR";

    fullPath="@pxs_satcom2_v13";

    };

    class Mod14

    {

    dir="@Misc";

    name="";

    origin="GAME DIR";

    fullPath="@Misc";

    };

    class Mod15

    {

    dir="@WarFX-Blastcore";

    name="";

    origin="GAME DIR";

    fullPath="@WarFX-Blastcore";

    };

    class Mod16

    {

    dir="@WarFX-Lighting";

    name="";

    origin="GAME DIR";

    fullPath="@WarFX-Lighting";

    };

    class Mod17

    {

    dir="@Razoreniya";

    name="";

    origin="GAME DIR";

    fullPath="@Razoreniya";

    };

    class Mod18

    {

    dir="@WarFX-SunLight";

    name="";

    origin="GAME DIR";

    fullPath="@WarFX-SunLight";

    };

    class Mod19

    {

    dir="@WarFX-Tracers";

    name="";

    origin="GAME DIR";

    fullPath="@WarFX-Tracers";

    };

    class Mod20

    {

    dir="@zeu_AI";

    name="";

    origin="GAME DIR";

    fullPath="@zeu_AI";

    };

    class Mod21

    {

    dir="@RUG_DSAI";

    name="";

    origin="GAME DIR";

    fullPath="@RUG_DSAI";

    };

    class Mod22

    {

    dir="@Alpine";

    name="";

    origin="GAME DIR";

    fullPath="@Alpine";

    };

    class Mod23

    {

    dir="@JSRS-E";

    name="";

    origin="GAME DIR";

    fullPath="@JSRS-E";

    };

    class Mod24

    {

    dir="@JSRS-V";

    name="";

    origin="GAME DIR";

    fullPath="@JSRS-V";

    };

    class Mod25

    {

    dir="@JSRS-VW";

    name="";

    origin="GAME DIR";

    fullPath="@JSRS-VW";

    };

    class Mod26

    {

    dir="@JSRS-W";

    name="";

    origin="GAME DIR";

    fullPath="@JSRS-W";

    };

    class Mod27

    {

    dir="@LDL";

    name="";

    origin="GAME DIR";

    fullPath="@LDL";

    };

    };

    teamSwitchOffsetX=0;

    teamSwitchOffsetY=0;

    sceneComplexity=300000;

    viewDistance=1600;

    terrainGrid=10;

    volumeCD=6.5;

    volumeFX=8.5;

    volumeSpeech=5.5;

    volumeVoN=6.5;

    vonRecThreshold=0.029999999;

    gamma=1;

    brightness=1;

    fovTop=0.75;

    fovLeft=1;

    uiTopLeftX=0.074999988;

    uiTopLeftY=0.074999988;

    uiBottomRightX=0.92500001;

    uiBottomRightY=0.92500001;

    IGUIScale=0.85000002;

    There has to be at least one person who knows what I am talking about :rolleyes:


  3. Hey everyone,

    I can not seem to find the answer to a technical issue I am having and I hope an Arma expert will have an answer on here.

    Basically I have upgraded from windows xp to windows 7 and now my arma ARMA2OAPROFILE does not show lines that have server settings such as:

    skillFriendly=0.98500001;

    skillEnemy=0.99500001;

    precisionFriendly=0.5;

    precisionEnemy=0.20499997;

    Can someone please point me to where this file is???

    Thanks for all the help guys.


  4. Yes I have ran game with CaptainBravo. My profile looks like this:

    version=2;

    blood=1;

    singleVoice=0;

    class Identity

    {

    face="Face101";

    glasses="Sunglasses";

    speaker="Male05";

    pitch=0.96558529;

    squad="";

    };

    tripleHead=0;

    class MainMap

    {

    class Compass

    {

    inBack=0;

    position[]={-0.097275808,-0.073925406,0.2};

    positionBack[]={0.0085000042,0,0.1};

    };

    class Watch

    {

    inBack=0;

    position[]={-0.074969999,-0.05689688,0.20999999};

    positionBack[]={-0.0093500009,0,0.11};

    };

    class WalkieTalkie

    {

    inBack=1;

    position[]={0.093999997,-0.043000001,0.25};

    positionBack[]={0.28,-0.155,0.625};

    };

    class GPS2

    {

    inBack=0;

    position[]={-0.026179997,-0.059606258,0.22};

    positionBack[]={0.020400001,0,0.12};

    };

    };

    shadingQuality=10;

    shadowQuality=3;

    maxSamplesPlayed=32;

    anisoFilter=2;

    TexQuality=1;

    TexMemory=1;

    useWBuffer=0;

    browsingSource="Internet";

    class Filter

    {

    serverName="";

    missionType="";

    missionName="";

    maxPing=0;

    minPlayers=0;

    maxPlayers=0;

    fullServers=1;

    passwordedServers=1;

    battleyeRequired=0;

    expansions=1;

    };

    difficultyMP="regular";

    lastMPMission="Wrong_Turn_VI";

    class ModLauncherList

    {

    class Mod1

    {

    dir="@CBA";

    name="";

    origin="GAME DIR";

    fullPath="@CBA";

    };

    class Mod2

    {

    dir="@ACE";

    name="";

    origin="GAME DIR";

    fullPath="@ACE";

    };

    class Mod3

    {

    dir="@ACEX";

    name="";

    origin="GAME DIR";

    fullPath="@ACEX";

    };

    class Mod4

    {

    dir="@ACEX_RU";

    name="";

    origin="GAME DIR";

    fullPath="@ACEX_RU";

    };

    class Mod5

    {

    dir="@ACEX_SM";

    name="";

    origin="GAME DIR";

    fullPath="@ACEX_SM";

    };

    class Mod6

    {

    dir="@ACEX_USNavy";

    name="";

    origin="GAME DIR";

    fullPath="@ACEX_USNavy";

    };

    class Mod7

    {

    dir="@CHN_Crocodile";

    name="";

    origin="GAME DIR";

    fullPath="@CHN_Crocodile";

    };

    class Mod8

    {

    dir="@Desert_Merc";

    name="";

    origin="GAME DIR";

    fullPath="@Desert_Merc";

    };

    class Mod9

    {

    dir="@duala";

    name="";

    origin="GAME DIR";

    fullPath="@duala";

    };

    class Mod10

    {

    dir="@fallujah";

    name="";

    origin="GAME DIR";

    fullPath="@fallujah";

    };

    class Mod11

    {

    dir="@FFAA_11";

    name="";

    origin="GAME DIR";

    fullPath="@FFAA_11";

    };

    class Mod12

    {

    dir="@Islands";

    name="";

    origin="GAME DIR";

    fullPath="@Islands";

    };

    class Mod13

    {

    dir="@pxs_satcom2_v13";

    name="";

    origin="GAME DIR";

    fullPath="@pxs_satcom2_v13";

    };

    class Mod14

    {

    dir="@Misc";

    name="";

    origin="GAME DIR";

    fullPath="@Misc";

    };

    class Mod15

    {

    dir="@WarFX-Blastcore";

    name="";

    origin="GAME DIR";

    fullPath="@WarFX-Blastcore";

    };

    class Mod16

    {

    dir="@WarFX-Lighting";

    name="";

    origin="GAME DIR";

    fullPath="@WarFX-Lighting";

    };

    class Mod17

    {

    dir="@Razoreniya";

    name="";

    origin="GAME DIR";

    fullPath="@Razoreniya";

    };

    class Mod18

    {

    dir="@WarFX-SunLight";

    name="";

    origin="GAME DIR";

    fullPath="@WarFX-SunLight";

    };

    class Mod19

    {

    dir="@WarFX-Tracers";

    name="";

    origin="GAME DIR";

    fullPath="@WarFX-Tracers";

    };

    class Mod20

    {

    dir="@zeu_AI";

    name="";

    origin="GAME DIR";

    fullPath="@zeu_AI";

    };

    class Mod21

    {

    dir="@RUG_DSAI";

    name="";

    origin="GAME DIR";

    fullPath="@RUG_DSAI";

    };

    class Mod22

    {

    dir="@Alpine";

    name="";

    origin="GAME DIR";

    fullPath="@Alpine";

    };

    class Mod23

    {

    dir="@JSRS-E";

    name="";

    origin="GAME DIR";

    fullPath="@JSRS-E";

    };

    class Mod24

    {

    dir="@JSRS-V";

    name="";

    origin="GAME DIR";

    fullPath="@JSRS-V";

    };

    class Mod25

    {

    dir="@JSRS-VW";

    name="";

    origin="GAME DIR";

    fullPath="@JSRS-VW";

    };

    class Mod26

    {

    dir="@JSRS-W";

    name="";

    origin="GAME DIR";

    fullPath="@JSRS-W";

    };

    class Mod27

    {

    dir="@LDL";

    name="";

    origin="GAME DIR";

    fullPath="@LDL";

    };

    };

    teamSwitchOffsetX=0;

    teamSwitchOffsetY=0;

    sceneComplexity=300000;

    viewDistance=1600;

    terrainGrid=10;

    volumeCD=6.5;

    volumeFX=8.5;

    volumeSpeech=5.5;

    volumeVoN=6.5;

    vonRecThreshold=0.029999999;

    gamma=1;

    brightness=1;

    fovTop=0.75;

    fovLeft=1;

    uiTopLeftX=0.074999988;

    uiTopLeftY=0.074999988;

    uiBottomRightX=0.92500001;

    uiBottomRightY=0.92500001;

    IGUIScale=0.85000002;

    How do I get it to include all the server info?


  5. :) I meant have you enabled the option in Windows Explorer to show you the file extensions, since you didn't seem to see them.

    And the difficulties thingy, it's in the .ArmA2OAProfile

    Mine looks like this:

    class Difficulties

    {

    class recruit

    {

    class Flags

    {

    Armor=1;

    FriendlyTag=1;

    EnemyTag=0;

    HUD=1;

    HUDPerm=1;

    HUDWp=1;

    HUDWpPerm=1;

    HUDGroupInfo=1;

    AutoSpot=1;

    Map=1;

    WeaponCursor=1;

    AutoGuideAT=1;

    ClockIndicator=1;

    3rdPersonView=1;

    UltraAI=0;

    AutoAim=0;

    CameraShake=0;

    UnlimitedSaves=1;

    DeathMessages=1;

    NetStats=1;

    VonID=1;

    };

    skillFriendly=1;

    skillEnemy=0.55000001;

    precisionFriendly=1;

    precisionEnemy=0.55000001;

    };

    class regular

    {

    class Flags

    {

    Armor=0;

    FriendlyTag=1;

    EnemyTag=0;

    HUD=1;

    HUDPerm=0;

    HUDWp=1;

    HUDWpPerm=0;

    HUDGroupInfo=1;

    AutoSpot=1;

    Map=0;

    WeaponCursor=0;

    AutoGuideAT=0;

    ClockIndicator=1;

    3rdPersonView=1;

    tracers=1;

    UltraAI=0;

    AutoAim=0;

    CameraShake=1;

    UnlimitedSaves=1;

    DeathMessages=1;

    NetStats=1;

    VonID=1;

    };

    skillFriendly=0.98500001;

    skillEnemy=0.995;

    precisionFriendly=0.5;

    precisionEnemy=0.4899998;

    };

    class veteran

    {

    class Flags

    {

    HUD=1;

    HUDWp=1;

    HUDGroupInfo=0;

    Map=0;

    WeaponCursor=1;

    ClockIndicator=0;

    3rdPersonView=1;

    UltraAI=0;

    CameraShake=1;

    UnlimitedSaves=0;

    DeathMessages=1;

    NetStats=1;

    VonID=0;

    };

    skillFriendly=1;

    skillEnemy=0.89999998;

    precisionFriendly=1;

    precisionEnemy=0.89999998;

    };

    class mercenary

    {

    class Flags

    {

    UltraAI=0;

    DeathMessages=0;

    NetStats=0;

    VonID=0;

    };

    skillFriendly=1;

    skillEnemy=1;

    precisionFriendly=1;

    precisionEnemy=1;

    };

    };

    Hmm my ArmA2OAProfile "CaptainBravo" does not show the above??? How do I get my ArmA2OAProfile to look like yours???

    I need to look up how to show file extensions in win7


  6. Ok clicking the mouse once at the file of "CaptainBravo" profile I see arma2profile at the bottom ..

    However, I can not find the lines that have server settings such as:

    skillFriendly=0.98500001;

    skillEnemy=0.99500001;

    precisionFriendly=0.5;

    precisionEnemy=0.20499997;

    I am sure I am missing something silly ,, but what??

    Thanks for all the help guys.


  7. Thanks Silola,

    DAC_Res_Side = 0 fixed the issue of them shooting each other.

    So I can learn: can I ask why you changed 0 to 2 [2,10,0,1]] I thought east was 0?

    The other observation I noticed is it seems soldiers in groups dissapear except for the squad leader. So I see all groups running on map but when I get near them there is only one unit?

    Thanks for a great addon by the way! :)


  8. EXCELLENT addon that is a must to have "smart" enemy AI.

    The only issue I am having lately is I have a mission with DAC and later some enemy is spawned (same side - EAST) but for some reason they start shooting at each other including units in own squad!

    Not sure why or how to fix? Any ideas/solutions?

    I have one DAC sone in mission:

    fun=["z1",[1,0,0],[10,3,50,20],[],[5,5,25,10],[],[0,10,0,1]] spawn DAC_Zone

    The last one the 10 os the custom config for units:

    case 10:

    {

    _Unit_Pool_S = [

    "TK_GUE_Soldier_TL_EP1","TK_GUE_Soldier_MG_EP","TK_GUE_Soldier_AT_EP1","TK_GUE_Soldier_EP1","TK_GUE_Soldier_EP1","TK_GUE_Soldier_2_EP1",

    "TK_GUE_Soldier_AR_EP1","TK_GUE_Soldier_AA_EP1","TK_GUE_Soldier_4_EP1","TK_GUE_Bonesetter_EP1","TK_GUE_Soldier_4_EP1"

    ];

    _Unit_Pool_V = [];

    _Unit_Pool_T = [ "BTR40_MG_TK_GUE_EP1"];

    _Unit_Pool_A = [];

    };

×