Hi all,
First of all , i've read carefully the hardlight freespace2 wiki tables section carefully,
Given that information i got two problem i can't manage to solve for now.
I use the 3_6_10-20071028T build for now
The first one councerne the subspace missile system, so as i ve read , on the ssm.tbl i got this :
;; subspace missile strike definition
"$SSM:
+Weapon:Tpunishment
+Count: 5
+WarpRadius: 100
+WarpTime: 3
+Radius: 1000
+Offset: 1500
#end
and in the weapons.tbl the given nam missile looks like this :
; ----------------------------------------------------------------------------------
; Tyranic fury missile
;
$Name: @TFury
+Title: XSTR(TmwI Tyranic Fury)
+Description:
XSTR(
"Standard Issue
Fire and Forget")
$end_multi_text
+Tech Title: XSTR("Tyranik Fury Missile")
+Tech Anim: Tech_GTM_MX-64_Rockeye
+Tech Description:
XSTR(
"The TMWI Fury is a deadly fast and accurate missile, a new generation coming in the
Tyranic army the Tyranic Fury will certainly make his prove on the heat of the battle"
$end_multi_text
$Model File: rockeye.pof
$Mass: 5.0
$Velocity: 350.0
$Fire wait: 5.0
$Damage: 80
$Blast Force: 400
$Inner Radius: 20
$Outer Radius: 40
$Shockwave Speed: 0.0
$Armor Factor: 1.0
$Shield Factor: 0.1
$Subsystem Factor: 1.0
$Lifetime: 10.0
$Energy Consumed: 0.0
$Cargo Size: 4.0
$Homing: YES
;; the following indented fields are only required when $Homing is YES
+Type: ASPECT
;; Legal: HEAT,
ASPECT
+Turn Time: 0.30
+Min Lock Time: 3.0
;; Minimum lock
time (in seconds)
+Lock Pixels/Sec: 60
;; Pixels moved per sec while locking
+Catch-up Pixels/Sec: 100
;; Pixels moved per sec
while catching up
+Catch-up Penalty: 30
$Local SSM:
+Warpout Delay: 500.0
+Warpin Delay: 500.0
+Stage 5 Velocity: 80.0
+Warpin Radius: 50.0
+Lock Range: 500.0
$LaunchSnd: 87
;; The sound it makes when fired
$ImpactSnd: 88
;; The sound it makes when it hits something
$FlyBySnd: -1
$Rearm Rate: 4.0
$Flags: ("player allowed"
"No Dumbfire" "local ssm")
$Trail:
+Start Width: 0.4
;; Width of trail nearest missile
+End Width: 0.1
;; Width of trail before it "evaporates"
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 0.2
;; how many seconds before trail disappears
+Bitmap: newmiss3
;; Bitmap
used to draw trail
$Icon: iconMX-64
$Anim: mx64
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius: 5.0
When with that tables entry i launch the game, i got the error :
Error:Required token = [#End] or [$Name], found [$Local SSM:]
So i think i'm wrong somewhere with my local ssm, but i don't see where exactly???
Ok now the second problem is about thruster and sound,
in the sound table i fill some empty entry (175 176 and 177) and in my ships.tbl thruster settings i wrote this :
$Thruster:
+Used for: ( "pitch down" "slide down" )
+Position: (-0.000000 1.000001 12.700002)
+Normal: ( -0.000000 1.500001 12.700002)
+Texture: Plasmathrust
+Radius: 0.25
+Length: 0.5
+StartSnd: 175
+LoopSnd: 176
+StopSnd: 177
my sound tbl entry are :
$Name: 175 thrusterV1start.wav, 0, 0.50, 1, 50, 400 ;Debut Thrust
$Name: 176 thrusterV1loop.wav, 0, 0.50, 1, 50, 400 ;Boucle Thrust
$Name: 177 thrusterV1end.wav, 00, 0.50, 1, 50, 400
my sounds are 22khz 16bit mono (same format i use for my gatling sound that works pretty well already)
so with that sounds when i play the game, if i move my joytsick, the game crash without message.
Does filling in empty entry a bad way to include new sound? should i better replace an existing entry instead?
Thanks for your help guys