Page 1 of 1
Is it possible 2 make a new era?
Posted: Tue Feb 24, 2009 7:55 pm
by jango
Is it possible 2 make a new era? like have modern day era. and is it possible 2 create a custom galactic conquest?
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 5:08 am
by giftheck
Not in Battlefront I.
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 9:46 am
by Teancum
Yep, unfortunately not. We didn't get as many tools and assets with the SWBF1 tools as we did with the SWBF2 tools.
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 11:14 am
by giftheck
The only thing that seems to dictate that would be core.lvl. If we knew what scripts were in there, somebody might be able to recreate them (or use BF2 scripts, if they worked). Shame the LVL Extractor stopped development only after 1 beta.
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 11:46 am
by Teancum
There's a lot more inside core.lvl than just lua scripts. You'd need the ability to rebuild all of those as well, as their munged format aren't the same as non-munged.
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 1:02 pm
by BattleBelk
why core.lvl? some textures, fonts, localisation blocks and shaders here
I've recreated core.req but almost all sorucre files for example fonts is missing in mod tool
lua scripts in common.lvl, shell.lvl and mission.lvl but source files available only for mission.lvl and others as Teancum said in munged lua-byte code...
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 2:40 pm
by giftheck
Ah, right. Well, we don't have those either. Perhaps using some BF2 scripts might work?
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 3:03 pm
by Teancum
Yeah, it's worth a shot, but I'd say the era loading code is likely in shell.lvl, as that's where it is in SWBF2.
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 3:16 pm
by giftheck
I have the BF2 mod tools. Where would I find the requirements for the "Textures" part? It would certainly help fix localization issues! If we at least had the core stuff...
Edit - never mind, found the textures in BF2 Mod Tools. So this should be your structure:
DataMODID/Common/
Effects/ (Found in "Assets/Shipped Common Effects")
Fonts/ (BF2 Mod Tools)
Mission/
Scripts/
Shaders/ (BF2 Mod Tools)
Not sure about the global bnk entry though... it's not in BF2 mod tools, perhaps it will survive without?
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 3:46 pm
by Teancum
Nope, that's a required file. SWBF2 guys get around by "stacking" a custom common.lvl over the original, but that only works on a per-map basis.
For example: (syntax is just an example)
ReadDataFile("DC://common.lvl")
ReadDataFile("common.lvl")
Then what they do is only include the files they want to change in their new custom common.lvl. But again, this only works on a per-map basis.
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 4:12 pm
by giftheck
No, I described the core.lvl. If so, I take it the "global" file is just the menu sounds.
EDIT: It seems munge.bat in the Common folder is incomplete.
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 5:40 pm
by Teancum
You take it wrong global is used for a LOT more than that.. I literally just explained what you'll have to do.
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 5:48 pm
by BattleBelk
Actully possible rebuild original .lvl file even when not all source files available its need correct spilt lvl file to munged pre-lvl files and then setup .req file for LevelPack.exe from mod tool. I used this trick in
Interface Tool.
For example I've splitted file to blocks, changed a texture and build .lvl file
Re: Is it possible 2 make a new era?
Posted: Wed Feb 25, 2009 6:18 pm
by giftheck
"bnk" is used for sounds, right? I looked inside Global, the only req file for that seems to be used for "global" sfx ie Menu sounds. BF2's core.lvl would probably have more inside it. However, the "global" entry under "config" I am not sure about.
Re: Is it possible 2 make a new era?
Posted: Thu Feb 26, 2009 2:48 pm
by Teancum
Global.bnk is a global sound definition file for the game. So anything that's not specific to one map is specified in their first, then each map's individual files. The problem is it was never shipped with either SWBF1 nor the SWBF2 tools. Without it the game will have serious sound issues. If you went BattleBelk's way and 'chunked out' global.bnk you might be able to just re-inject it, but I've never done anything along those lines with SWBF1/2.
Re: Is it possible 2 make a new era?
Posted: Thu Feb 26, 2009 5:11 pm
by giftheck
Yeah, I saw that there was a 'global' in the Shipped Sound Config files, the global.sfx had only menu and laoding sounds. One could record them from the game, or use custom sounds.
Re: Is it possible 2 make a new era?
Posted: Fri Mar 13, 2009 7:12 am
by giftheck
I found this:
http://www.mpcgamers.com/forums/viewtop ... f=12&t=273
So it
is possible, but for now only on MP maps, but there's hopes it can be translated into SP.
Re: Is it possible 2 make a new era?
Posted: Fri Mar 13, 2009 8:18 am
by Teancum
Two quick things on that:
1-MP would be easy, especially if you're running a dedicated server. If a dedicated server was started via command line with tst3_add as one of the maps it would show up in the server list and be playable. Technically that's not creating a new era, but it would allow you to play a custom mode online. Eras are handled in the shell, so you'd need to be able to decompile the shell or get the source code to make a true era.
2-I noticed you mentioned that psych0fred never told the community how he got six classes. Remember he was a developer for SWBF1, and that very well could have been a development screenshot. If it wasn't he used to have (but no longer does - I've talked with him) tools that we didn't have, and so could do stuff like that.