Video Tutorials: Getting Started in SWBF2 Modding

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

razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by razac920 »

Just to be clear, you're NOT scrolling to Death Star, selecting clone wars conquest, and playing that right? Because this method won't change THAT.
You have to scroll to [whatever SOS map is called], and there select clone wars conquest.
Trix
Private Recruit
Posts: 26
Joined: Mon Apr 13, 2015 9:39 am
Projects :: Galactic Marines Side Mod
Games I'm Playing :: SWBF2
xbox live or psn: What's an xbox?
Location: England

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by Trix »

Oh right, okay. So I am not actually changing the vanilla map properties, I am duplicating it first and then changing the properties?
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by razac920 »

Correct, the vanilla map and its missions stay intact. You are just adding additional new missions to play on that map.

Technically speaking, you do have a custom map (the default one ZE gives you), but in your mission script you load the preexisting vanilla map instead.
Trix
Private Recruit
Posts: 26
Joined: Mon Apr 13, 2015 9:39 am
Projects :: Galactic Marines Side Mod
Games I'm Playing :: SWBF2
xbox live or psn: What's an xbox?
Location: England

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by Trix »

Yes that blank flat one.
So is there a way possible to edit the actual existing vanilla maps, such that by loading battlefront ii and click death star it would load the edited settings without having to have a mod called death star, so 2 death star maps that are the same?
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by jedimoose32 »

The FAQ/Everything You Need Thread Version 2.0 wrote:How to edit a shipped map
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by razac920 »

It's possible, yes. But if you actually overwrite the existing missions then you cannot play (those missions) online. So a common thing people do is add extra modes/eras on the vanilla maps. In your case, since it is essentially conquest, I would probably just want to put it on a different era. Honestly, though, I must admit I have no idea why you would want to solely increase the reinforcement count, when you can ALREADY increase it in the Conquest settings.

Yeah, that's a good guide for actually modifying the level itself, but I think Trix is just interested in scripting mods to the vanilla map.
Trix
Private Recruit
Posts: 26
Joined: Mon Apr 13, 2015 9:39 am
Projects :: Galactic Marines Side Mod
Games I'm Playing :: SWBF2
xbox live or psn: What's an xbox?
Location: England

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by Trix »

razac920 wrote:It's possible, yes. But if you actually overwrite the existing missions then you cannot play (those missions) online. So a common thing people do is add extra modes/eras on the vanilla maps. In your case, since it is essentially conquest, I would probably just want to put it on a different era. Honestly, though, I must admit I have no idea why you would want to solely increase the reinforcement count, when you can ALREADY increase it in the Conquest settings.
I do not wish to solely increase the reinforcement count ;)
I wish to create a new era "Galactic Marines" vs some custom CIS however I was simply increasing the reinforcement count as a test, because if I try something complicated straight away and it does not work I have more to look over and fault find :)

As for online compatibility, I don't play it so don't mind killing it :p
jedimoose32 wrote:
The FAQ/Everything You Need Thread Version 2.0 wrote:How to edit a shipped map
I wish to change the features of the sides, rather than the actual map jedi however I do find decent tutorials hard to come by so this is why I ask, but if there is one more for what I want I would be grateful.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by razac920 »

Well, it was just a warning. I've never actually tried to add two missions to a vanilla map with the same name. It might not just overwrite, it may actually crash if you try. I don't know. As for a new "era" mod, it might be easiest not to worry about this mission scripting at all, just make your custom versions of rep.lvl and cis.lvl and replace the stock sides with your custom one. (Of course you should back up the originals just in case).
Trix
Private Recruit
Posts: 26
Joined: Mon Apr 13, 2015 9:39 am
Projects :: Galactic Marines Side Mod
Games I'm Playing :: SWBF2
xbox live or psn: What's an xbox?
Location: England

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by Trix »

Okay thank you. So rather than create a new era I replace the stock era. But then am I not tied to only six units called "rep_inf_ep3_jettrooper" and so on, because if I add more units or rename them I then need to edit the luas so mission scripting in order to add them to the game?

Trix
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by razac920 »

Yeah, if all you do is replace the stock sides with custom ones, then you need to name them the same as the stock side units, and you need to have exactly 6 of them.

If you want more customization, I'd suggest you make an era mod instead (see here for tutorial)
Trix
Private Recruit
Posts: 26
Joined: Mon Apr 13, 2015 9:39 am
Projects :: Galactic Marines Side Mod
Games I'm Playing :: SWBF2
xbox live or psn: What's an xbox?
Location: England

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by Trix »

Thank you razac920. I had (just about) managed to make a side with the 6 defaults as template but didnt want to deleted any and wanted to add a different one, so corrupted file. Oops. Erm thank you for link. I hope it helps. :D
Trix
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by AceMastermind »

jedimoose32 wrote:ADDING WATER TO A MAP
https://youtu.be/4-UiQAZ6bl8?t=583

The 'Layer' setting is actually useless, different layers of water is not possible. It will appear to work in ZE and the data is saved to your *.ter file but will result in a "Discarding additional water layer" munge warning.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by jedimoose32 »

Oh, interesting. I guess I should have tested that before I talked about it at such great length. :oops:
Thanks for the heads-up. I guess I'll annotate or caption that part of the video with a correction.
User avatar
TWINKEYRUNAWAY
Lieutenant General
Lieutenant General
Posts: 730
Joined: Fri Aug 17, 2012 3:13 pm
Projects :: Empire Rising
Games I'm Playing :: SWBF Doom FONV
xbox live or psn: No gamertag set
Location: 411Remnant
Contact:

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by TWINKEYRUNAWAY »

If I may suggest, it would be an awesome idea to create an "everything you need before modding" video with links to BF2tools, maybe some other assets like marvel4's file that has everything you need to have bf2tools work for new operating systems. I have a friend that im trying to teach and we couldn't find those necessary tools at hand. It created a lot of back tracking. Obviously I know what tools I need, but for someone new like my friend who likes your videos, we couldn't find everything he needed to start with.

It would be very beneficial for you and the audience your trying to teach if you went through a step through step process of getting BF2tools, some user patches like marvel4's updated munge files:
viewtopic.php?f=64&t=30415&p=508646#p508646

and maybe going over some other functions, it would be most awesome.
Last edited by TWINKEYRUNAWAY on Sat Apr 18, 2015 12:53 pm, edited 1 time in total.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Video Tutorials: Getting Started in SWBF2 Modding

Post by jedimoose32 »

Good idea. I've had some comments on my videos asking for this as well. I'm pretty busy right now but I'll try and do several videos when I have time.

Localization tutorial has been added to the list of links!

Edit: Sky tutorial is also up!
Post Reply