骑马与砍杀中文站论坛

 找回密码
 注册(Register!)

QQ登录

只需一步,快速开始

搜索
购买霸主CDKEY 购买战帆CDKEY
查看: 3082|回复: 1

[求助] 学习魔界mod,做了一个种族mod,但是读取存档又变回人类了.

[复制链接]

2

主题

19

回帖

6

积分

平民

Rank: 1

UID
856955
第纳尔
78
精华
0
互助
0
荣誉
0
贡献
0
魅力
0
注册时间
2012-6-24
鲜花(0) 鸡蛋(0)
发表于 2025-12-6 21:56:33 | 显示全部楼层 |阅读模式
求助,此时应该怎么解决?

1

主题

31

回帖

10

积分

随仆

Rank: 1

UID
3840361
第纳尔
0
精华
0
互助
0
荣誉
0
贡献
0
魅力
0
注册时间
2026-1-13
鲜花(0) 鸡蛋(0)
发表于 2026-1-14 19:34:52 | 显示全部楼层
Warband will clip your skins once they have a value > 15 during a file save.
Make very sure you do not have > 15 (counting from 0) skins defined at module_skins.py

WSE2 sort-of lets you run more skins, but they still get clipped when saving.  You need to store the skin_id to another slot and periodically set each troop using high skin values to the saved value.  I did that successfully at the mod I am now working on, for 23 actual skins and another 10 virtual skins for role playing relations buff/debuffs.  This is a continuation of something I made for Warsword Conquest around 7 years ago.   At the time I gave up on > 16 and made virtual skins for coding and under 16 for drawing, but actually you can push it a little, just you have to recover from a reloaded savegame where all the skins come back < 16.

  You also should look at the masks applied at   header_troops.py   starting with   
tf_hero              = 0x00000010
  this line.  That is blocking use of skin 16 you need to redefine these masks.

  Cheers
  - GS
您需要登录后才可以回帖 登录 | 注册(Register!)

本版积分规则

Archiver|手机版|小黑屋|骑马与砍杀中文站

GMT+8, 2026-2-1 22:47 , Processed in 0.058678 second(s), 19 queries , Gzip On, MemCached On.

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表