[强] 好,顶一个..........
俺现在,正在重做Fushe图,旋翼空战的那个,很头疼的加不上2号位驾驶员的AAM,老孔帮忙看看代码,俺从J10拔过来改的.........
rem ---------------------------------------z10_ArcherLauncher-------------------------------------------------
ObjectTemplate.create GenericFireArm ahe_z10_ArcherLauncher
ObjectTemplate.modifiedByUser shan
ObjectTemplate.createdInEditor 1
rem ---BeginComp:WeaponHud ---
ObjectTemplate.createComponent WeaponHud
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\bomb.tga
ObjectTemplate.weaponHud.selectIcon Ingame\Weapons\Icons\Hud\Selection\archer_missile.tga
ObjectTemplate.weaponHud.hudName "z10_aa11_missile"
ObjectTemplate.weaponHud.guiIndex 44
ObjectTemplate.weaponHud.hasFireRate 0
ObjectTemplate.weaponHud.addShowOnCamMode 2
ObjectTemplate.weaponHud.displaySelectOnActivation 1
ObjectTemplate.weaponHud.firstLockSound HUD_Air_to_Air_Heatseeker_Track
ObjectTemplate.weaponHud.secondLockSound HUD_Air_to_Air_Heatseeker_Lock
rem ---EndComp ---
rem ---BeginComp:MultiFireComp ---
ObjectTemplate.createComponent MultiFireComp
ObjectTemplate.fire.roundsPerMinute 1200
rem ---------------------------------------------------------------------------------------------------------
ObjectTemplate.fire.fireInput PIAltFire
rem ---------------------------------------------------------------------------------------------------------
ObjectTemplate.fire.addFireRate 0
ObjectTemplate.fire.useDummyProjectiles 1
ObjectTemplate.fire.addBarrelName aa11_archerdummy
rem ---EndComp ---
rem ---BeginComp:DefaultAmmoComp ---
ObjectTemplate.createComponent DefaultAmmoComp
ObjectTemplate.ammo.nrOfMags 1
ObjectTemplate.ammo.magSize 4
ObjectTemplate.ammo.autoReload 1
ObjectTemplate.ammo.reloadWithoutPlayer 1
rem ---EndComp ---
rem ---BeginComp:HelpHud ---
ObjectTemplate.createComponent HelpHud
ObjectTemplate.HelpHud.lowAmmoHelpSoundKey "HUD_HELP_VEHICLE_JET_LOWAMMO_flyOverFriendlyAirField"
ObjectTemplate.HelpHud.lowAmmoHelpStringKey "HUD_HELP_VEHICLE_JET_LOWAMMO_flyOverFriendlyAirField"
rem ---EndComp ---
rem ---BeginComp:SimpleDeviationComp ---
ObjectTemplate.createComponent SimpleDeviationComp
rem ---EndComp ---
rem ---BeginComp:DefaultSoundComp ---
ObjectTemplate.createComponent DefaultSoundComp
rem ---EndComp ---
rem ---BeginComp:DefaultAnimationComp ---
ObjectTemplate.createComponent DefaultAnimationComp
rem ---EndComp ---
rem ---BeginComp:DefaultZoomComp ---
ObjectTemplate.createComponent DefaultZoomComp
ObjectTemplate.zoom.addZoomFactor 0
rem ---EndComp ---
rem ---BeginComp:MultiFireArmTargetComp ---
ObjectTemplate.createComponent MultiFireArmTargetComp
ObjectTemplate.target.maxDistance 375
ObjectTemplate.target.targetSystem TSHeatSeeking
ObjectTemplate.target.lockDelay 1
ObjectTemplate.target.lockAngle 15
rem ---EndComp ---
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
ObjectTemplate.aiTemplate J10Archer
rem -------------------------------------
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_Fire1P
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_Fire1P_Outdoor
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_Fire3P
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_BoltClick
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_TriggerClick
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_SwitchFireRate
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_Reload1P
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_Reload3P
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_Deploy1P
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_Deploy3P
ObjectTemplate.addTemplate S_AHE_Z10_ArcherLauncher_Zoom
ObjectTemplate.addTemplate aa11_archerdummy
ObjectTemplate.setPosition -2.00022/0.158286/0.338659
ObjectTemplate.setRotation 0/-2.2/0
ObjectTemplate.addTemplate aa11_archerdummy
ObjectTemplate.setPosition 2.00022/0.158286/0.338659
ObjectTemplate.setRotation 0/-2.2/0
rem -------------------------------------
ObjectTemplate.projectileTemplate aa11_archer
ObjectTemplate.velocity 75
ObjectTemplate.itemIndex 2
话说......2号位的ahe_z10_S8Launcher是
ObjectTemplate.fire.fireInput PIFire
和
ObjectTemplate.itemIndex 1
就是实际中根本切不出来、、、、、、累了2天了、、、、[晕]
另,请教,1号位武控官,切机炮和TV蛋,大家是不是都是键1/2来的,键2直接切出TV HUD,而且是固定的视角.........
我咋感觉那么别扭,假.........[晕]
我赶脚应该是键2,先是大视野HUD(还可以观察战场态势),然后右键出TV吧(而且HUD视角也可以左右调整一定的角度),就像固定翼那样,这部分代码高手谁给个建议......[再见]
|