SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF2 Modding => Topic started by: Lolistatrolista on January 28, 2019, 02:24:39 PM

Title: Could someone help me with changing the hero on the Death Star map?
Post by: Lolistatrolista on January 28, 2019, 02:24:39 PM
Hi. I'm using pure 1.1 version of SWBF2 and I just don't like Palpatine as the hero on the conquest DS map. I've decided to change it and so, I used this tutorial which should still work after reading some Reddit posts: https://www.cheathappens.com/show_board2.asp?headID=52369&titleID=11118

I've edited mission.lvl, found the right line and changed imp_hero_emperor to imp_hero_darthvader as it should be (I think so, at least). And when I launched SWBF2 and tried to load DS conquest, the game crashed. Any ideas why it happens?
Title: Re: Could someone help me with changing the hero on the Death Star map?
Post by: NB20026 on January 29, 2019, 06:40:16 AM
You need change hero name in imp.lvl from imp_hero_emperor to imp_hero_darthvader and do same thing in sethero line for IMP/CIS
Title: Re: Could someone help me with changing the hero on the Death Star map?
Post by: Lolistatrolista on January 30, 2019, 06:51:40 AM
Thanks. And I forget to mention the fact that I have Hero AI Support mod that also contains mission.lvl. Should I apply these changes in there too?

EDIT: I did what you said, game is still crashing. This is what I wrote:

Changed imp_hero_emperor to imp_hero_darthvader in imp.lvl.

SetHeroClass(IMP, "imp_hero_darthvader")

Also I delated that Hero AI Support mod to make sure it will be 100% pure game.
Title: Re: Could someone help me with changing the hero on the Death Star map?
Post by: NB20026 on January 30, 2019, 08:11:15 AM
If you munged it and replace mission file shouldn't crash
Title: Re: Could someone help me with changing the hero on the Death Star map?
Post by: Lolistatrolista on January 30, 2019, 10:54:13 AM
Idk then. Mayble I can send you my mission.lvl and you can check if everything is ok?
Title: Re: Could someone help me with changing the hero on the Death Star map?
Post by: NB20026 on January 30, 2019, 12:30:50 PM
Ok but do it in friday if it don't be a problem
Title: Re: Could someone help me with changing the hero on the Death Star map?
Post by: Lolistatrolista on January 30, 2019, 01:59:14 PM
Sure.
Title: Re: Could someone help me with changing the hero on the Death Star map?
Post by: NB20026 on January 30, 2019, 08:13:19 PM
On pm send me file
Title: Re: Could someone help me with changing the hero on the Death Star map?
Post by: AnthonyBF2 on January 30, 2019, 09:36:59 PM
Hex Editing is very complex and very limited and should not be used by new users. You need to learn how to edit the mission Lua scripts and munge a new mission.lvl. you can do anything with new Lua scripts.
Title: Re: Could someone help me with changing the hero on the Death Star map?
Post by: Lolistatrolista on February 02, 2019, 05:42:55 AM
Ok, how can I munge a new mission.lvl?
EhPortal 1.34 © 2024, WebDev