暂存
This commit is contained in:
Binary file not shown.
@@ -41,6 +41,7 @@
|
||||
<soundCast>ChargeLance_Fire</soundCast>
|
||||
<soundCastTail>GunTail_Medium</soundCastTail>
|
||||
<muzzleFlashScale>7</muzzleFlashScale>
|
||||
<forcedMissRadius>1</forcedMissRadius>
|
||||
<requireLineOfSight>false</requireLineOfSight>
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<ThingDef ParentName="BaseHumanMakeableGun">
|
||||
<defName>WULA_RW_MeltBeam_Cannon_Example</defName>
|
||||
<label>铋晶Melt射线炮 (示例)</label>
|
||||
<description>一个使用Verb_ShootMeltBeam的示例武器。它会扫射出两条弯曲的能量光束,并造成范围爆炸。</description>
|
||||
<techLevel>Ultra</techLevel>
|
||||
<graphicData>
|
||||
<texPath>Wula/Weapon/WULA_RW_DM_Cannon</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.5</drawSize>
|
||||
</graphicData>
|
||||
<weaponTags>
|
||||
<li>Wula_Ranged_Weapon_T4</li>
|
||||
</weaponTags>
|
||||
<uiIconScale>0.8</uiIconScale>
|
||||
<soundInteract>Interact_ChargeRifle</soundInteract>
|
||||
<recipeMaker>
|
||||
<recipeUsers Inherit="False">
|
||||
<li>WULA_Cube_Productor_Energy</li>
|
||||
</recipeUsers>
|
||||
<researchPrerequisite>WULA_Synth_Weapon_4_DM_Base_Technology</researchPrerequisite>
|
||||
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
|
||||
</recipeMaker>
|
||||
<costList Inherit="False">
|
||||
<Steel>500</Steel>
|
||||
<Plasteel>300</Plasteel>
|
||||
<WULA_Dark_Matter_Item>6</WULA_Dark_Matter_Item>
|
||||
</costList>
|
||||
<statBases>
|
||||
<WorkToMake>50000</WorkToMake>
|
||||
<Mass>10</Mass>
|
||||
<AccuracyTouch>0.6</AccuracyTouch>
|
||||
<AccuracyShort>0.6</AccuracyShort>
|
||||
<AccuracyMedium>0.6</AccuracyMedium>
|
||||
<AccuracyLong>0.6</AccuracyLong>
|
||||
<RangedWeapon_Cooldown>3</RangedWeapon_Cooldown>
|
||||
</statBases>
|
||||
<verbs>
|
||||
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
|
||||
<verbClass>WulaFallenEmpire.Verb_ShootMeltBeam</verbClass>
|
||||
|
||||
<!-- 基础射线参数 -->
|
||||
<hasStandardCommand>true</hasStandardCommand>
|
||||
<warmupTime>1.5</warmupTime>
|
||||
<range>25</range>
|
||||
<burstShotCount>20</burstShotCount>
|
||||
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
|
||||
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
|
||||
|
||||
<!-- 核心光束塑形参数 -->
|
||||
<beamFullWidthRange>12</beamFullWidthRange> <!-- 光束达到最大宽度的距离 -->
|
||||
<beamWidth>5</beamWidth> <!-- 光束的最大宽度 -->
|
||||
<beamMaxDeviation>0.8</beamMaxDeviation> <!-- 光束路径的随机偏移量 -->
|
||||
<beamCurvature>0.7</beamCurvature> <!-- 光束的弯曲程度 -->
|
||||
<beamStartOffset>0.5</beamStartOffset> <!-- 光束起始点距离发射者的偏移 -->
|
||||
|
||||
<!-- 视觉和音效 -->
|
||||
<muzzleFlashScale>0</muzzleFlashScale>
|
||||
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
|
||||
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
|
||||
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
|
||||
<beamMoteDef>Mote_Wula_Dark_Matter_Beam</beamMoteDef>
|
||||
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
|
||||
|
||||
<!-- 火焰效果 -->
|
||||
<beamSetsGroundOnFire>true</beamSetsGroundOnFire> <!-- 光束是否点燃地面 -->
|
||||
<beamChanceToStartFire>0.5</beamChanceToStartFire>
|
||||
<beamChanceToAttachFire>0.5</beamChanceToAttachFire>
|
||||
<beamFireSizeRange>0.2~0.4</beamFireSizeRange> <!-- 火焰大小范围 -->
|
||||
|
||||
<!-- 其他射线属性 -->
|
||||
<beamHitsNeighborCells>true</beamHitsNeighborCells>
|
||||
<stopBurstWithoutLos>false</stopBurstWithoutLos> <!-- 即使失去视野也继续扫射 -->
|
||||
|
||||
<!-- 攻击目标设置 -->
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
</targetParams>
|
||||
|
||||
<!-- 爆炸参数 -->
|
||||
<enableExplosion>true</enableExplosion>
|
||||
<explosionShotInterval>3</explosionShotInterval> <!-- 每3次射击判定一次爆炸 -->
|
||||
<explosionRadius>2.5</explosionRadius>
|
||||
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
|
||||
<explosionDamage>20</explosionDamage>
|
||||
<explosionSound>Explosion_Bomb</explosionSound>
|
||||
<chanceToStartFire>0.6</chanceToStartFire>
|
||||
<screenShakeFactor>0.3</screenShakeFactor> <!-- 爆炸时的屏幕震动 -->
|
||||
</li>
|
||||
</verbs>
|
||||
<tradeability>None</tradeability>
|
||||
<thingSetMakerTags>
|
||||
<li>RewardStandardQualitySuper</li>
|
||||
</thingSetMakerTags>
|
||||
</ThingDef>
|
||||
|
||||
</Defs>
|
||||
108
1.6/Defs/ThingDefs_Misc/Weapons/WULA_Weapon_MeltBeam_Example.xml
Normal file
108
1.6/Defs/ThingDefs_Misc/Weapons/WULA_Weapon_MeltBeam_Example.xml
Normal file
@@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<ThingDef ParentName="BaseHumanMakeableGun">
|
||||
<defName>WULA_RW_MeltBeam_Cannon_Example</defName>
|
||||
<label>铋晶Melt射线炮 (示例)</label>
|
||||
<description>一个使用Verb_ShootMeltBeam的示例武器。它会扫射出两条弯曲的能量光束,并造成范围爆炸。</description>
|
||||
<techLevel>Ultra</techLevel>
|
||||
<graphicData>
|
||||
<texPath>Wula/Weapon/WULA_RW_DM_Cannon</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.5</drawSize>
|
||||
</graphicData>
|
||||
<weaponTags>
|
||||
<li>Wula_Ranged_Weapon_T4</li>
|
||||
</weaponTags>
|
||||
<uiIconScale>0.8</uiIconScale>
|
||||
<soundInteract>Interact_ChargeRifle</soundInteract>
|
||||
<recipeMaker>
|
||||
<recipeUsers Inherit="False">
|
||||
<li>WULA_Cube_Productor_Energy</li>
|
||||
</recipeUsers>
|
||||
<researchPrerequisite>WULA_Synth_Weapon_4_DM_Base_Technology</researchPrerequisite>
|
||||
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
|
||||
</recipeMaker>
|
||||
<costList Inherit="False">
|
||||
<Steel>500</Steel>
|
||||
<Plasteel>300</Plasteel>
|
||||
<WULA_Dark_Matter_Item>6</WULA_Dark_Matter_Item>
|
||||
</costList>
|
||||
<statBases>
|
||||
<WorkToMake>50000</WorkToMake>
|
||||
<Mass>10</Mass>
|
||||
<AccuracyTouch>0.6</AccuracyTouch>
|
||||
<AccuracyShort>0.6</AccuracyShort>
|
||||
<AccuracyMedium>0.6</AccuracyMedium>
|
||||
<AccuracyLong>0.6</AccuracyLong>
|
||||
<RangedWeapon_Cooldown>3</RangedWeapon_Cooldown>
|
||||
</statBases>
|
||||
<verbs>
|
||||
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
|
||||
<!-- 这里是我们新创建的 Verb Class -->
|
||||
<verbClass>WulaFallenEmpire.Verb_ShootMeltBeam</verbClass>
|
||||
|
||||
<!-- 基础射线参数 -->
|
||||
<hasStandardCommand>true</hasStandardCommand>
|
||||
<warmupTime>1.5</warmupTime>
|
||||
<range>25</range>
|
||||
<burstShotCount>20</burstShotCount>
|
||||
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
|
||||
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
|
||||
|
||||
<!-- 核心光束塑形参数 -->
|
||||
<beamFullWidthRange>12</beamFullWidthRange> <!-- 光束达到最大宽度的距离 -->
|
||||
<beamWidth>5</beamWidth> <!-- 光束的最大宽度 -->
|
||||
<beamMaxDeviation>0.8</beamMaxDeviation> <!-- 光束路径的随机偏移量 -->
|
||||
<beamCurvature>0.7</beamCurvature> <!-- 光束的弯曲程度 -->
|
||||
<beamStartOffset>0.5</beamStartOffset> <!-- 光束起始点距离发射者的偏移 -->
|
||||
|
||||
<!-- 视觉和音效 -->
|
||||
<muzzleFlashScale>0</muzzleFlashScale>
|
||||
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
|
||||
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
|
||||
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
|
||||
<beamMoteDef>Mote_Wula_Dark_Matter_Beam</beamMoteDef>
|
||||
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
|
||||
<beamLineFleckDef>Fleck_ShotGlow</beamLineFleckDef> <!-- 沿光束路径产生的粒子效果 -->
|
||||
<beamLineFleckChanceCurve>
|
||||
<points>
|
||||
<li>(0, 0)</li>
|
||||
<li>(0.65, 0.4)</li>
|
||||
<li>(1, 0.75)</li>
|
||||
</points>
|
||||
</beamLineFleckChanceCurve>
|
||||
|
||||
<!-- 火焰效果 -->
|
||||
<beamSetsGroundOnFire>true</beamSetsGroundOnFire> <!-- 光束是否点燃地面 -->
|
||||
<beamChanceToStartFire>0.5</beamChanceToStartFire>
|
||||
<beamChanceToAttachFire>0.5</beamChanceToAttachFire>
|
||||
<beamFireSizeRange>0.2~0.4</beamFireSizeRange> <!-- 火焰大小范围 -->
|
||||
|
||||
<!-- 其他射线属性 -->
|
||||
<beamHitsNeighborCells>true</beamHitsNeighborCells>
|
||||
<stopBurstWithoutLos>false</stopBurstWithoutLos> <!-- 即使失去视野也继续扫射 -->
|
||||
|
||||
<!-- 攻击目标设置 -->
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
</targetParams>
|
||||
|
||||
<!-- 爆炸参数 -->
|
||||
<enableExplosion>true</enableExplosion>
|
||||
<explosionShotInterval>3</explosionShotInterval> <!-- 每3次射击判定一次爆炸 -->
|
||||
<explosionRadius>2.5</explosionRadius>
|
||||
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
|
||||
<explosionDamage>20</explosionDamage>
|
||||
<explosionSound>Explosion_Bomb</explosionSound>
|
||||
<chanceToStartFire>0.6</chanceToStartFire>
|
||||
<screenShakeFactor>0.3</screenShakeFactor> <!-- 爆炸时的屏幕震动 -->
|
||||
</li>
|
||||
</verbs>
|
||||
<tradeability>None</tradeability>
|
||||
<thingSetMakerTags>
|
||||
<li>RewardStandardQualitySuper</li>
|
||||
</thingSetMakerTags>
|
||||
</ThingDef>
|
||||
|
||||
</Defs>
|
||||
Reference in New Issue
Block a user