Addition Missions Hook....

Want to edit the game, build your own craft and missions? Here you'll find help, tools, guides and people to discuss with.
Post Reply

Addition Missions Hook....

User avatar
rogue518
XWAU Member
Posts: 2815
Joined: Wed Jul 12, 2000 11:01 pm
Contact:

Post by rogue518 » Mon Aug 14, 2023 5:39 pm

Hello, all is there a "hook" that allows more missions than the original '52" missions? Just curious.....


Sincerely, Rogue518
'Stay in Attack formation!' Darth Vader aka: Anakin Skywalker During the 'Battle Of Yavin'

User avatar
Vince T
Fleet Admiral (Administrator)
Posts: 14029
Joined: Fri Apr 27, 2001 11:01 pm
Contact:

Post by Vince T » Mon Aug 14, 2023 8:32 pm

Confused now. The game already allows for more missions. I currently have 56 missions running on my dev system and I think TFTC is running for a total number of over 80
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear

User avatar
AngeI
Lieutenant JG
Posts: 516
Joined: Sun Jan 24, 2016 5:27 pm

Post by AngeI » Mon Aug 14, 2023 8:33 pm

Hey @rogue518 I don't know if @JeremyaFr actually increased this but you can have more than 52 missions. TFTC currently goes past mission number 80 for Classic. I don't know what the hard limit currently is, probably 256. There are some hardcoded mission numbers we skip to avoid issues (Mission 2 and all the DS missions).

User avatar
rogue518
XWAU Member
Posts: 2815
Joined: Wed Jul 12, 2000 11:01 pm
Contact:

Post by rogue518 » Mon Aug 14, 2023 9:07 pm

Angel...
Thanks for the responding... what do I need to do to add additional missions? Your help would greatly be appreciated. . :)

Sincerely, Rogue518
'Stay in Attack formation!' Darth Vader aka: Anakin Skywalker During the 'Battle Of Yavin'

User avatar
Vince T
Fleet Admiral (Administrator)
Posts: 14029
Joined: Fri Apr 27, 2001 11:01 pm
Contact:

Post by Vince T » Mon Aug 14, 2023 9:54 pm

You add missions via editing the mission.lst file, which is located in the xwa\missions\ directory.

Here's a snippet of that file

Code: Select all

//
!BATTLE_7_HEADER![Battle 7: The Battle of Endor]
//
49
* 1B7M1W.tie
!MISSION_49_DESC!Battle of Endor
50
* 1B7M2W.tie
!MISSION_50_DESC!Phase 2: That Thing's Operational!
51
* 1B7M3W.tie
!MISSION_51_DESC!Phase 3: The Shield Is Down!
52
* 1B7M4W.tie
!MISSION_52_DESC!Phase 4: Death Star Tunnel Run
//
!BATTLE_8_HEADER![Battle 8: Developer Playbround]
//
53
* 1B8M1ANHShowcase.tie
!MISSION_53_DESC!Showcase ANH
54
* 1B8M2ROTJShowcase.tie
!MISSION_54_DESC!Showcase ROTJ TESB
55
* 1B8M3Scarif.tie
!MISSION_54_DESC!Battle over Scarif
56
* 1B8M4Coruscant.tie
!MISSION_55_DESC!Battle over Coruscant
57
* 1B8M2Test.tie
!MISSION_56_DESC!Test Mission 2
Each mission entry consists of 3 lines
- running number
- mission file name, preceded by a *
- mission name. The syntax of the mission name consists of some static definitions, the running number and the name

Code: Select all

59
* 1B9M1MyMission.tie
!MISSION_59_DESC! My custom Mission

Similarly, the if you want to create a new battle, the definition loos like this

Code: Select all

//
!BATTLE_9_HEADER![My Custom missions]
//
Make sure the running number is always consistent throughout the mission lst. Gaps or duplicates will cause problems.

BTW, @rogue518 I'm moving this to the Editing channel, since this is not really an XWAU-specific thing.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear

User avatar
rogue518
XWAU Member
Posts: 2815
Joined: Wed Jul 12, 2000 11:01 pm
Contact:

Post by rogue518 » Mon Aug 14, 2023 10:00 pm

Ok.. Thanks... Vince T... :)

Sincerely, Rogue518
'Stay in Attack formation!' Darth Vader aka: Anakin Skywalker During the 'Battle Of Yavin'

User avatar
Vince T
Fleet Admiral (Administrator)
Posts: 14029
Joined: Fri Apr 27, 2001 11:01 pm
Contact:

Post by Vince T » Mon Aug 14, 2023 10:02 pm

I can't even remember where I learned it but there used to be a pretty comprehensive guide on JM's old website, which unfortunately has been lost to time.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear

User avatar
rogue518
XWAU Member
Posts: 2815
Joined: Wed Jul 12, 2000 11:01 pm
Contact:

Post by rogue518 » Mon Aug 14, 2023 11:07 pm

Ok...
Thanks ..my bad..
I did think about that after posting.


Sincerely, Rogue518
'Stay in Attack formation!' Darth Vader aka: Anakin Skywalker During the 'Battle Of Yavin'

Post Reply