Private Joined: 3/8/2018(UTC) Posts: 4 Location: Triangle Land
|
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! |
Check out my Soundcloud: ItsYourFav, Also my Scratch: PaperRobotGaming You are but a mere Squ◻re compared to my infinitely more powerful form; Tri△ngle. |
|
|
|
Colonel Joined: 10/13/2008(UTC) Posts: 782
Thanks: 7 times Was thanked: 201 time(s) in 147 post(s)
|
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
|
|
|
|
Major Joined: 2/21/2015(UTC) Posts: 386 Thanks: 80 times Was thanked: 132 time(s) in 96 post(s)
|
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. |
|
|
|
|
Private Joined: 3/8/2018(UTC) Posts: 4 Location: Triangle Land
|
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! |
Check out my Soundcloud: ItsYourFav, Also my Scratch: PaperRobotGaming You are but a mere Squ◻re compared to my infinitely more powerful form; Tri△ngle. |
|
|
|
Major Joined: 2/21/2015(UTC) Posts: 386 Thanks: 80 times Was thanked: 132 time(s) in 96 post(s)
|
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:
Object [unit name from world builder]
Scale = 1
End
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. |
|
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.