winok 发表于 2009-8-16 19:53:19

[代码].subsystem子系统文件参数说明

[代码].subsystem子系统文件参数说明

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
subsystem文件说明
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
作者:家园唯一高手
出处:家园官方论坛

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“-------------------装甲类型
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)--扩大次要侦察器范围
-------------

上杉隼人 发表于 2009-11-26 06:37:29

謝謝樓主的分享教材,小弟研究研究看看!~

zhouxian0731 发表于 2010-7-11 23:23:51

以前看到过这个的。。。。。。

germanynacui 发表于 2010-8-12 16:28:10

家园唯一高手看过这个
页: [1]
查看完整版本: [代码].subsystem子系统文件参数说明