Jump to content

KilEKarl

Member
  • Content Count

    10
  • Joined

  • Last visited

  • Medals

Posts posted by KilEKarl


  1. Maybe the stand up move?

    May use this one: AdthPercMstpSnonWnonDnon_3 dies, falling forward

    and then: AinjPpneMstpSnonWrflDnon_rolltoback

    (I would use here sleep 3.5; to make it look like one animation)

    at least: AidlPpneMstpSnonWnonDnon_SleepA_standUp - Standing up from lying on back

    Neither works, Even putting sleep 3.5; in the middle wont work.

    It's like it refuses to allow Stand up action and or anything else to work ?


  2. From glancing over it atleast 85% of that code is just unnecessary and/or unusable without contexts. It's also for a DayZ-like game mode (or even for DayZ itself). If you want to use it for DayZ head over to their forums.

    Otherwise, use something like this:

    _cnt = createCenter EAST;
    _grp = createGroup EAST;
    _unit = _grp createUnit ["RU_Soldier",getmarkerpos "somewhere",[],0,"NONE"];
    

    This will create an OPFOR unit at a marker called "somewhere" (change this to an appropriate marker name, or if you want him to spawn at a position, use getpos). If the player is a BLUFOR unit he'll be attacked once the spawned unit has eyes on him.

    How would I spawn him few metres away from me ?

    I changed ..

    _unit = _grp createUnit ["RU_Soldier", getpos player,[],0,"NONE"];

    But he spawn's right next to me..


  3. From glancing over it atleast 85% of that code is just unnecessary and/or unusable without contexts. It's also for a DayZ-like game mode (or even for DayZ itself). If you want to use it for DayZ head over to their forums.

    Otherwise, use something like this:

    _cnt = createCenter EAST;
    _grp = createGroup EAST;
    _unit = _grp createUnit ["RU_Soldier",getmarkerpos "somewhere",[],0,"NONE"];
    

    This will create an OPFOR unit at a marker called "somewhere" (change this to an appropriate marker name, or if you want him to spawn at a position, use getpos). If the player is a BLUFOR unit he'll be attacked once the spawned unit has eyes on him.

    I'm not using it for DayZ,

    that "} forEach allMissionObjects "zZombie_Base";" - Only works for Dynamic Zombie Sandbox mission.

    I'm using it for my own missions that me and a few mates play, like team deathmatch or just those small type missions, but thanks I will try it out (:


  4. There's a script that I found, that spawn's a friendly AI, But I want the AI to be an enemy who will shoot me on sight, Can someone please have a look and change it so the AI will attack me? I've looked around on the web for some help but can't get it to work..

    TitleText [format["AI Player spawned"], "PLAIN DOWN"];

    private["_spawnAIS", "_plrGroup"];

    CIVILIAN setFriend [WEST,0];

    WEST setFriend [CIVILIAN,0];

    player addRating 50000;

    _plrGroup = (group player);

    _plrGroup allowFleeing 0;

    _plrGroup setFormation "LINE";

    "SurvivorW2_DZ" createUnit [[(getpos player select 0), (getpos player select 1), 50], _plrGroup, "_spawnAIS = this;"];

    _spawnAIS enableAI "TARGET";

    _spawnAIS enableAI "AUTOTARGET";

    _spawnAIS enableAI "MOVE";

    _spawnAIS enableAI "ANIM";

    _spawnAIS enableAI "FSM";

    _spawnAIS allowDammage true;

    _spawnAIS setCombatMode "RED";

    _spawnAIS setBehaviour "COMBAT";

    _spawnAIS addweapon "G36_C_SD_camo";

    _spawnAIS addMagazine "30Rnd_556x45_StanagSD";

    _spawnAIS addMagazine "30Rnd_556x45_StanagSD";

    _spawnAIS addMagazine "30Rnd_556x45_StanagSD";

    _spawnAIS addMagazine "30Rnd_556x45_StanagSD";

    _spawnAIS addMagazine "30Rnd_556x45_StanagSD";

    _spawnAIS addMagazine "30Rnd_556x45_StanagSD";

    _spawnAIS addMagazine "30Rnd_556x45_StanagSD";

    _spawnAIS selectWeapon "G36_C_SD_camo";

    _spawnAIS setSkill ["aimingAccuracy",1];

    _spawnAIS setSkill ["aimingShake",1];

    _spawnAIS setSkill ["aimingSpeed",1];

    _spawnAIS setSkill ["endurance",1];

    _spawnAIS setSkill ["spotDistance",1];

    _spawnAIS setSkill ["spotTime",1];

    _spawnAIS setSkill ["courage",1];

    _spawnAIS setSkill ["reloadSpeed",1];

    _spawnAIS setSkill ["commanding",1];

    _spawnAIS setSkill ["general",1];

    [_spawnAIS] join _plrGroup;

    _spawnAIS addEventHandler ["Fired", {_this call player_fired;}];

    while {alive _spawnAIS} do

    {

    {

    _x addRating -200000;

    } forEach allMissionObjects "zZombie_Base";

    sleep 0.1;

    };


  5. ##################################################################################################

    ##############################SOLVED###############################################################

    ##############################SOLVED###############################################################

    ##################################################################################################

    ##################################################################################################

    Fixed it somehow by deleting "Regedit\HKEY_LOCAL_MACHINE\SOFTWARE\Bohemia Interactive Studio\Arma 2 OA\*RED*KEY (Value)

    -Delete this post, if you think it should be

    Every time I launched Arma 2 OA via steam, or manually or launch Arma 2 manually (With administrator or not) it starts the game, goes to the Bohemia Interactive and than closes and says "Bad Serial in Setup"

    I have tried

    #Re-downloading Arma 2 OA (3 times)

    #Restarting Laptop (4 times)

    #Running steam as administrator

    #Running Arma 2 OA.exe as administrator

    #VERIFY INTEGRITY OF GAME CACHE..." -> Which eventually said "One unresolved issue, need resolving"

    #Running *_runA2CO_beta* as administrator and not administrator.

    #Running *_runA2CO* as administrator and not administrator.

    #Googled what to do, and followed the steps that were said, still no result

    #Deleted all files in "Regedit\HKEY_LOCAL_MACHINE\SOFTWARE\Bohemia Interactive

    #Could not rename nor delete any all files in "Regedit\HKEY_LOCAL_MACHINE\SOFTWARE\Bohemia Interactive Studio\Arma 2 OA

    (Error while deleting key)

    #Removing every Arma 2 OA files and folders, Buying a new Arma 2 OA on steam, same problem.

    #"Regedit\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node" Only has "BIStudio/Google/Microsoft" as its folders

    BIStudio Folder only has *Name = AB symbol thing*(Defualt) Type = REG_SZ, Data = (value not set)

    #Beta Patch says "Wrong CD Key"

    Please help :(

    (Arma 2 Free works fine)

×