Thread: [TEC] SUBROC/ Sea Lance?
View Single Post
Old 08-10-17, 08:23 PM   #15
Templar_4450th
Watch
 
Join Date: Mar 2008
Location: Pensacola, FL, USA
Posts: 16
Downloads: 31
Uploads: 0
Default

The SUBROC's I have added will function normally, dropping the torpedo without a hitch... oddly though, they will only seek out submerged targets. No matter how close the torpedo lands to any surface vessel, the torpedo will simply run a circle pattern and never track the target. I have even increased the sensor range to a pretty ridiculous amount (3000yd sensor) to test it... still no track on surface ships

I have also ensured that the torpedo code is written in weapon.txt before the subroc code.
Torpedo Code:
 
WeaponObjectReference=usn_mk46
WeaponSprite=weapons/sprites/usn_mk16_sprite
WeaponType=TORPEDO
Warhead=175
SurfaceLaunched=FALSE
WireGuided=FALSE
RangeInYards=12000
RunSpeed=35
ActiveRunSpeed=45
TurnRate=30
SensorAngles=60,25
SensorRange=1600
WeaponNoiseValues=150,230
MaxPitchAngle=35
HomeSettings=PASSIVE,ACTIVE
AttackSettings=SNAKE,LEFT,RIGHT
DepthSettings=SHALLOW,DEEP
MinCameraDistance=0.5
ResupplyTime=15
[Model]
ModelFile=weapons/assets/wp_umgt-1
Material=weapons/assets/wp_umgt-1_mat
MaterialTextures=weapons/assets/usn_mk48_tx
MeshPosition=0,0,0
MeshWeapon=UMGT-1
MeshWeaponPropRotation=700
MeshWeaponProp=UMGT-1_prop
MeshPosition=0,0,-0.0354
CavitationParticle=weapons/assets/torpedo_cavitation_particle
MeshPosition=0,0,-0.0236
ParachuteParticle=weapons/assets/parachute
AudioSource=TorpedoEngine
AudioClip=audio/weapons/torpedo_in_water_loop
AudioRollOff=LOGARITHMIC
AudioDistance=1,25
AudioPitch=1
AudioLoop=TRUE
AudioSource=TorpedoSonarPing
AudioClip=audio/environment/sonar_ping_short
AudioRollOff=LOGARITHMIC
AudioDistance=1,25
AudioPitch=1.3
AudioLoop=FALSE;
[/Model]

SUBROC Code:
 
WeaponObjectReference=usn_subroc
WeaponSprite=hud/default/usn_subroc_sprite.png
WeaponType=MISSILE
MissilePayload=usn_mk46
Warhead=0
SurfaceLaunched=FALSE
MaxLaunchDepth=150
WireGuided=FALSE
RangeInYards=55000
RunSpeed=40
CruiseAltitude=150
ActiveRunSpeed=651
TurnRate=10
SensorAngles=60,15
SensorRange=1500
WeaponNoiseValues=190,190
MissileFiringRange=6000,40000
MaxPitchAngle=89
BoosterReleasedAfterSeconds=-1
HomeSettings=FALSE
AttackSettings=FALSE
DepthSettings=SKIM
MinCameraDistance=0.5
ResupplyTime=15
[Model]
ModelFile=weapons/assets/wp_ss-n-16
Material=weapons/assets/wp_ss-n-16_mat
MaterialTextures=weapons/assets/wp_ss-n-16_tx
MeshPosition=0,0,0
MeshWeapon=wp_ss-n-16
MeshWeaponCanister=wp_ss-n-16
MeshPosition=0,0,-0.0594
MissileTrailParticle=weapons/assets/usn_ugm84_missiletrail
MeshPosition=0,0,0
BoosterParticle=weapons/assets/wp_ss-n-16_boosterrelease
AudioSource=MissileLaunch
AudioClip=audio/weapons/missile_launch
AudioRollOff=LOGARITHMIC
AudioDistance=1,25
AudioPitch=1
AudioLoop=FALSE
AudioSource=MissileEngine
AudioClip=audio/weapons/jet_loop
AudioRollOff=LOGARITHMIC
AudioDistance=1,25
AudioPitch=1.1
AudioLoop=TRUE
[/Model]


Any ideas as to what is wrong?
Templar_4450th is offline   Reply With Quote