以下是一个传奇老沙巴克SabukW配置文件脚本样例,以及相关参数的解释和修改方法:
配置文件内容:
[Setup]
CastleName=沙巴克
ChangeDate=2024/1/28 23:02:36
WarDate=2024/1/28 23:02:36
IncomeToday=2024/1/29 0:00:02
TotalGold=12000
TodayIncome=12000
OwnGuild=
[Defense]
CastleMapList=0151,0152,0153,0154,0155,0156,
CastleMap=3
CastleHomeMap=3
CastleHomeX=644
CastleHomeY=290
CastleWarRangeX=100
CastleWarRangeY=100
CastlePlaceMap=0150
CastleSecretMap=D701
CastlePalaceDoorX=631
CastlePalaceDoorY=274
MainDoorX=672
MainDoorY=330
MainDoorName=MainDoor
LeftWallX=624
LeftWallY=278
LeftWallName=LeftWall
CenterWallX=627
CenterWallY=278
CenterWallName=CenterWall
RightWallX=634
RightWallY=271
RightWallName=RightWall
Archer_1_Name=弓箭手
Archer_1_HP=0
Archer_2_Name=弓箭手
Archer_2_HP=0
…
Archer_12_HP=0
Guard_1_Name=守卫
Guard_1_HP=0
Guard_2_Name=守卫
Guard_2_HP=0
…
Guard_4_HP=0
MainDoorOpen=1
MainDoorHP=2134
LeftWallHP=2067
CenterWallHP=2067
RightWallHP=2134
Copy
配置文件参数解释:
CastleName:城堡名称,默认为沙巴克。
ChangeDate:最后更改日期。
WarDate:战争日期。
IncomeToday:今日收入时间。
TotalGold:总金币数。
TodayIncome:今日收入。
OwnGuild:所属军团。
[Defense] 部分参数解释:
CastleMapList:地图列表,以逗号分隔。
CastleMap:城堡地图。
CastleHomeMap:城堡家园地图。
CastleHomeX,CastleHomeY:城堡家园坐标。
CastleWarRangeX,CastleWarRangeY:城堡战争范围。
CastlePlaceMap:城堡位置地图。
CastleSecretMap:城堡秘密地图。
CastlePalaceDoorX,CastlePalaceDoorY:城堡宫殿门坐标。
MainDoorX,MainDoorY:主门坐标。
MainDoorName:主门名称。
LeftWallX,LeftWallY:左墙坐标。
LeftWallName:左墙名称。
CenterWallX,CenterWallY:中墙坐标。
CenterWallName:中墙名称。
RightWallX,RightWallY:右墙坐标。
RightWallName:右墙名称。
Archer_x_Name,Archer_x_HP:弓箭手名称和血量。
Guard_x_Name,Guard_x_HP:守卫名称和血量。
MainDoorOpen:主门是否开启。
MainDoorHP:主门血量。
LeftWallHP,CenterWallHP,RightWallHP:墙壁血量。
修改配置文件: 根据需要修改对应参数,保存修改后的配置文件,并在游戏中加载修改后的配置。
完整脚本:
[Setup]
CastleName=沙巴克
ChangeDate=2024/1/28 23:02:36
WarDate=2024/1/28 23:02:36
IncomeToday=2024/1/29 0:00:02
TotalGold=12000
TodayIncome=12000
OwnGuild=
[Defense]
CastleMapList=0151,0152,0153,0154,0155,0156,
CastleMap=3
CastleHomeMap=3
CastleHomeX=644
CastleHomeY=290
CastleWarRangeX=100
CastleWarRangeY=100
CastlePlaceMap=0150
CastleSecretMap=D701
CastlePalaceDoorX=631
CastlePalaceDoorY=274
MainDoorX=672
MainDoorY=330
MainDoorName=MainDoor
LeftWallX=624
LeftWallY=278
LeftWallName=LeftWall
CenterWallX=627
CenterWallY=278
CenterWallName=CenterWall
RightWallX=634
RightWallY=271
RightWallName=RightWall
Archer_1_Name=弓箭手
Archer_1_HP=0
Archer_2_Name=弓箭手
Archer_2_HP=0
Archer_3_Name=弓箭手
Archer_3_HP=0
Archer_4_Name=弓箭手
Archer_4_HP=0
Archer_5_Name=弓箭手
Archer_5_HP=0
Archer_6_Name=弓箭手
Archer_6_HP=0
Archer_7_Name=弓箭手
Archer_7_HP=0
Archer_8_Name=弓箭手
Archer_8_HP=0
Archer_9_Name=弓箭手
Archer_9_HP=0
Archer_10_Name=弓箭手
Archer_10_HP=0
Archer_11_Name=弓箭手
Archer_11_HP=0
Archer_12_Name=弓箭手
Archer_12_HP=0
Guard_1_Name=守卫
Guard_1_HP=0
Guard_2_Name=守卫
Guard_2_HP=0
Guard_3_Name=守卫
Guard_3_HP=0
Guard_4_Name=守卫
Guard_4_HP=0
MainDoorOpen=1
MainDoorHP=2134
LeftWallHP=2067
CenterWallHP=2067
RightWallHP=2134