Side's questions...

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Side's questions...

Post by Leviathan »

Hi guys !

I've just two questions regarding side's structure :
  • First, is it possible to add more than five units per side ? (Because I'd want to add the imperial officer to the Empire's LVL file.)
  • Next, how can I change a side's name ? (For examples, "Empire" for imp.lvl ; "Alliance" for all.lvl, etc...)
Thanks in advance !...
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Side

Post by Leviathan »

Any possible help ?...
Saturn_V
Emperor's Hand
Posts: 487
Joined: Sun Dec 26, 2004 12:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

RE: Side

Post by Saturn_V »

1. No, you'll have to replace one of the existing units with the officer

2. Use the Language Tool, Rends posted a pic in the forum showing what you need to do.
Venom

Post by Venom »

they would have to make one patch in order to increase the number of classes
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

they would have to make one patch in order to increase the number of classes
Yes, but I think this is already possible and additional classes would be available by adding a vertical scroll-bar in the units' selection screen.
Use the Language Tool, Rends posted a pic in the forum showing what you need to do.
I suppose that you meant this picture : http://people.freenet.de/Santarossa/SWBH_localize.JPG
It has helped me a lot, but I do not know what section of the Localize Tool I need to change in order to rename a side.
OOM-9

Post by OOM-9 »

I used the Localization tool but it made me a lot of language files... I am confused what to do with the localization tool?
Saturn_V
Emperor's Hand
Posts: 487
Joined: Sun Dec 26, 2004 12:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Saturn_V »

<<The number of classes are hard coded, we're stuck with 5.>>

Edit: See next post
Last edited by Saturn_V on Tue Apr 19, 2005 10:20 am, edited 1 time in total.
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

Actually you can add more but you can't see them on screen to select them. The shell is outside of the add on functionality.
In this case, I wasn't wrong when I said that a vertical scroll-bar was missing in the units' selection screen...
Do you have any idea on how to add it in SWBF ?
The number of classes are hard coded, we're stuck with 5.
Do you know where this limited number of classes is stored ? (*.EXE or *.DLL files...)
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

Do you have any idea on how to re-design the shell interface ?
User avatar
ShadowHawk
Old School Staff
Posts: 1232
Joined: Mon Feb 21, 2005 4:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Heartland, Texas
Contact:

Post by ShadowHawk »

To help make it simple, and correct me Psych0fred if I mis-state you, The interface is not in the exe, but in a lvl file. As of this moment, there is not a way to extract things from an lvl file and in order to change the interface, you will have to do so. Just hex editing a file won't work because you are not changing something, you are adding something. That will throw the whole code off and make things not function the way they were supposed to. The game itself is capable of adding the extra units but the separate interface is not. When and if a true lvl tool is designed will it be possible, but to my knowledge, the only lvl extractor available is to extract images, not code. Until then, it will be beyond the capabilities of the modding community, so we are limited to five.
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

Go back and read my first post. The shell is outside the add on functionality. That means you can't change it.
It's a pity... I'd have thought that Pandemic Studios would make modders' work easier by adding more classes' entries in SWBF's shell...
sdwhwk, thanks for all your explanations !...
User avatar
ShadowHawk
Old School Staff
Posts: 1232
Joined: Mon Feb 21, 2005 4:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Heartland, Texas
Contact:

Post by ShadowHawk »

Glad that we could help clear things up for ya.
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

Is it possible to create and place a new side in the AddOn folder ?
What directory must I enter in the modida.lua or modidc.lua files to use this side, instead of "SIDE\\[side's name].lvl" ?
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

I think an example would be welcome...
Well, I modified the SWBF's "mission.lvl" file using the *.REQ files present in the Mod Tools, to allow my modified "imp.lvl" file to be used in official maps, like "Rhen Var : Citadel" or "Hoth : Echo Base". (I precise that these maps are those present in the main "_LVL_PC" folder, not in the "AddOn" directory...)
If this changed "imp.lvl" file is located in the "AddOn\IMP\imp.lvl" directory, what path must I enter in the Rhen Var's or Hoth's *.REQ files to use it ?
Post Reply