SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Led on January 05, 2012, 06:16:24 PM

Title: Localizing Map Names
Post by: Led on January 05, 2012, 06:16:24 PM
Hi Sleepkiller,

Thanks for looking into this.  Here are my beta test mission files and map names.  Sorry in advance if I spelled things wrong :P

I used the extension x in my map lua file names.

For example my first lua is called L0001x.

I did this for three reasons:
-cross era mods would not make sense to be A or C
-I plan the initial update plus two more updates, so I would have x, y, z as the last characters
-I had hoped we could have the x, y, or z interpreted as
x:  get your 1.0 update at SWBFgamers.com
y:  get your 1.1 update at SWBFgamers.com
z:  get your 1.2 update at SWBFgamers.com

:)


Thanks




{ mapluafile = "L0001", showstr = "Pistols Only no capture CC", side_x = 1  }
{ mapluafile = "L0002", showstr = "Unlimitted Height CW era CC", side_x = 1  }
{ mapluafile = "L0003", showstr = "Unlimitted Height GCW era CC", side_x = 1  }
{ mapluafile = "L0004", showstr = "Unlimitted Height Clones vs Emp CC", side_x = 1  }
{ mapluafile = "L0005", showstr = "JetrDroid testing CC CW era ", side_x = 1  }
{ mapluafile = "L0201", showstr = "Utapau GCW era ", side_x = 1  }
{ mapluafile = "L0202", showstr = "Polis Massa GCW era ", side_x = 1  }
{ mapluafile = "L0203", showstr = "Mygeeto GCW era ", side_x = 1  }
{ mapluafile = "L0204", showstr = "Mustafar GCW era ", side_x = 1  }
{ mapluafile = "L0205", showstr = "RV Monastery GCW era ", side_x = 1  }
{ mapluafile = "L0206", showstr = "Kyshyyyk Beachhead GCW era ", side_x = 1  }
{ mapluafile = "L0207", showstr = "Felucia GCW era ", side_x = 1  }
{ mapluafile = "L0208", showstr = "Death Star Interior GCW era ", side_x = 1  }
{ mapluafile = "L0209", showstr = "Cto GCW era ", side_x = 1  }
{ mapluafile = "L0210", showstr = "Jedi Library GCW era ", side_x = 1  }
{ mapluafile = "L0301", showstr = "Utapau CW era ", side_x = 1  }
{ mapluafile = "L0302", showstr = "Polis Massa CW era ", side_x = 1  }
{ mapluafile = "L0303", showstr = "Mygeeto CW era ", side_x = 1  }
{ mapluafile = "L0304", showstr = "Mustafar CW era ", side_x = 1  }
{ mapluafile = "L0305", showstr = "RV Monastery CW era ", side_x = 1  }
{ mapluafile = "L0306", showstr = "Kyshyyyk Beachhead CW era ", side_x = 1  }
{ mapluafile = "L0307", showstr = "Felucia CW era ", side_x = 1  }
{ mapluafile = "L0308", showstr = "Death Star Interior CW era ", side_x = 1  }
{ mapluafile = "L0309", showstr = "Cto CW era ", side_x = 1  }
{ mapluafile = "L0310", showstr = "Jedi Library CW era ", side_x = 1  }
{ mapluafile = "E0005-1", showstr = "JetrDroid testing CC CW era ", side_x = 1  }
{ mapluafile = "E0005-2", showstr = "JetrDroid1 testing CC CW era ", side_x = 1  }
{ mapluafile = "E0005-3", showstr = "JetrDroid2 testing CC CW era ", side_x = 1  }
Title: Re: Localizing Map Names
Post by: SleepKiller on January 05, 2012, 07:00:34 PM
Awesome, I'll send you the files when I get it working.

-EDIT-

Regretably it appears SWBF does not react kindly to new era suffixes, it appears if we want them to have names their are two options.

1. Harres ex-pandemic devlopers into giving up the shell.lvl source scripts.
2. Change the era to a normal one.
Title: Re: Localizing Map Names
Post by: Led on January 06, 2012, 02:55:33 AM
For fun, can you make them all "a" era for now, and try it?  (Maybe post a screen shot?)

The benefits of using standard eras may out weigh the reasons I chose the x designation.

Thanks!
Title: Re: Localizing Map Names
Post by: SleepKiller on January 06, 2012, 03:31:52 AM
Well yeah, but I would kind of need your mission.lvl source so I could change the suffix on the end of the scripts.

I was tempted to post some screen shots of what was happening with x some of the bugs where quite ammusing.
Title: Re: Localizing Map Names
Post by: Led on January 06, 2012, 05:03:46 AM
It would be interesting to see what it does :)

Maybe I could do a hex edit on a recompiled shell to look for x and the end instead of a, c, i, r

In any event, I made a new mission will "a" at the end, it is attached to this post.
Title: Re: Localizing Map Names
Post by: SleepKiller on January 06, 2012, 02:10:22 PM
Screw everthing I just told you. I got it working as X after I tracked the problrm down to the new shell.lvl I was building, did the classic addme.lua trick. Worked fine. (Although its still not playable in singleplayer.)

EDIT: See download for Addme builder, place the folder in you BFBuilder directory for it to work properly.
Title: Re: Localizing Map Names
Post by: jdee-barc on January 06, 2012, 09:09:57 PM
So you can have era "letters" other then a, c, r, and i? If this is true could you tell me what other letters work? (probably need for a kotor/tor era in my mod)
Title: Re: Localizing Map Names
Post by: SleepKiller on January 06, 2012, 09:22:16 PM
All of them in theory, but only in multiplayer VIA Dedicated Server.

[hijack]BTW, jdee I'm having some success in that thing you wanted see attachment.[/hijack]
EhPortal 1.34 © 2024, WebDev