Page 1 of 2
Problem with the asj.lvl's Asajj Ventress. [Solved]
Posted: Mon Jun 09, 2014 4:53 am
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:
And even using the editlocalize.bat on my data_*** folder in the Mod Tools doing.
There is a screenshot:
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 !
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 09, 2014 7:29 am
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.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 09, 2014 8:54 am
by Indytotof
Yes I does.
But when I munged Localize, what I've to do next ?
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 09, 2014 10:03 am
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.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 09, 2014 11:55 am
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.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 09, 2014 3:16 pm
by Kingpin
Try, instead of cis_hero_ventress, asj_hero_ventress
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 09, 2014 6:50 pm
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.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Tue Jun 10, 2014 3:21 am
by Indytotof
Here:
> addme.lua
> all my mission scripts where I add Asajj Ventress.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Tue Jun 10, 2014 6:37 am
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.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Wed Jun 11, 2014 11:44 am
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.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Wed Jun 11, 2014 12:58 pm
by AQT
Please stop deleting your post and then posting it again when you have no new information to add. Thanks.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Sat Jun 14, 2014 12:14 pm
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.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Sat Jun 14, 2014 12:44 pm
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")
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Sat Jun 14, 2014 3:13 pm
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 ?
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Sat Jun 14, 2014 3:29 pm
by Marth8880
Indytotof wrote:So I have to create a side folder on my Addon folder ?
Yes.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 16, 2014 9:54 am
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.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 16, 2014 11:32 am
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.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 16, 2014 11:34 am
by Indytotof
Because it's what I've done. I've this issue with the names, but the hero works perfectly however.
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Mon Jun 16, 2014 5:55 pm
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?
Re: Problem with the asj.lvl's Asajj Ventress.
Posted: Tue Jun 17, 2014 12:58 am
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.