找回密码
 加入帝国

QQ登录

只需一步,快速开始

查看: 3953|回复: 3

[教程文章] HW2.subs子系统模块配置文件说明

[复制链接]
发表于 2009-1-6 20:16:24 | 显示全部楼层

HW2.subs子系统模块配置文件说明

作者:家园唯一高手
出处:家园官方论坛

.subs文件说明

NewSubSystemType = StartSubSystemConfig()
NewSubSystemType.displayedName = "$2148"---------------------------点击子系统以后所显示的名字
NewSubSystemType.sobDescription = "$2139"--------------------------点击该单位以后所显示的说明
NewSubSystemType.tacticalIcon = "hexagon"--------------------------点击该单位显示的战术级别框
NewSubSystemType.tacticalIconMinSize = 0.0035
NewSubSystemType.tacticalIconMinFadeSize = 0.0045
NewSubSystemType.tacticalIconMaxFadeSize = 0.008-------------------以上3条是战术级别框的显示方式
NewSubSystemType.groupMergeSize = 0.001
NewSubSystemType.mouseOverMinFadeSize = 0.045
NewSubSystemType.mouseOverMaxFadeSize = 0.1
NewSubSystemType.maxhealth = 40000---------------------------------装甲
NewSubSystemType.regentime = 1-------------------------------------装甲回复时间
NewSubSystemType.nlips = 0
NewSubSystemType.nlipsRange = 0
NewSubSystemType.nlipsFar = 0
NewSubSystemType.nlipsFarRange = 0
NewSubSystemType.meshRenderLimit = 0.004
NewSubSystemType.minimumZoomFactor = 0.6800000000000001
NewSubSystemType.selectionLimit = 0---------------------------------选择的距离
NewSubSystemType.preciseATILimit = 0--------------------------------精确选择的距离
NewSubSystemType.selectionPriority = 37.5---------------------------选择优先权
NewSubSystemType.type = "Weapon"------------------------------------类型描述
NewSubSystemType.typeString = "hgn_hdd"-----------------------------单位描述
NewSubSystemType.collateralDamage = 100
NewSubSystemType.inactiveTimeAfterDamage = 80
NewSubSystemType.activateHealthPercentage = 0.1
NewSubSystemType.costToBuild = 700----------------------------------建造价格
NewSubSystemType.timeToBuild = 40-----------------------------------建造时间
NewSubSystemType.isResearch = 0
NewSubSystemType.visible = 1----------------------------------------显示透明度
LoadHODFile(NewSubSystemType,1)-------------------------------------舰船所用的模型
NewSubSystemType.BuildFamily = "SubSystem_Hgn"----------------------建造类型
NewSubSystemType.AttackFamily = "UnAttackable"----------------------攻击类型
NewSubSystemType.DockFamily = "CantDock"----------------------------建造和停泊的级别
NewSubSystemType.DisplayFamily = "SubSystemModule"------------------点击舰船以后显示的级别
NewSubSystemType.ArmourFamily = "SubSystemArmour"-------------------装甲类型(也有的为
NewSubSystemType.ArmourClass)
-------------
StartSubSystemWeaponConfig
(NewSubSystemType,"hgn_LBCkineticburstcannondestroyerTop","Weapon_TurretTop","Weapon_TurretTop")--调用的武器
-------------
AddSubSystemMultiplier(NewSubSystemType,"Speed","ThisShipOnly","Linear",1,0,0)---------调用引擎控制能力
-------------
AddSubSystemMultiplier
(NewSubSystemType,"WeaponAccuracy","OwnShipsWithinRadiusExcludingThisShip","Linear",1.15,1.15,4500)--调用攻击精度能力
AddSubSystemMultiplier
(NewSubSystemType,"WeaponDamage","OwnShipsWithinRadiusExcludingThisShip","Linear",1.15,1.15,4500)---调用攻击伤害系数能力
-------------
AddSubSystemAbility(NewSubSystemType,"Cloak",1,"ThisShipOnly",0)----------------调用隐形能力
-------------
AddSubSystemAbility(NewSubSystemType,"Hyperspace",1,"OwnShipsWithinRadius",3500)-----调用跳跃能力
-------------
AddSubSystemAbility(NewSubSystemType,"HyperspaceInhibitor",1,"ThisShipOnly",0)-------调用反跳跃能力
-------------
AddSubSystemMultiplier(NewSubSystemType,"BuildSpeed","ThisShipOnly","Linear",1.3,1,0)-----调用加速建造能力
-------------
AddSubSystemMultiplier(NewSubSystemType,"CloakDetection","ThisShipOnly","None",4,4,0)--调用反隐形侦察能力
AddSubSystemMultiplier(NewSubSystemType,"VisualRange","ThisShipOnly","None",4,4,0)-----调用隐形侦察能力
-------------
AddSubSystemMultiplier(NewSubSystemType,"PrimarySensorsRange","ThisShipOnly","Linear",2,2,0)---扩大主要侦察器范围
AddSubSystemMultiplier(NewSubSystemType,"SecondarySensorsRange","ThisShipOnly","Linear",2,2,0)--扩大次要侦察器范围
回复

使用道具 举报

发表于 2010-8-9 22:02:21 | 显示全部楼层
有点麻烦。好贴
回复

使用道具 举报

发表于 2010-8-13 02:06:04 | 显示全部楼层
完全可以将所有的能力加载到一个子系统。。
而可以在一个子系统那里建造所有的东西。。
回复

使用道具 举报

发表于 2010-11-23 11:01:24 | 显示全部楼层
这个不错,支持一下楼主!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入帝国

本版积分规则

Archiver|手机版|小黑屋|泰坦帝国

GMT+8, 2024-3-28 17:16 , Processed in 0.159524 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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