Jump to content

Blitzen88

Member
  • Content Count

    244
  • Joined

  • Last visited

  • Medals

Everything posted by Blitzen88

  1. Whew, that eliminates some headaches. Why does the deleteGroupWhenEmpty command exist if groups are auto deleted?
  2. Blitzen88

    RHS Escalation (AFRF and USAF)

    RHS units will properly grip RHS weapons which have grips (vert grips, afgs) whenever the mission loads. Vanilla units, however, will not adjust their grip whenever the mission loads. I'm assuming that RHS units are calling some sort of event handler/script to adjust their grip for the RHS grip system. Can someone tell me how to call that script for vanilla units? EDIT Figured it out - here is how you can fix the weapon grip for vanilla units: [this, (primaryWeaponItems this) select 3] call rhs_fnc_accGripod_change
  3. Is there a way to get the classname of all the units placed on a map (in particular vehicle crew members) via some sort of script? I am aware of the typeof and getdescription commands but I dont know how to convert the return into something that is copied to the clipboard, etc. Im trying to pull the classnames of a large amount of crew members and I thought there had to be a more efficient approach than going one-by-one.
  4. I will try these out. Edit: Will this return classnames for vehicles?
  5. I dont know what Im doing wrong. I put the code into a script, executed it via a radio trigger, opened notepad, tried to paste and nothing happened.
  6. I dont get what you linked? I will try to keep looking at it. I have improved by scripting knowledge but Im still a beginner.
  7. Blitzen88

    RHS Escalation (AFRF and USAF)

    Is there a difference then between adding a weapon with a “baked in” vert grip as opposed to adding a grip via addprimaryweaponitem? even if that fixes the issue, I would still like a fix because sometimes I give AI “customized” guns.
  8. Blitzen88

    RHS Escalation (AFRF and USAF)

    I know this has probably been asked a lot but is there a way to fix the AI’s weapon handling animation when they are given a weapon with a vertical grip via a script? They often times do not switch their grip but instead clip through the vert grip. Is there an easy fix for that?
  9. Is there a TypeOf command for groups? I.e. can you figure out if Group X, as defined in CfgGroups, has spawned and or is the group in question for a script? I.e. if the group's "type" is a "Blufor_HMG_Gunner" (just an example group name) then do X. Any command like that? Thanks
  10. Blitzen88

    "TypeOf" Command for Groups

    Any idea why the Spawn module spawns two extra crew members when it spawns an RHS tank?
  11. Blitzen88

    "TypeOf" Command for Groups

    Sorry, Im on my phone so the ability to post stuff is somewhat limited. So, you think if I converted the file to a mod the group syntax (noted above) would work?
  12. Blitzen88

    "TypeOf" Command for Groups

    Im trying to use this as a roundabout way to fix issues with spawning RHS via the SpawnAI Module. Would there be a way to select the group via the SpawnAI Module’s selection?
  13. Blitzen88

    "TypeOf" Command for Groups

    Would that work for groups that are defined in the description.ext file? EDIT: I tried it in the editor and it didnt seem to work with groups defined in the description.ext file.
  14. Basically, I want to replace some of the vanilla vehicles (specifically the tanks) with RHS variants. Is there a lot to do for that? Can the config just make the unit inherit from the pre-defined/created RHS vehicle? Thanks for any help
  15. I've gone through the process of adding RHS units to the Spawn AI Module by defining custom groups in the Description.ext file. My problem is the Spawn AI module will spawn certain vehicles (in particular RHS tanks and IFVs) with additional crew members that are NOT mounted in the vehicle. For example, the RHS Abrams group listed below spawns the Abrams tank and two extra dismounted crewmembers. Is there any way to fix this (other than scripts) or is it an unsolvable problem with the Spawn AI Module and RHS? Maybe @Larrow might know? I feel like Im doing everything right but there is not an explanation. Description.Ext: /*=========================================================================================== Arma III Description.Ext ===========================================================================================*/ //----------------------------------------------------- // I) Cfg Groups //----------------------------------------------------- class cfgGroups { class West { #include "RHS_Blufor_Army_W.hpp" }; class East { #include "RHS_Opfor_Msv_W.hpp" }; }; //----------------------------------------------------- // II) Mission Specific Settings //----------------------------------------------------- //None for this Mission //----------------------------------------------------- // II) Corpse/Wreck Manager //----------------------------------------------------- MinPlayerDistance = 50; // A) Corpse Manager //--------------------------- CorpseManagerMode = 1; CorpseLimit = 15; CorpseRemovalMinTime = 10; CorpseRemovalMaxTime = 3600; // B) Wreck Manager //--------------------------- WreckManagerMode = 1; WreckLimit = 15; WreckRemovalMinTime = 10; WreckRemovalMaxTime = 3600; RHS_Blufor_Army_W.hpp: /*========================================================================================== Arma III - RHS Groups - Blufor Army (Woodland) Created by Blitzen =========================================================================================== * CFG Group Side ("class west") - One of East, West, or Indep for SpawnAI Module to recognise it. - Capitalisation does not matter * CFG Custom Group Faction ("class mycustomFaction") - Name for the custom faction * CFG Groups Group Categories ("class Infantry, Motorized, Mechanized, Armored) - SpawnAI Module looks for these classes * CFG Groups Group Name ("class myCustomInfGroup") - Group name used by the SpawnAI Module; name is used for blacklisting * Icons - Inf = "\A3\ui_f\data\map\markers\nato\b_inf.paa" - Motorized = "\A3\ui_f\data\map\markers\nato\b_motor_inf.paa" - Mechanized = "\A3\ui_f\data\map\markers\nato\b_mech_inf.paa" - Armor = "\A3\ui_f\data\map\markers\nato\b_armor_inf.paa" * Unit creation structure: class unit0 { vehicle = "rhsusf_army_ocp_squadleader"; Class name of unit/vehicle side = 1; Index of unit side - [ east (0), west (1), independent (2), civilian ] rank = "SERGEANT"; Rank name from CfgRanks position[] = { 0, 0, 0 }; Offset position unit spawns from spawn point }; ===========================================================================================*/ class RHS_Blufor_Army_W { //----------------------------------------------------- // I) Infantry //----------------------------------------------------- class Infantry { class RHS_Blufor_Army_RifleSquad_W { Name = "Army Rifle Squad (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_inf.paa"; class unit0 { vehicle = "rhsusf_army_ocp_squadleader"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; class unit1 { vehicle = "rhsusf_army_ocp_teamleader"; side = 1; rank = "CORPORAL"; position[] = { 5, -5, 0 }; }; class unit2 { vehicle = "rhsusf_army_ocp_grenadier"; side = 1; rank = "PRIVATE"; position[] = { -5, -5, 0 }; }; class unit3 { vehicle = "rhsusf_army_ocp_maaws"; side = 1; rank = "PRIVATE"; position[] = { 10, -10, 0 }; }; class unit4 { vehicle = "rhsusf_army_ocp_autorifleman"; side = 1; rank = "PRIVATE"; position[] = { -10, -10, 0 }; }; class unit5 { vehicle = "rhsusf_army_ocp_medic"; side = 1; rank = "PRIVATE"; position[] = { 15, -15, 0 }; }; class unit6 { vehicle = "rhsusf_army_ocp_riflemanat"; side = 1; rank = "PRIVATE"; position[] = { -15, -15, 0 }; }; class unit7 { vehicle = "rhsusf_army_ocp_rifleman"; side = 1; rank = "PRIVATE"; position[] = { 20, -20, 0 }; }; }; class RHS_Blufor_Army_WeaponsSquad_W { Name = "Army Weapon Squad (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_inf.paa"; class unit0 { vehicle = "rhsusf_army_ocp_squadleader"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; class unit1 { vehicle = "rhsusf_army_ocp_teamleader"; side = 1; rank = "CORPORAL"; position[] = { 5, -5, 0 }; }; class unit2 { vehicle = "rhsusf_army_ocp_grenadier"; side = 1; rank = "PRIVATE"; position[] = { -5, -5, 0 }; }; class unit3 { vehicle = "rhsusf_army_ocp_maaws"; side = 1; rank = "PRIVATE"; position[] = { 10, -10, 0 }; }; class unit4 { vehicle = "rhsusf_army_ocp_machinegunner"; side = 1; rank = "PRIVATE"; position[] = { -10, -10, 0 }; }; class unit5 { vehicle = "rhsusf_army_ocp_medic"; side = 1; rank = "PRIVATE"; position[] = { 15, -15, 0 }; }; class unit6 { vehicle = "rhsusf_army_ocp_machinegunnera"; side = 1; rank = "PRIVATE"; position[] = { -15, -15, 0 }; }; class unit7 { vehicle = "rhsusf_army_ocp_riflemanat"; side = 1; rank = "PRIVATE"; position[] = { 20, -20, 0 }; }; }; }; //----------------------------------------------------- // II) Motorized //----------------------------------------------------- class Motorized { class RHS_Blufor_Army_Hummer_M2_W { Name = "Hummer M2 (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_motor_inf.paa"; class unit0 { vehicle = "rhsusf_m1151_m2crows_usarmy_wd"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; }; class RHS_Blufor_Army_Hummer_Mk19_W { Name = "Hummer Mk19 (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_motor_inf.paa"; class unit0 { vehicle = "rhsusf_m1151_mk19crows_usarmy_wd"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; }; class RHS_Blufor_Army_Hummer_TOW_W { Name = "Hummer TOW (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_motor_inf.paa"; class unit0 { vehicle = "rhsusf_m966_w"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; }; class RHS_Blufor_Army_Stryker_M2_W { Name = "Stryker M2 (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_motor_inf.paa"; class unit0 { vehicle = "rhsusf_stryker_m1126_m2_wd"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; }; class RHS_Blufor_Army_Stryker_Mk19_W { Name = "Stryker Mk19 (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_motor_inf.paa"; class unit0 { vehicle = "rhsusf_stryker_m1126_mk19_wd"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; }; class RHS_Blufor_Army_Stryker_M2_Squad_W { Name = "Stryker M2 Squad (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_inf.paa"; class unit0 { vehicle = "rhsusf_stryker_m1126_m2_wd"; side = 1; rank = "CORPORAL"; position[] = { 0, 0, 0 }; }; class unit1 { vehicle = "rhsusf_army_ocp_squadleader"; side = 1; rank = "CORPORAL"; position[] = { 5, -5, 0 }; }; class unit2 { vehicle = "rhsusf_army_ocp_teamleader"; side = 1; rank = "CORPORAL"; position[] = { -5, -5, 0 }; }; class unit3 { vehicle = "rhsusf_army_ocp_grenadier"; side = 1; rank = "PRIVATE"; position[] = { 10, -10, 0 }; }; class unit4 { vehicle = "rhsusf_army_ocp_maaws"; side = 1; rank = "PRIVATE"; position[] = { -10, -10, 0 }; }; class unit5 { vehicle = "rhsusf_army_ocp_autorifleman"; side = 1; rank = "PRIVATE"; position[] = { 15, -15, 0 }; }; class unit6 { vehicle = "rhsusf_army_ocp_medic"; side = 1; rank = "PRIVATE"; position[] = { -15, -15, 0 }; }; class unit7 { vehicle = "rhsusf_army_ocp_riflemanat"; side = 1; rank = "PRIVATE"; position[] = { 20, -20, 0 }; }; class unit8 { vehicle = "rhsusf_army_ocp_rifleman"; side = 1; rank = "PRIVATE"; position[] = { -20, -20, 0 }; }; }; class RHS_Blufor_Army_Stryker_Mk19_Squad_W { Name = "Stryker M2 Squad (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_inf.paa"; class unit0 { vehicle = "rhsusf_stryker_m1126_mk19_wd"; side = 1; rank = "CORPORAL"; position[] = { 0, 0, 0 }; }; class unit1 { vehicle = "rhsusf_army_ocp_squadleader"; side = 1; rank = "CORPORAL"; position[] = { 5, -5, 0 }; }; class unit2 { vehicle = "rhsusf_army_ocp_teamleader"; side = 1; rank = "CORPORAL"; position[] = { -5, -5, 0 }; }; class unit3 { vehicle = "rhsusf_army_ocp_grenadier"; side = 1; rank = "PRIVATE"; position[] = { 10, -10, 0 }; }; class unit4 { vehicle = "rhsusf_army_ocp_maaws"; side = 1; rank = "PRIVATE"; position[] = { -10, -10, 0 }; }; class unit5 { vehicle = "rhsusf_army_ocp_autorifleman"; side = 1; rank = "PRIVATE"; position[] = { 15, -15, 0 }; }; class unit6 { vehicle = "rhsusf_army_ocp_medic"; side = 1; rank = "PRIVATE"; position[] = { -15, -15, 0 }; }; class unit7 { vehicle = "rhsusf_army_ocp_riflemanat"; side = 1; rank = "PRIVATE"; position[] = { 20, -20, 0 }; }; class unit8 { vehicle = "rhsusf_army_ocp_rifleman"; side = 1; rank = "PRIVATE"; position[] = { -20, -20, 0 }; }; }; }; //----------------------------------------------------- // III) Mechanized //----------------------------------------------------- class Mechanized { class RHS_Blufor_Army_Bradley_W { Name = "Bradley (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_mech_inf.paa"; class unit0 { vehicle = "RHS_M2A3_BUSKIII_wd"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; }; class RHS_Blufor_Army_Bradley_Squad_W { Name = "Bradley Squad (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_mech_inf.paa"; class unit0 { vehicle = "RHS_M2A3_BUSKIII_wd"; side = 1; rank = "CORPORAL"; position[] = { 0, 0, 0 }; }; class unit1 { vehicle = "rhsusf_army_ocp_squadleader"; side = 1; rank = "CORPORAL"; position[] = { 5, -5, 0 }; }; class unit2 { vehicle = "rhsusf_army_ocp_teamleader"; side = 1; rank = "CORPORAL"; position[] = { -5, -5, 0 }; }; class unit3 { vehicle = "rhsusf_army_ocp_grenadier"; side = 1; rank = "PRIVATE"; position[] = { 10, -10, 0 }; }; class unit4 { vehicle = "rhsusf_army_ocp_maaws"; side = 1; rank = "PRIVATE"; position[] = { -10, -10, 0 }; }; class unit5 { vehicle = "rhsusf_army_ocp_autorifleman"; side = 1; rank = "PRIVATE"; position[] = { 15, -15, 0 }; }; class unit6 { vehicle = "rhsusf_army_ocp_medic"; side = 1; rank = "PRIVATE"; position[] = { -15, -15, 0 }; }; }; }; //----------------------------------------------------- // IV) Armored //----------------------------------------------------- class Armored { class RHS_Blufor_Army_Abrams_W { Name = "Abrams (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_armor_inf.paa"; class unit0 { vehicle = "rhsusf_m1a2sep1tuskiiwd_usarmy"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; }; }; }; //End Custom Faction
  16. Changed the "RHS_Blufor_Army_Abrams" group to spawn a standard M2A1 Slammer (vanilla) tank....it spawned with no issues. I guess that means the issue is isolated to RHS. No clue what the problem is.
  17. Blitzen88

    RHS Escalation (AFRF and USAF)

    Yep, looking for scripting command - moveingunner, etc.
  18. Blitzen88

    RHS Escalation (AFRF and USAF)

    What vehicle position does the loader go into for the Abrams?
  19. Im having a hard time implementing RHS units into the SpawnAI Module. Im using this post as a guide but its still not working. Here is my group.cfg: Im getting a side “west” and faction name not compatible…?
  20. Any idea why this: class Armored { class RHS_Blufor_Army_Abrams_W { Name = "Abrams (W)"; Icon = "\A3\ui_f\data\map\markers\nato\b_armor_inf.paa"; class unit0 { vehicle = "rhsusf_m1a2sep1tuskiiwd_usarmy"; side = 1; rank = "SERGEANT"; position[] = { 0, 0, 0 }; }; }; }; Spawns an Abrams tank plus two dismounted crew members (total group size of 6)?
  21. I figured it out although I have no idea (at the moment) as to why. Here is my entire Description.ext file: /*=========================================================================================== Arma III Description.Ext ===========================================================================================*/ #include "RHS_Blufor_Army_W.hpp" //----------------------------------------------------- // I) CfgFunctions //----------------------------------------------------- class CfgFunctions { #include "gaia\cfgFunctions.hpp" #include "jebus\cfgFunctions.hpp" } //----------------------------------------------------- // II) Corpse/Wreck Manager //----------------------------------------------------- MinPlayerDistance = 50; // A) Corpse Manager //--------------------------- CorpseManagerMode = 1; CorpseLimit = 15; CorpseRemovalMinTime = 10; CorpseRemovalMaxTime = 3600; // B) Wreck Manager //--------------------------- WreckManagerMode = 1; WreckLimit = 8; WreckRemovalMinTime = 10; WreckRemovalMaxTime = 3600; For whatever reason, putting the CfgGroups snippet at the bottom of the file was causing an error message (side and faction not compatible). I tried a blank Description.ext with just the CfgGroups snippet and it worked. Placed the CfgGroups snippet at the top of the Description.ext (#include "RHS_Blufor_Army_W.hpp") and it works fine now. I guess CfgGroups needs to exec before CfgFunctions??
  22. Okay, I literally just copy and pasted the cfg groups and the module init lines and it didnt work. FML
  23. Weirs that it works for you and not me. What did you have to fix?
  24. Blitzen88

    RHS Escalation (AFRF and USAF)

    Anyone have unit, vehicle, and weapon documentation/names? The documentation page on the RHS website doesnt seem to load…?
×