Posted by: itsyourfav - Monday, March 12, 2018 6:32:58 PM
Hello! I'm working on my first map and I am really close to finishing it. I have a victory scene where a large amount of rebels invade a Chinese base (Using the GLA's Ambush Ability), and I was wondering whether or not there was a way to make all of them cheer. I know in-game you can use Control-C, but I wanted them to cheer while the user input is disabled. Is there a way to simulate hotkey commands, or is there a script function I am just not able to find? Anyway, any help would be appreciated. Thanks! [grin]

Posted by: i^love^mixery - Tuesday, March 13, 2018 8:37:31 AM
There is no way to emulate hotkey commands. There also is no script to make units cheer. There possibly is a way to do this with an .ini file. In the orignal maps, EA used special cheering version of the units (some of the CINE_ stuff) to make cheering groups

Posted by: SkyMix_RMT - Tuesday, March 13, 2018 11:30:22 AM
Using a map.ini, you could edit the CINE_ rebels and scale them to 1, (since they are scaled to 0.8 by default) then in the victory scene spawn a bunch of these CINE_ rebels and they will start cheering.

Posted by: itsyourfav - Tuesday, March 13, 2018 9:10:58 PM
Ok thanks guys, that's good to know! I'm not super experienced in using map.ini to edit things so... If someone could point me in the direction of a tutorial I could learn to do this with that would be great, thanks!

Posted by: SkyMix_RMT - Wednesday, March 14, 2018 5:03:28 AM
The best way to learn map.ini is to look at examples from other maps and old posts from cnclabs. There are plenty of posts regarding map.ini and lots of tips and tricks. You just need to search. To change the scale of units you jus need to add this to a map.ini [code=plain] Object [unit name from world builder] Scale = 1 End [/code] Scale 1 makes them the default size, do this with the CINE cheering units from GLA. After you've added the map.ini the units will still appear smaller in world builder but normal in game.