How can I add a Campaign mode?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

How can I add a Campaign mode?

Post by Grev »

Well, I was reading the tut on adding campaigns to maps, and I thought, well, Im off to work on my map, and then I realised, the only mode I had munged was Conquest.

This was the following dialogue:

"Hmm. What mode and how should I add a mode to work for campaign?"

I didnt plan on removing Conquest, because having only campaign would be an instant no- no for me.

So, how would I be able to add a new mode to my map (Campaign), and would I need to get a shipped assault mode, or some other mode in and edit that to fit Campaign, and if so, how?

Thanks!
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: How can I add a Campaign mode?

Post by Maveritchell »

You add a campaign mode the same way you add any other mode once a map is munged. You'll need to have a new .lua (and yes, it's easiest to just build off of an assault mode), but make sure it has the right suffix: MODIDg_c.lua. (The _c is the campaign indicator). Make sure it gets added in correctly to the addme.lua and the mission.req, and make sure you add a MODIDg_c.req file to your common/mission folder.
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

Re: How can I add a Campaign mode?

Post by Grev »

Erm... Well, that was quite a mouthful. Ill look more into adding modes, and then get into campaign.
Post Reply