implemented customized script extra value & params . (#124)

This commit is contained in:
Zero Fanker 2024-12-14 15:00:59 -05:00 committed by GitHub
parent 51ec33af31
commit 044a6e2da2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 185 additions and 92 deletions

View file

@ -997,6 +997,20 @@ vertic_cornerleft_0=21
19=进入状态,19
20=整数,0
21=布尔,20
22=目标列表,SP_TargetList
[SP_TargetList]
ParseFromSection=TeamTargetTechnoTypes
ExtraValueType=0
[ScriptExtras]
0=SE_TargetScanStrategy
[SE_TargetScanStrategy]
0=0 - 最小威胁
1=1 - 最大威胁
2=2 - 最近距离
3=3 - 最远距离
;Index=Name,ParamType,Obsolete,YROnly,Description
[ScriptsRA2]
@ -1067,7 +1081,7 @@ vertic_cornerleft_0=21
63=63 - 进入战斗碉堡,0,0,0,让小队进入战斗碉堡。
64=64 - 进入可驻军建筑,0,0,0,让小队进驻中立建筑物。
;Hares Only
65=65 - 攻击特定类型的单位,20,0,1,攻击特定类型的科技单位数值为全局TeamTargetTechnoTypes列表中的序号从0开始
65=65 - 攻击特定类型的单位,22,0,1,攻击特定类型的科技单位数值为全局TeamTargetTechnoTypes列表中的序号从0开始
66=66 - 驻扎路径点位置的建筑,2,0,1,派遣步兵单位驻扎路径点位置的建筑如果有不区分小队所属是人类或AI玩家。
67=67 - 摄像机视角跟随,20,0,1,激活/取消摄像机追逐视角设置为该小队成员(所有成员都会标记为跟随,多成员小队慎用)。
68=68 - 小队成员被玩家选中,20,0,1,激活/取消设置该小队成员为选中状态(所有成员都会标记为选中)。