Problem with the asj.lvl's Asajj Ventress. [Solved]

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

Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Problem with the asj.lvl's Asajj Ventress. [Solved]

Post by Indytotof »

Hello swbf2 modders and mappers, here is Indytotof.

I post this new topic because, after few discussion with razac920 and tentative, I cannot fix one little problem. Fixing it means the release of a new mini-mod.

I've successfully ad the DLC hero Asajj Ventress as hero of the CIS on Felucia, Kashyyyk and Yavin 4, but there is what happen:

Image
Image

And even using the editlocalize.bat on my data_*** folder in the Mod Tools doing.

There is a screenshot:

Image

And it doesn't even work (the in-game screenshots have been taken after the editlocalize.bat stuff).

However, the unit work perfectly, that's great.

Help me please !
Last edited by Indytotof on Thu Jun 19, 2014 2:29 pm, edited 1 time in total.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Problem with the asj.lvl's Asajj Ventress.

Post by thelegend »

Are you sure you wrote the right name in your editlocalize.bat?

And are you sure you munged with Localize checked?

I never tested it (Is your ventress a side mod or an era mod) but It should work I think.
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Indytotof »

Yes I does.

But when I munged Localize, what I've to do next ?
[Padawan]Helkaan
Sith
Sith
Posts: 1444
Joined: Mon Aug 16, 2010 3:01 pm
Projects :: Dunno. Maybe making something
Games I'm Playing :: Some.

Re: Problem with the asj.lvl's Asajj Ventress.

Post by [Padawan]Helkaan »

Since you're using the French version of SWBF2, you need to localize the character in French too in order to see it ingame. I had the same problem (I'm using a FR copy too) before.
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Indytotof »

[Padawan]Helkaan wrote:Since you're using the French version of SWBF2, you need to localize the character in French too in order to see it ingame. I had the same problem (I'm using a FR copy too) before.
I does in every language of the game.

I think it's because of the asj.lvl not being on the editlocalize or something due to the asj.lvl.
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Kingpin »

Try, instead of cis_hero_ventress, asj_hero_ventress
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Maveritchell »

Kingpin wrote:Try, instead of cis_hero_ventress, asj_hero_ventress
Don't do that. It's cis_hero_ventress.

Post your addme.lua and your mission script .lua, please.
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Indytotof »

User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Maveritchell »

So since you're not doing this as an addon mod, how are you loading in your munged scripts? Are you replacing stock files? If so, where is your munged localization placed? Are you replacing the stock core.lvl (I hope not)? If not, that's your problem. You haven't been entirely clear on where your files are located or what, exactly, your setup is here.
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Indytotof »

For making Asajj appear as a non-addon mod, I simply put the asj.lvl on the side folder of the data/lvl_pc folder. What do you mean by "replacing stock files" ?
On DATA_***/Common/Localize. And no, I don't touch the core.lvl.

Hope it's helped.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Problem with the asj.lvl's Asajj Ventress.

Post by AQT »

Please stop deleting your post and then posting it again when you have no new information to add. Thanks.
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Indytotof »

OK guys, I've a problem.

I've add the asj.lvl as a custom side and add the "dc:" on all the maplua where Asajj Ventress is set as the CIS hero. But problem, when I launched one the map and complete all the requests to play as her, she is nowhere to be found. I can't play as her...

Did I miss something ? Did I have to set up my addme.lua ? Is it even possible to add something as a custom side for one of the pre-existing maps (here Felucia and Yavin 4) ?

Thanks a lot for your help.
User avatar
Locutus
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Fri Jun 04, 2010 10:08 am
Projects :: Stargate Battlefront Pegasus
Location: Germany
Contact:

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Locutus »

I can't speak for Ventress but simply adding the munged lvl file into your side folder in Addon should do the trick already.
In your lua, just use:

Code: Select all

ReadDataFile("dc:SIDE\\asj.lvl", 
   			                    "cis_hero_ventress")
--[...]
SetHeroClass(CIS, "cis_hero_ventress")
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Indytotof »

Locutus wrote:simply adding the munged lvl file into your side folder in Addon should do the trick already.
So I have to create a side folder on my Addon folder ?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Marth8880 »

Indytotof wrote:So I have to create a side folder on my Addon folder ?
Yes.
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Indytotof »

I've done it. Make my game crashes when I load one if the Asajj's maps (here is Felucia for instance).

What I've exactly done wrong ? I've created a folder named "SIDE" on my "Addon" folder and put the "asj.lvl" file on it (the SIDE folder). Strangely enought, when I try to load one the original maps with custom sides, it make my game crashed.

I need help to fix it.

Thanks.

Question: Adding the maps where Asajj have to appear as the CIS hero (namely Felucia and Yavin 4) on the addme.lua on my "addme" folder on my "Data_***" folder and next, after munging, add the "asj.lvl" on the "side" folder of my mod did resolved my problem of game crashing when loading a pre-existing map who used a custom side with the recommended method above ?

Thanks for your advice.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Maveritchell »

Please forgive my nonresponse; I've been out of town.
Indytotof wrote:For making Asajj appear as a non-addon mod, I simply put the asj.lvl on the side folder of the data/lvl_pc folder. What do you mean by "replacing stock files" ?
What exactly are the steps you've taken? I'm not clear about how or what you're munging, specifically. Your description makes it sound like all you did was place a munged .lvl file into a folder in the main gamedata directory.
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Indytotof »

Because it's what I've done. I've this issue with the names, but the hero works perfectly however.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Maveritchell »

Indytotof wrote:Because it's what I've done. I've this issue with the names, but the hero works perfectly however.
So - and please help me get this straight - you did absolutely nothing but drop asj.lvl into the game's stock sides folder and it worked? You made no script changes to anything?
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the asj.lvl's Asajj Ventress.

Post by Indytotof »

Yes. I just drop asj.lvl into the stock side folder. No script change execpt "ReadDataFile("SIDE\\asj.lvl","cis_hero_ventress") and (SetHeroClass(CIS ,"cis_hero_ventress").

Hopt it's helped.
Post Reply