Author Topic: tbm help  (Read 1525 times)

0 Members and 1 Guest are viewing this topic.

Offline ReeNoiP

  • 27
  • I FRED
I'm trying to add a simple weapon to my mod using a tbm. Pretty much copy pasted to subach entry and changed a few values and saved in modfolder/tables as pushgun-wep.tbm. No other -wep.tbm or weapons.tbl exists in mod/tables.

I can select it in FRED but it disappears in-game (Turns into no weapon when equipped from FRED, can't be seen as loadout). Any help on why this is not working?

Code: [Select]
#Primary Weapons

; ----------------------------------------------------------------------------------
; Pushgun
;
$Name:                                  @Pushgun
+Title:                                 XSTR("Pushgun X2000", -1)
+Description:
XSTR(
"Pushes things around", -1)
$end_multi_text
+Tech Title:     XSTR("Pushgun X2000", -1)
+Tech Anim:                     Tech_Subach_HL-7
+Tech Description:
XSTR(
"The Pushgun X2000 is the ultimate tool when it comes to pushing people (or other things) around", -1)
$end_multi_text
$Model File: none
; The following fields (preceded by @) are only required for laser
; rendering, which requires that "Model File:" be none.
; These are the same values that used to be hard-coded:
@Laser Bitmap: newglo9
@Laser Glow: 2_laserglow03
@Laser Color: 250, 0, 0
@Laser Color2: 0, 0, 250
@Laser Length: 10.0
@Laser Head Radius: 0.90
@Laser Tail Radius: 0.90
$Mass: 5
$Velocity: 450.0 ;; speed of the weapon (initially) -- may or may not change
$Fire Wait: 0.2 ;; in seconds
$Damage: 0
$Armor Factor: 0.9
$Shield Factor: 0.7
$Subsystem Factor: 0.3
$Lifetime: 2.0 ;; How long this thing lives
$Energy Consumed: 0.20 ;; Energy used when fired
$Cargo Size: 0.0 ;; Amount of space taken up in weapon cargo
$Homing: NO
$LaunchSnd: 76 ;; The sound it makes when fired
$ImpactSnd: 85 ;; The sound it makes when it hits something
+Weapon Range: 100000 ;; Limit to range at which weapon will actively target object
$Flags: ("in tech database" "player allowed" "stream")
$Icon: iconSD4
$Anim: SD4
$Impact Explosion: none
#End
Uncharted Territory is released. But I still need voice actors

 

Offline Qent

  • 29
Did you add a few to the team loadout in FRED and add it to Allowed PBanks on a ship?

  

Offline ReeNoiP

  • 27
  • I FRED
Did you add a few to the team loadout in FRED and add it to Allowed PBanks on a ship?

 :banghead: Forgot the ship.
Uncharted Territory is released. But I still need voice actors