Campaign replacing hunt 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
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Campaign replacing hunt mode?

Post by sampip »

i was just wondering, how can i put campaign mode playable through hunt mode, its been done before i know. i could also do with a simple campaign tutorial to help me out with a few things that i would like to put in my campaign, i coudn't find any on SWBF files.
thanks!
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Campaign replacing hunt mode?

Post by Teancum »

You can actually add a Campaign mode without replacing hunt. Either way you have to build your own objectives, but other than that it's not hard.
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Campaign replacing hunt mode?

Post by sampip »

ahhh, thanks for that. could anyone direct me tutorial on how to add campaign mode without putting it in through hunt?
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Campaign replacing hunt mode?

Post by [RDH]Zerted »

Game modes are just names. You can play CTF in Conquest, Space Assault in Hunt, or whatever. All that matters is the code in that mode's Lua script. For a 'Hunt Campaign', just add the Hunt mode to your map and with its Lua script with all the your custom campaign code.

If you want to create a completely new game mode, the v1.3 patch has support for that.

No one does any campaign tutorials because all campaigns are different. You didn't even mention what you wanted in your Campaign. However, just about every campaign is just a sequence of Objectives. Look through the stock Campaign scripts to see how to do them.

Edit: The new game mode tutorial link is near the bottom of the FAQ topic. If you're too lazy to look there, click this: http://www.gametoast.com/forums/viewtop ... 27&t=12542 (make sure to read through the comments). That tutorial adds Hunt, but you can just change its hunt ids to the id of the mode you want to add. Campaign's id is the letter c.
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Campaign replacing hunt mode?

Post by sampip »

ok, thanks. i'll have a look through the stock campaigns now.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Campaign replacing hunt mode?

Post by [RDH]Zerted »

You're reading too fast :wink:. I just edited my last post.
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Campaign replacing hunt mode?

Post by sampip »

sorry. i looked through the tut's on how to add hunt mode a while back now, and i gather that all i have to do after that is put my campaign script in place of the hunt one?
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Campaign replacing hunt mode?

Post by [RDH]Zerted »

yes
Post Reply