Campaign Questions

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
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Campaign Questions

Post by Sky_216 »

Have a few questions regarding making a custom campaign/GC:


1) Is it (realistically) possible to make a campaign like the stock 501st campaign (ordered series of planet battles).

2) Is it possible to change the names and descriptions and maybe even models/images of planets?

3) Can a GC mission be pretty much anything (ie not a conquest mission necessarily).
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 Questions

Post by [RDH]Zerted »

1) Depends on how good one is at modding. Putting everything together into a Galactic Conquest is nothing compared to making a bunch of high quality maps.
2) Yes
3) Yes

And as a bonus, you can even play custom videos. So far, no one has done that in a released map
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Campaign Questions

Post by Sky_216 »

[RDH]Zerted wrote:1) Depends on how good one is at modding. Putting everything together into a Galactic Conquest is nothing compared to making a bunch of high quality maps.
2) Yes
3) Yes

And as a bonus, you can even play custom videos. So far, no one has done that in a released map
1) Is not a problem - already have 11-16 high quality maps I can use, and some campaign scripts already done.

How would you go about turning a GC into a campaign (the scripting and stuff)?


and also, one more question:

Is it possible to make a Dynamic campaign/GC? So either you can get sent down different "paths" (ie to different missions) in campaign, or there are some planets in the GC that are cut off until you capture a certain number of planets?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Campaign Questions

Post by Frisbeetarian »

Sure, you can just use Zerted's save feature to determine where to go based on values set by previous choices. You don't even have to use the save to do what you want with a GC, that is, if you can add planets after a game already starts; you can just try that yourself.
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 Questions

Post by [RDH]Zerted »

The v1.3 patch has the documentation for creating cGCs (custom Galactic Conquests).

If you take the time to trace through the scripts and see how GC (ifs_freeform...) works, then you can make it do whatever you want. The galaxy you look at is really a map and the planets are entities. The lines between the planets are drawn on in the shell.

Ahh, don't use my saving functions in GC. Mine messes with the meta tables. This is fine in MP, but GC uses them to store the unit data and other stuff. GCs can already be saved. Use their normal saving methods.

Read These:
http://www.gametoast.com/forums/viewtop ... 27&t=15720
http://www.gametoast.com/forums/viewtop ... 35&t=16547

I have class, thats all I can say...
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Campaign Questions

Post by Frisbeetarian »

I know that the actual campaign is set up like a GC, but couldn't you just set up a series of missions with fancy intro screens and videos outside the framework of a GC? This way you could use the saving feature.
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 Questions

Post by [RDH]Zerted »

What I was saying is that you already have a saving feature. My saving functions are a hack based off of how GC saving works. In normal GC, the player has the chance to save after every mission and when leaving the Campaign. By doing nothing, you get this ability.

If you want to store extra data, shove it into the metagame state (just a table) and swbf2 will save it automatically.
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Campaign Questions

Post by Frisbeetarian »

Gotcha. I thought the way you did saving was through accessing a new file created by the process, so I didn't realize that you could include info in the built-in GC saves. Good to know.
Post Reply