Absolution_15th 10 Posted February 9, 2011 I've been playing around with the HC functions and have found it to be extremely useful in creating scenarios. I can get a group of AI to load into an unoccupied "neutral" vehicle, I can get them to load into an occupied vehicle that is a part of their group but I am having trouble getting them to load into another group's vehicle. I have placed a waypoint down right on top of the target vehicle and set it to type "get in" and "load" and both result in the infantry running up to the vehicle and standing there. The vehicle happened to be a Ural with plenty of space inside so that is not the problem. My intent is to have one group be the infantry and the other group be just the truck. Ideally I want the group of infantry to get into the truck, have the truck drive them to the objective, let them out, and have the truck come back to base for more. What am I doing wrong? Share this post Link to post Share on other sites
mr_centipede 31 Posted February 9, 2011 I've been playing around with the HC functions and have found it to be extremely useful in creating scenarios. I can get a group of AI to load into an unoccupied "neutral" vehicle, I can get them to load into an occupied vehicle that is a part of their group but I am having trouble getting them to load into another group's vehicle.I have placed a waypoint down right on top of the target vehicle and set it to type "get in" and "load" and both result in the infantry running up to the vehicle and standing there. The vehicle happened to be a Ural with plenty of space inside so that is not the problem. My intent is to have one group be the infantry and the other group be just the truck. Ideally I want the group of infantry to get into the truck, have the truck drive them to the objective, let them out, and have the truck come back to base for more. What am I doing wrong? nothing. you just cant Share this post Link to post Share on other sites
jakerod 254 Posted February 9, 2011 Yeah. We've had long discussions about this before. You might be able to edit a mission in a certain way to make it work but you can't just order them in using only high command. Share this post Link to post Share on other sites
avibird 1 154 Posted February 9, 2011 nothing. you just cant Yes you can! Like I said in a different post the high command is not complete at this time but there is a way around it. This is how you can do that. You can use the teamswitch function to take over the group leaders of the other groups, then give them the orders you can't under the high command system then switch back to the overall Commander of all the groups to use the high command function. This works great for me. Share this post Link to post Share on other sites
tswords 10 Posted February 9, 2011 Well there is actually a way to do it without teamswitch. Radio triggers my friend!!! youre gunna need 2 radio triggers for each group you want. 1 to mount and 1 to dismount. Step 1: name each and every one of the soldiers in your groups. what i do to make it easy is just a11, a12, a13, and etc for my first squad, and a21, a22, a23 and etc for my 2nd squad. its a PITA but worth it. Step 2: name the vehicles you want them to mount up on. (ex. Stryker1, Stryker2, BTR1, BMP2, etc) Step 3: Create a trigger with a 0x0 Radius. set it to Radio Alpha (or whatever), repeatable, and in the onAct field put: a11 assignascargo btr1; a12 assignascargo btr1; a13 assignascargo btr1; and so forth for each member of that squad/group. this will be the mount up command for that group Step 4: Create another trigger, set it to Radio Bravo (or w/e), repeatable, and in the OnAct field put: unassignvehicle a11; unassignvehicle a12; unassignvehicle a13 and so forth for each member of that squad/group. this radio command will FORCE that squad/group to dismount their assigned track/truck Viola!!! you now have mechanized infantry with seperate control of your dismounted and mounted elements. the only stipulations are these: -IF once you give your Mount Up command the squad doesnt automatically mount up on their assignedvehicle, you migh have to give them a "LOAD" WP on the HC map, they will then move to that WP, then proceed to file into their assigned truck in the editor. -ONCE the infantry are mounted up in their vehicles and you want them to move, you have to give the MOVE WP to the MOUNTED ELEMENT, not the infantry. It works. I promise. ive used it in several different scenarios with several different infantry/vehicle types. any questions, let me know!!! Share this post Link to post Share on other sites
james mckenzie-smith 1 Posted February 9, 2011 It never rains, but it pours. I have been working on this for a while as well, and I was going to present my solution to you all, as well as another HC problem that I have solved; namely, slowing down the breakneck pace of operations. My solution for the issue is similar to tswords' elegant idea, but does not make use of a radio slot. Rather, it adds to the custom commands menu. I have created templates for one and all to use, and a sample (and enemy-free) scenario, whereby the player has access to the might of a US Armored battalion south of Zargabad. Sorry, it's OA only, but the templates should work in ArmA2. http://www.mediafire.com/?mnh7xtszbtmd4us Share this post Link to post Share on other sites
avibird 1 154 Posted February 10, 2011 Well there is actually a way to do it without teamswitch. Radio triggers my friend!!!youre gunna need 2 radio triggers for each group you want. 1 to mount and 1 to dismount. Step 1: name each and every one of the soldiers in your groups. what i do to make it easy is just a11, a12, a13, and etc for my first squad, and a21, a22, a23 and etc for my 2nd squad. its a PITA but worth it. Step 2: name the vehicles you want them to mount up on. (ex. Stryker1, Stryker2, BTR1, BMP2, etc) Step 3: Create a trigger with a 0x0 Radius. set it to Radio Alpha (or whatever), repeatable, and in the onAct field put: a11 assignascargo btr1; a12 assignascargo btr1; a13 assignascargo btr1; and so forth for each member of that squad/group. this will be the mount up command for that group Step 4: Create another trigger, set it to Radio Bravo (or w/e), repeatable, and in the OnAct field put: unassignvehicle a11; unassignvehicle a12; unassignvehicle a13 and so forth for each member of that squad/group. this radio command will FORCE that squad/group to dismount their assigned track/truck Viola!!! you now have mechanized infantry with seperate control of your dismounted and mounted elements. the only stipulations are these: -IF once you give your Mount Up command the squad doesnt automatically mount up on their assignedvehicle, you migh have to give them a "LOAD" WP on the HC map, they will then move to that WP, then proceed to file into their assigned truck in the editor. -ONCE the infantry are mounted up in their vehicles and you want them to move, you have to give the MOVE WP to the MOUNTED ELEMENT, not the infantry. It works. I promise. ive used it in several different scenarios with several different infantry/vehicle types. any questions, let me know!!! All that to get them to mount. Just teamswitch one key hit select all two key hits and mount three key hits back to main commander. less them 15 seconds. My point was that you have better control and more choices when you use the TS fucntion with the high command fucntion. The high command system is incomplete at this time it's great but it is limited in combat Share this post Link to post Share on other sites
tswords 10 Posted February 10, 2011 (edited) granted i have entirely too much free time, i went through all that to try and preserve the realism of being one soldier among many. really all you have to do is do it once, and save it as a template. the only true flaw i see with my method is its bulk in taking up radio trigger slots. EDIT: the above method i used was the original, to make it simpler (and less painstaking), you can just name the group leaders and put this in the onact field of your triggers: MOUNT: {_x assignascargo btr1} foreach units group a11 DISMOUNT: not too sure, but you might be able to {unassignvehicle _x} foreach units group a11 Edited February 10, 2011 by tswords Share this post Link to post Share on other sites
james mckenzie-smith 1 Posted February 10, 2011 All that to get them to mount. Just teamswitch one key hit select all two key hits and mount three key hits back to main commander. less them 15 seconds.My point was that you have better control and more choices when you use the TS fucntion with the high command fucntion. The high command system is incomplete at this time it's great but it is limited in combat The limitation for your method is that, once you team switch out of your subordinate, you lose control over him for the remainder of the scenario. Get him to unload from the vehicle, and then try using HC to move him again, and he'll just stand there. That's not your fault; that's a BIS thing. Additionally, your chosen method has to be done a squad at a time. It's alright if you only have a couple of subordinate squads, but for something as large as a battalion, it would take several fairly tedious minutes. Share this post Link to post Share on other sites
Absolution_15th 10 Posted February 11, 2011 Well there is actually a way to do it without teamswitch. Radio triggers my friend!!!youre gunna need 2 radio triggers for each group you want. 1 to mount and 1 to dismount. Step 1: name each and every one of the soldiers in your groups. what i do to make it easy is just a11, a12, a13, and etc for my first squad, and a21, a22, a23 and etc for my 2nd squad. its a PITA but worth it. Step 2: name the vehicles you want them to mount up on. (ex. Stryker1, Stryker2, BTR1, BMP2, etc) Step 3: Create a trigger with a 0x0 Radius. set it to Radio Alpha (or whatever), repeatable, and in the onAct field put: a11 assignascargo btr1; a12 assignascargo btr1; a13 assignascargo btr1; and so forth for each member of that squad/group. this will be the mount up command for that group Step 4: Create another trigger, set it to Radio Bravo (or w/e), repeatable, and in the OnAct field put: unassignvehicle a11; unassignvehicle a12; unassignvehicle a13 and so forth for each member of that squad/group. this radio command will FORCE that squad/group to dismount their assigned track/truck Viola!!! you now have mechanized infantry with seperate control of your dismounted and mounted elements. the only stipulations are these: -IF once you give your Mount Up command the squad doesnt automatically mount up on their assignedvehicle, you migh have to give them a "LOAD" WP on the HC map, they will then move to that WP, then proceed to file into their assigned truck in the editor. -ONCE the infantry are mounted up in their vehicles and you want them to move, you have to give the MOVE WP to the MOUNTED ELEMENT, not the infantry. It works. I promise. ive used it in several different scenarios with several different infantry/vehicle types. any questions, let me know!!! I gave this a shot using addactions and triggers and it almost worked. I can get the infantry to load into the vehicle (a Hip in this case) but I could not get the Hip to move OR the infantry to dismount again. Any ideas? Share this post Link to post Share on other sites
tswords 10 Posted February 11, 2011 addactions??? hmm...i never used this setup in that context. could you be more specific?? Share this post Link to post Share on other sites
Absolution_15th 10 Posted February 12, 2011 I create two separate SQF files. One that executes your assignvehicle command and one that executes the unassign (syntax is the same). I then build a trigger in game with the on activation "player addaction ["mount", "mount.sqf"]". This way a player who walks into the trigger area will have an option in their scroll menu to execute the mount script. I've never gotten the radio commands to work and this way I can set up the trigger to only be executed by certain players (replace "player" with the name of the player you want to get the action). It's far from a perfect solution but this set up works for my purposes. Problem is, of course, the unassign script doesn't seem to want to work and the Hip won't move when the group is loaded. Share this post Link to post Share on other sites
james mckenzie-smith 1 Posted February 12, 2011 (edited) For a radio call that causes units to get in and out of vehicles, put this into each passenger unit's init line: this assignasCargo vehiclename; Then, make radio triggers with this in the on act:... [unit1, unit2] orderGetin true ...assuming that the passenger unit's names are unit1 and unit2. To make the units dismount, make another trigger with the following: [unit1, unit2] orderGetin false This will work 100% of the time, if done correctly. If you do not want to use up radio triggers, then use the instructions in the file for which I posted a link earlier in the thread. Edited February 12, 2011 by James McKenzie-Smith Share this post Link to post Share on other sites
tswords 10 Posted February 12, 2011 not a bad suggestion! ill be sure to try this out. i was fanatical about my radio triggers but now looks like i got somethin new to try out! And in response, i hate to sound like i cant help but, really im not even close to the most knowledgable person when it comes to scripting, hence my overuse of the radio triggers lol. so im very sorry but i dont believe i can help you with the SQF, as the only experience i have with scripting is copy and paste lol :( Share this post Link to post Share on other sites