[WB] Warband Script Enhancer v3.2.0 (21/07/2013)

正在查看此主题的用户

状态
不接受进一步回复。
Hi there!

So, sadly, yesterday I just update M&B Warband, and suddenly i wasn't able to launch WSE (the previous version on my PC was 1.54) Previously, I never had any problem, even with a most recent version of WB.

I just done these change quote there :

cmpxchg8b 说:
OK, I changed the loader in 3.1.5 to support this. All you need to do is put a 1.153 exe (named mb_warband_old.exe) and fmodex.dll (named fmodex_old.dll) in the WSE directory, and it will be used if the regular one is incompatible. Bear in mind that the .exe should be hacked to load fmodex_old.dll instead of fmodex.dll.

But... It didn't work, in fact, WSE isn't able to find mb_warband or mb_warband_dedicated Launcher.

 
Quidam 说:
Hi there!

So, sadly, yesterday I just update M&B Warband, and suddenly i wasn't able to launch WSE (the previous version on my PC was 1.54) Previously, I never had any problem, even with a most recent version of WB.

I just done these change quote there :

cmpxchg8b 说:
OK, I changed the loader in 3.1.5 to support this. All you need to do is put a 1.153 exe (named mb_warband_old.exe) and fmodex.dll (named fmodex_old.dll) in the WSE directory, and it will be used if the regular one is incompatible. Bear in mind that the .exe should be hacked to load fmodex_old.dll instead of fmodex.dll.

But... It didn't work, in fact, WSE isn't able to find mb_warband or mb_warband_dedicated Launcher.

Quoting myself...
_Sebastian_ 说:
yuxo 说:
my version is 1.157 what can i do
You can force WSE to run on v1.153 ...doesn't matter what version of warband is actually installed.
There is somewhere a description how to do that, but I will post it again for the lazy guys.

Get "mb_warband.exe" and "fmodex.dll" from v1.153 and rename them to "mb_warband_old.exe" and "fm_old.dll".
Then drop the two files into your WSE folder... that's it.

Cheers!
 
I already read and do what you said Sebastian, but it still didn't work always the same answer

"could not find "mb_warband.exe" or "mb_warband_dedicated.exe"

If I change the name of mb_warband_old.exe in "mb_warband_dedicated.exe" i got a second error "you are running an unsupported version of warband..." but... it is the launcher of the 1.53 version...
 
Please, example of use (troop_get_face_keys, <face_key_register>, <troop_no>, [<alt>]),

face_key_register???

插入代码块:
(multiplayer_get_my_player, ":player_no"),
(player_get_troop_id, ":player_troop", ":player_no"),

(troop_get_face_keys,reg1,":player_troop"),
(troop_set_face_keys, "trp_temp_fighter", reg1),

(spawn_agent,"trp_temp_fighter"),
does not work :roll:
 
Red_Shuhard 说:
Please, example of use (troop_get_face_keys, <face_key_register>, <troop_no>, [<alt>]),

face_key_register???

插入代码块:
(multiplayer_get_my_player, ":player_no"),
(player_get_troop_id, ":player_troop", ":player_no"),

(troop_get_face_keys,reg1,":player_troop"),
(troop_set_face_keys, "trp_temp_fighter", reg1),

(spawn_agent,"trp_temp_fighter"),
does not work :roll:

Huh? Troops and agents are two different things, just like the player and agent. Also, how about first getting a position of the agent and set it as spawn point before even spawning the agent?
 
I'm interested in this block:
插入代码块:
(troop_get_face_keys,reg1,":player_troop"),
(troop_set_face_keys, "trp_temp_fighter", reg1),
I want to spawn a second agent, who has the face of the first agent (but the other troop ID)
sorry for my english :cry:
 
In multiplayer you have to set the player face keys, not the troop. Use a number from 0 to 128 for the face key register, not reg1.
 
I think it will use this facekey: 0x000000018000000136db6db6db6db6db00000000001db6db0000000000000000

插入代码块:
  ["player","Player","Player",tf_hero|tf_unmoveable_in_party_window,no_scene,reserved,fac_player_faction,
   [],
   str_4|agi_4|int_4|cha_4,wp(15),0,0x000000018000000136db6db6db6db6db00000000001db6db0000000000000000],
  ["multiplayer_profile_troop_male","multiplayer_profile_troop_male","multiplayer_profile_troop_male", tf_hero|tf_guarantee_all, 0, 0,fac_commoners,
   [itm_leather_jerkin, itm_leather_boots],
   0, 0, 0, 0x000000018000000136db6db6db6db6db00000000001db6db0000000000000000],
  ["multiplayer_profile_troop_female","multiplayer_profile_troop_female","multiplayer_profile_troop_female", tf_hero|tf_female|tf_guarantee_all, 0, 0,fac_commoners,
   [itm_tribal_warrior_outfit, itm_leather_boots],
   0, 0, 0, 0x000000018000000136db6db6db6db6db00000000001db6db0000000000000000],

Try this:


插入代码块:
(troop_set_face_key_from_current_profile, "trp_temp_fighter"),
(spawn_agent,"trp_temp_fighter"),

But I think cmpxchg8b is right.
 
The operation you're looking for is:
插入代码块:
player_set_face_keys          = 2901 #(player_set_face_keys, <player_no>, <face_key_register>), #Sets <player_no>'s face keys to <face_key_register>
Belendor 说:
We can't have more than 128 face keys,  right?
You can't have more than 128 face key registers.
Belendor 说:
Or, can it be cleared just like str_clear for strings?
插入代码块:
face_keys_init             = 2700 #(face_keys_init, <face_key_register>), #Zeroes <face_key_register>
 
状态
不接受进一步回复。
后退
顶部 底部