Changing Mission Files

Talk about anything related to old versions of Armada.
1, 2
posted on August 10th, 2010, 1:38 pm
Is there any way to change what map files are used for missions and how many missions there can be in a set?  And how many sets there can be?
posted on August 11th, 2010, 8:36 pm
I don't think so - asides from MMM, but I suppose you had a feeling about that  :whistling:
posted on August 11th, 2010, 9:00 pm
Last edited by TChapman500 on October 8th, 2010, 3:52 pm, edited 1 time in total.
I found the file that deals with the mission files.  Apparently, you can have an unlimited number of missions per set and an unlimited number of sets.  Unfortunately, I may have to recompile some of the EXE or DLL files just to allow for "unlimited missions".  Also, my idea to change the team colors didn't work even though I modified the correct file.

Here's what I need to do:
Modify what is displayed on the mission selection buttons so it shows the actual name of the mission and not the name of the stock mission, which was deleted.

Add a scroll bar to the mission sets so you don't have to go through mission 10 to access the rest of the mission in that set.

Add arrow buttons to display another 4 sets of missions.

Find a way to make my teamcolor.odf file modifications to take effect.

PS:  Right now, MMM is irrelevant.  I need to change what files are displayed in the mission selection screen with the correct mission names, then I can worry about scripting the mission.

And, since this mission pack is going to be included with my mod pack, I don't have to worry about backwards compatability.




Okay, I found out how to change the mission display names on the mission select menu.  Now all I need to do is figure out how to make it so that users don't have to use the command line to auto-start missions. ("Armada2Path/Armada2.exe" -quick mission_name.bzn)

This will be done by adding scroll bars to each mission set and by adding buttons to allow the user to view another 4 sets of missions.
posted on August 11th, 2010, 9:31 pm
in the RTS_CFG file go to the last line (int cfgSINGLE_PLAYER_ENABLED = 0;) and change the value from 0 to 1 this will reenable the single player menu (u just need to ensure you have the files from stock a2 or the menu will cause ctd
posted on August 11th, 2010, 9:32 pm
since this is in the PP section,  would assume he is doing this in stock a2
posted on August 11th, 2010, 10:18 pm
Adm. Zaxxon is correct.  This is for the stock STA2.

Anyone know where I could find a good decompiler?
posted on August 11th, 2010, 10:19 pm
ok open mshell.set in notepad and the mission map names are defined there

you can not decompile stock a2 missions
posted on August 11th, 2010, 11:10 pm
I already know about the mshell.set file.  And the label.map file.  I figured that out after I posted.  And I'm not wanting to recompile the mission files.  I need to recompile the Armada2.exe file to put in a scroll bar in the mission selection screen.  An addition to the main menu GUI.
posted on August 11th, 2010, 11:11 pm
that would be illegal the only legal way to do it is to do wot the fo team do and make hook dll files
posted on August 11th, 2010, 11:14 pm
How do I make a hook.dll file?
posted on August 11th, 2010, 11:14 pm
you know, technically, making a backup copy of a2 is illegal too :whistling:
posted on August 11th, 2010, 11:27 pm
dnt worry technically how i install and play fo is illegal (just cba using my a2 disk lol)
posted on August 11th, 2010, 11:50 pm
How do I make a hook.dll file?
posted on August 12th, 2010, 12:02 am
dunno i aint a coder you best pm'ing a dev to see if they can help you but i'm guessing its tricky
posted on August 23rd, 2010, 4:04 pm
the process is called DLL injection. Its what modern OS use to hook applications into a process (to summerize it without going to much into the depth). It is for example used for theming software, software firewalls or virus scanners.

You should bring a good load of low-level-coding experience, assembler and C, to start on this front. DOCaCola might be able to tell you more on that
1, 2
Reply

Who is online

Users browsing this forum: No registered users and 6 guests