The Loot Posted May 15, 2014 Report Share Posted May 15, 2014 Since there's a limit of around a dozen or so commands under the "equipment" menu, you can't give your people a bunch of different vehicle call commands. Now you can! Follow the readme at the top of this script, and you'll be able to assign almost twice the amount of commands (sold separately, of course). READMEStep 1: Find the line "SetGroupID(CGROUP_GETEQUIPMENT);" in all vehicle call scripts, and comment it out with "//".Step 2: Make a copy of all person prototypes you want to set up for this script, adding something like "_radio" to the filename.Step 3: In the editor, rename the new prototypes to "PERSON NAME Radio", remove all commands from them, and set the default animation to "talkmike".Step 4: Add the command "PcmdRadioEnd" to them, followed by all desired call commands.Step 5: Add the command "PcmdRadio" to the normal person prototypes, and remove all call commands from them.Step 6: Define your constants; Most LA mod personnel given as examples below. May need to define radio model, too.Step 7: (Optional) Create (or "borrow with permission") "radio" icons and place in command icon folder.Step 8: To get an audio file to play when using the new person, you'll also have to modify the call script prototype check. Either adjust the filepath of the existing constant, or add a new constant, in case the non-radio person is used elsewhere in the script.Step 9: Enjoy the ability to have around 20 call commands on a person, along with any equipment commands you wish.Radio.zip Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted May 15, 2014 Report Share Posted May 15, 2014 That's great! Thank you for releasing this Quote Link to comment Share on other sites More sharing options...
Wkboy714 Posted May 15, 2014 Report Share Posted May 15, 2014 Thankyou, this is really handy for mod makers. Quote Link to comment Share on other sites More sharing options...
rafaelmfernandez Posted May 15, 2014 Report Share Posted May 15, 2014 Awesome thanks! Will try to put it to use in the Brooklyn Mod! Quote Link to comment Share on other sites More sharing options...
Hoppah Posted May 15, 2014 Report Share Posted May 15, 2014 Nice. I like the icon too. Quote Link to comment Share on other sites More sharing options...
Quincy Posted May 16, 2014 Report Share Posted May 16, 2014 Thanks this script will work perfectly with that command post script I made a little while back. Quote Link to comment Share on other sites More sharing options...
The Loot Posted May 16, 2014 Author Report Share Posted May 16, 2014 Nice. I like the icon too.Well, since I grabbed it from the US Army mod, I hope so. (Not included here, of course). Quote Link to comment Share on other sites More sharing options...
Hoppah Posted May 17, 2014 Report Share Posted May 17, 2014 Well, since I grabbed it from the US Army mod, I hope so. (Not included here, of course). Correct, I've seen the icon show up in a couple of (sub)mods now. People seem to like it. Quote Link to comment Share on other sites More sharing options...
cops Posted May 17, 2014 Report Share Posted May 17, 2014 of course they will like it! it's an amazing icon! really good job on it! Quote Link to comment Share on other sites More sharing options...
The Loot Posted May 18, 2014 Author Report Share Posted May 18, 2014 Correct, I've seen the icon show up in a couple of (sub)mods now. People seem to like it. It fits perfectly with the style of other icons, so it's easy to see why. Speaking of icons, looking at my screenshot reminds me that I have to edit a few of my call command icons, namely changing the repeat USAR to a crane, removing the numbers from the engine and ladder, and adding those arrows. Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted May 25, 2014 Report Share Posted May 25, 2014 Going to look in to this. Might come in handy! Quote Link to comment Share on other sites More sharing options...
BeastyBill88 Posted May 28, 2014 Report Share Posted May 28, 2014 Very nice, I think I will have a tinker round with it and see how it works. Thanks Quote Link to comment Share on other sites More sharing options...
The Loot Posted May 31, 2014 Author Report Share Posted May 31, 2014 Forgot one edit you'll have to do to the call scripts. The Prototype check for the audio file will have to be changed to the new "radio" version of the person. Either change the filepath at the constant, or add a new constant in case the non-radio person is used elsewhere in the script (like spawning passengers in vehicles). Readme in script is updated. Quote Link to comment Share on other sites More sharing options...
The Loot Posted June 12, 2014 Author Report Share Posted June 12, 2014 Updated again. Before, the only way to deactivate the radio mode was to right click on the ground. Now clicking the radio icon can also deactivate it. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2014 Report Share Posted June 16, 2014 Sorry to bother you but ive downloaded the script but I cant see the readme? Quote Link to comment Share on other sites More sharing options...
novius Posted June 16, 2014 Report Share Posted June 16, 2014 I believe he said the readme is just the instructions at the top of the script. I've been playing with the script, very nice work. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2014 Report Share Posted June 16, 2014 I cant see it on mine :/ Quote Link to comment Share on other sites More sharing options...
The Loot Posted June 16, 2014 Author Report Share Posted June 16, 2014 Weird,. It's commented out with double slashes, so maybe your program won't display it? I'll add it to the first post. Quote Link to comment Share on other sites More sharing options...