INCON Scripts for ALiVE - Intel + AI teammate persistence

  1. ‹ Older
  2. 7 years ago
    Edited 7 years ago by HeroesandvillainsOS

    @SpyderBlack723 The responses in that thread essentially mean: No

    Try putting this in the init line of a unit:
    0 = [this, face this] spawn {sleep 1; (_this select 0) setface (_this select 1)};

    Yeah seems that way. Thanks for the code. Unfortunately, sticking this in the init of a unit in a mission I'm working on (a LOP ANA unit) isn't working. I'm still The Great White Hope. lol. No biggie really but if you guys have any other ideas, I'm down for testing.

    I tried using R3vo's 3den Enhanced too because I vaguely remembered him adding some unit trait features, but unfortunately, although the unit is set to all the right stuff, I don't see any way to override the user profile.

  3. Deleted 7 years ago by HeroesandvillainsOS
  4. Deleted 7 years ago by HeroesandvillainsOS
  5. @SpyderBlack723 The responses in that thread essentially mean: No

    Try putting this in the init line of a unit:
    0 = [this, face this] spawn {sleep 1; (_this select 0) setface (_this select 1)};

    Yeah seems that way. Thanks for the code. Unfortunately, sticking this in the init of a unit in a mission I'm working on (a LOP ANA unit) isn't working. I'm still The Great White Hope. lol. No biggie really but if you guys have any other ideas, I'm down for testing.

    I tried for the hell of it using R3vo's 3den Enhanced too because I vaguely remembered him adding some unit trait features, but unfortunately, although the unit is set to all the right stuff, I don't see any way to override the user profile.

  6. Deleted 7 years ago by HeroesandvillainsOS
  7. Deleted 7 years ago by HeroesandvillainsOS
  8. So this is how we do our .sqf for each character. I honestly don't know what they make me look like in game as we play in 1st person and I don't really pay attention to the face.

    comment "Exported from Arsenal by Nichols";
    
    private ["_unit"];
    _unit = _this select 0;
    comment "Remove existing items";
    removeAllWeapons this;
    removeAllItems this;
    removeAllAssignedItems this;
    removeUniform this;
    removeVest this;
    removeBackpack this;
    removeHeadgear this;
    removeGoggles this;
    
    comment "Add containers";
    _unit forceAddUniform "U_BG_Guerilla3_1";
    for "_i" from 1 to 4 do {this addItemToUniform "ACE_fieldDressing";};
    for "_i" from 1 to 2 do {this addItemToUniform "ACE_elasticBandage";};
    _unit addItemToUniform "ACE_EarPlugs";
    for "_i" from 1 to 2 do {this addItemToUniform "ACE_tourniquet";};
    _unit addItemToUniform "ACE_MapTools";
    _unit addItemToUniform "ACE_Flashlight_XL50";
    _unit addItemToUniform "ACE_epinephrine";
    _unit addItemToUniform "ACE_morphine";
    _unit addItemToUniform "ACE_wirecutter";
    _unit addItemToUniform "RH_10Rnd_22LR_mk2";
    _unit addVest "V_Rangemaster_belt";
    _unit addItemToVest "ACE_SpraypaintRed";
    _unit addItemToVest "ACE_EarPlugs";
    for "_i" from 1 to 4 do {this addItemToVest "VME_QBZ95_1_30Rnd_DBP10";};
    for "_i" from 1 to 3 do {this addItemToVest "RH_10Rnd_22LR_mk2";};
    _unit addBackpack "B_AssaultPack_blk";
    _unit addItemToBackpack "ACE_IR_Strobe_Item";
    _unit addItemToBackpack "NVGoggles_INDEP"; 
    _unit addHeadgear "H_Booniehat_tan";
    _unit addGoggles "G_Aviator";
    
    comment "Add weapons";
    _unit addWeapon "vme_pla_qbz95B_1";
    _unit addPrimaryWeaponItem "VME_QBZ95_1_Silencer";
    _unit addPrimaryWeaponItem "VME_QBZ95_laser_IR_flashlight";
    _unit addPrimaryWeaponItem "VME_Eotech_557_Magnifier_DOWN";
    _unit addPrimaryWeaponItem "VME_rail_scopes";
    _unit addWeapon "RH_mk2";
    _unit addWeapon "Binocular";
    
    
    comment "Add items";
    _unit linkItem "ItemMap";
    _unit linkItem "ItemCompass";
    _unit linkItem "ItemWatch";
    _unit linkItem "tf_anprc148jem";
    _unit linkItem "ItemGPS";
    
    comment "Set identity";
    _unit setFace "TanoanHead_A3_03";
    _unit setSpeaker "Male02FRE";
  9. This is how we have it done for player characters. I am not sure if it works for faces as I never pay attention to the other players faces and we are all in 1st person.

    comment "Exported from Arsenal by Nichols";
    
    private ["_unit"];
    _unit = _this select 0;
    comment "Remove existing items";
    removeAllWeapons this;
    removeAllItems this;
    removeAllAssignedItems this;
    removeUniform this;
    removeVest this;
    removeBackpack this;
    removeHeadgear this;
    removeGoggles this;
    
    comment "Add containers";
    _unit forceAddUniform "U_BG_Guerilla3_1";
    for "_i" from 1 to 4 do {this addItemToUniform "ACE_fieldDressing";};
    for "_i" from 1 to 2 do {this addItemToUniform "ACE_elasticBandage";};
    _unit addItemToUniform "ACE_EarPlugs";
    for "_i" from 1 to 2 do {this addItemToUniform "ACE_tourniquet";};
    _unit addItemToUniform "ACE_MapTools";
    _unit addItemToUniform "ACE_Flashlight_XL50";
    _unit addItemToUniform "ACE_epinephrine";
    _unit addItemToUniform "ACE_morphine";
    _unit addItemToUniform "ACE_wirecutter";
    _unit addItemToUniform "RH_10Rnd_22LR_mk2";
    _unit addVest "V_Rangemaster_belt";
    _unit addItemToVest "ACE_SpraypaintRed";
    _unit addItemToVest "ACE_EarPlugs";
    for "_i" from 1 to 4 do {this addItemToVest "VME_QBZ95_1_30Rnd_DBP10";};
    for "_i" from 1 to 3 do {this addItemToVest "RH_10Rnd_22LR_mk2";};
    _unit addBackpack "B_AssaultPack_blk";
    _unit addItemToBackpack "ACE_IR_Strobe_Item";
    _unit addItemToBackpack "NVGoggles_INDEP"; 
    _unit addHeadgear "H_Booniehat_tan";
    _unit addGoggles "G_Aviator";
    
    comment "Add weapons";
    _unit addWeapon "vme_pla_qbz95B_1";
    _unit addPrimaryWeaponItem "VME_QBZ95_1_Silencer";
    _unit addPrimaryWeaponItem "VME_QBZ95_laser_IR_flashlight";
    _unit addPrimaryWeaponItem "VME_Eotech_557_Magnifier_DOWN";
    _unit addPrimaryWeaponItem "VME_rail_scopes";
    _unit addWeapon "RH_mk2";
    _unit addWeapon "Binocular";
    
    
    comment "Add items";
    _unit linkItem "ItemMap";
    _unit linkItem "ItemCompass";
    _unit linkItem "ItemWatch";
    _unit linkItem "tf_anprc148jem";
    _unit linkItem "ItemGPS";
    
    comment "Set identity";
    _unit setFace "TanoanHead_A3_03";
    _unit setSpeaker "Male02FRE";
  10. No idea how I managed to get it to change, but I suspect it might have just been altering my profile. At any rate, hats, scarfs, glasses all help hide your identity. Plus, if you get busted, they won't remember your face if you have something over it (you'll have to change your clothes too probably). If all else fails, there's a racism scalar in the options so you can turn it down or up or whatever.

  11. Deleted 7 years ago by Friznit
  12. Deleted 7 years ago by Friznit
  13. There's some weird shit going on...

  14. This would work. Even writing [this,"TanoanHead_A3_03"] remoteExec ["setFace",0] ; in the unit's init box should override your pasty white face (technically the code doesn't need to be remotely executed as per this snippet as the script runs the racial checks locally but it will help with your 'murhsin if you look the same to everyone on a multiplayer server).

  15. @incontinenetia Let me be one of the first to let you know that our group is loving this Incognito script. The mission we are coming up on has most of our player base working as a civilian based insurgency against an occupying Chinese invasion with support from a US SOCOM unit that is there to provide unconventional warfare support. So my IND (players) are able to go incognito while having support by the US SOCOM teams in the woods on overwatch.

    Anyway the short version is if you want to see how we have it done feel free to drop by at anytime.

  16. @incontinenetia Our guys are loving this incognito script. You are going to have to swing by our server and play with them while they are fighting against the Chinese PLA occupiers.

  17. @incontinenetia is the default time for cooldown 60 minutes?

    if ((isPlayer _unit) && {time < 60}) then {{_x setVariable ["INC_notDismissable",true]} forEach (units group _unit)};

    We are having an issue where players are not reverting to incognito after they put on enemy uniforms and put their whitelisted gear back on.

  18. Is anyone weirded out how this thread keeps getting bumped with new posts, but then there aren't any new posts? Spooky.

  19. I wasn't seeing my postings going up for the last couple of days; I wasn't sure what was happening.

  20. @incontinenetia

    Trying to use this script, but in the readme it's telling me to place the initUnits.sqf and init.sqf in the mission folder, but I'm not seeing either of those, are the instructions out of date?

  21. @HeroesandvillainsOS&nbsp;

    also yeah, I had to visit the page a second time to get my latest post to show up ...

 

or Sign Up to reply!