![]() |
|
#1
|
|||
|
|||
![]() Quote:
Try this: Code:
firethrow { dontusenearenemy=1 // device=firecatapult <-- Comment out this line, I'm not sure what it does, so experiment class=throw picture=BA1_CatapultFire_ picture_small=BA1_CatapultFire_small.png distance=50 ad_factor=1 base_attack=0 mindist=2 reload=3 penalty=0.5 animation=cast/throw/thtarget <-- you already changed this, so this should be correct throw=priest2_ball <-- change this to the priest attack, I think it's needed as catapultfireball doesn't exist in the PRIEST2.ATOM, but not certain hinthead=special_fire_catapult_head hint=special_fire_catapult_hint framekey=x 7in1=0.5 friendly_fire=1 damage { fire=8,13 } custom_params { burn=50 } } Code:
shot2 { group=1,2 class=throw base_attack=1 ad_factor=1 distance=7 mindist=2 showdmg=1 penalty=0.5 7in1=0.5 friendly_fire=1 animation=cast/throw/thtarget throw=priest2_ball framekey=x damage { magic=5,7 } custom_params { holy=150 //% } } Do you run the game in debug mode? Open a command prompt in the AP directory and type kb -dev to launch the game in debug mode. You should have a "freeze" if there is a problem and then ALT-Tab back to Windows to see if there is a pop-up message. A lot of the scripts don't have good error checking and since your fire_shot doesn't have a holy custom parameter, it will be nil in the LUA function and if the function doesn't check for nil (note that the Inquisitor's base and throw attacks both have a holy custom parameter) then it will crash the function. Try that as any error in the LUA scripts will abort the script and it will just move on to the next unit. Good luck! /C\/C\ |
#2
|
|||
|
|||
![]()
I am working at the boss demenion" verona.embryos.loc.txt"to increase his troops;
for modify his hero abilities, how i can to know what *.hero file corresponds to demenion??? i have already read your guide on as modify these * hero file! furthermore I have a small problem of game,nothing what to do with modding :I am not able to reach/find samman on shettera ,is bug? Last edited by rikkaidd; 09-12-2013 at 06:31 PM. |
#3
|
|||
|
|||
![]() Quote:
To find the list of heroes, there are a couple of different ways to do it: Decompile all the *.HERO files (this is easily done if you build the BAT / CMD file in Excel - I did this for TL). You will see something like this: Code:
{Y}{}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 11 elements { {U}{uid} = {26443629} {U}{au} = {646065185} {W}{h} = {ehero_system_hint_26443629} {A}{ato} = {} {A}{sp} = {spell_defenseless/spell_bless/spell_magic_bondage/spell_fire_ball} {U}{le} = {17} {U}{in} = {2} {U}{ma} = {80} {U}{atk} = {13} {U}{de} = {5} {Y}{fi}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{1} // 1 elements { {Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 6 elements { {Y}{filter}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 1 elements { {A}{belligerent} = {ally} } {A}{pbonus} = {krit,20,0,0,-100,0,0} {A}{dbonus} = {} {A}{rbonus} = {} {A}{attack_on} = {} {A}{attack_off} = {} } } } Another way to do it is to open ENG_ACTORS.LNG and search for the hero's name (they are almost always in this list). For example, for Demenion you'll see: Code:
. . . actor_system_1760723417_name=Lin Thorvald actor_system_1760723417_sdesc_=Dwarven engineer actor_system_1780811564_name=Demenion actor_system_1780811564_sdesc_=Usurper-King actor_system_1785069666_name=Workshop actor_system_1789540691_name=Master Dagon actor_system_1789540691_sdesc_=Dwarven engineer . . . Code:
. . . ehero_system_hint_1246967819=The dreadful leader of the Orc Exodus. He is one of the seven champion-warriors elected to serve on the Council of Ancestors. And for twenty-five years, none have surpassed him in military skill. ehero_system_hint_131404540=Usurper-King of Teana, who seized power through treachery. A very crafty opponent. ehero_system_hint_1315000373=Dark Elf, servant of Demenion. It is said that under his leadership, monstrous atrocities are being committed in the prison. . . . Code:
{Y}{}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 11 elements { {U}{uid} = {131404540} {U}{au} = {1780811564} {W}{h} = {ehero_system_hint_131404540} {A}{ato} = {} {A}{sp} = {spell_lightning/spell_demonologist/spell_ram/spell_hypnosis} {U}{le} = {46} {U}{in} = {15} {U}{ma} = {220} {U}{atk} = {20} {U}{de} = {20} {Y}{fi}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{1} // 1 elements { {Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 6 elements { {Y}{filter}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 1 elements { {A}{belligerent} = {ally} } {A}{pbonus} = {} {A}{dbonus} = {} {A}{rbonus} = {physical,15,0,0,-100,0,0} {A}{attack_on} = {} {A}{attack_off} = {} } } } The best way to do it is the first way, but that requires you to decompile all the *.HERO files and match them up. The second or third way are good if you want to try just one. I've meant to create a cross-reference hero list like I did for TL, but haven't gotten to it, yet. I'll try to get to it in the next couple of days for the full list, as it is easy for me to do... Good luck! ![]() /C\/C\ |
#4
|
|||
|
|||
![]()
thanks
|
![]() |
Thread Tools | |
Display Modes | |
|
|