Page 1 of 1

Getting a campaign icon to show up ingame [Solved]

Posted: Sat Jul 23, 2011 10:21 pm
by yuke5
How can you make an icon of your choosing show up for the drop down menu. I'm think I'm getting the hang of campaign scripting except I can't a campaign icon to show up ingame. Doesn't the 1.3 patch support that? I guess I just don't have a clue. How can I get my MAPc_c LUA to line up with an icon?

P.S. I've tried adding MAPc_c to the addme LUA. And I added a downloadable content line. I've also made a conquest layer in zeroeditor and made it uncommon, but I might have screwed that but up. What exactly should I do in zero editor? Is there anything else I should do?

P.P.S. The map munges without a problem. It actually came across a couple "message severity = 3" errors with the c_c script, but I fixed them and remunged.

EDIT: Forget it. I'll just create a capture the flag layer. If I figure it out I'll post it for any modders out there who want to figure it out. Once I get the hang of mission scripting, I'll make a tut. I just have no idea how the icon business works.

Re: Getting a campaign icon to show up ingame

Posted: Mon Jul 25, 2011 8:49 pm
by [RDH]Zerted
What ingame drop down menu are you referring to?

You shouldn't have to do anything with ZeroEdit.

Re: Getting a campaign icon to show up ingame

Posted: Mon Jul 25, 2011 9:40 pm
by yuke5
Oh, what I'm talking about is the menu you pull up in instant action. I'm trying to figure out how to add a campaign icon to a map's gamemodes. I've created a script for it and added it to the map's addme script, and I've worked out all the kinks, but icon of any sort pops up.

Re: Getting a campaign icon to show up ingame

Posted: Mon Jul 25, 2011 10:04 pm
by CressAlbane
THIS should help out.
6) Go to your 'mission'.req file (in the 'common' folder in your map) and edit the script files it says. It should have something along the lines of 'XXXc_con', 'XXXg_con' (where XXX is your maps three letter id). Add the name of the script you modified. So if you added era 'a' to mygeeto conquest, add 'myg1a_con' to your mission req.
7) You'll need to add a req file for that mode to your data_XXX/Common/mission folder. This contains the req files for all stock scripts. Say we added a script called 'myg1a_con.' Copy the 'myg1g_con', rename it 'myg1a_con', open it, change the line 'myg1g_con' to 'myg1a_con'.
8) Change your addme lua. RED51 explains how to do it in this link.....http://www.gametoast.com/forums/viewtop ... 94#p281994

Re: Getting a campaign icon to show up ingame

Posted: Wed Jul 27, 2011 12:04 am
by yuke5
I did the addme bit, but I didn't to the req bit, thanks a lot! :D