Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: wookieejedi on July 15, 2013, 06:00:44 pm

Title: Persona Missing
Post by: wookieejedi on July 15, 2013, 06:00:44 pm
I created a custom messages.tbl (following the wiki and the retail table) but when I go into FRED none of the custom personas appear in the ship editor (it just says none). I was wondering if I needed to do something else, or maybe there is another reason? I have extensively checked my lines in messages table, and no errors come up, so it doesn't appear to be due to the format of the table. I have attached the table contents below.

I searched for a good while through the forums and the wiki but didn't find anything, so any assistance would be greatly appreciated.


Thanks!

Code: [Select]

; Star Wars Animations + Voice pack. 
;----------------------------------------------------------------------------------------

#Message Frequencies

;$Name: ;Available Values: See $Name in Messages.tbl, such as 'arrive enemy' or 'attack target'
;+Occurrence Chance: ;Optional. Defines the % chance this message will be played when the associated event occurs. For example, if you score a kill, and the +Occurrence Chance: is 10 for a Praise message, then there is a 10% chance that you a Praise message will play.
;+Maximum Count: ;Optional. Defines the maximum number of times this message will be played during a given mission.
;+Minimum Delay: ;Optional. Milliseconds, defines the minimum delay time between being queue by the game and the time the message actually plays. (This helps simulate "organic" AI's)

$Name: All Clear ; ? Not used currently
+Occurrence Chance: 100 ; ? Not used currently
+Maximum Count: 900 ; ? Not used currently
+Minimum Delay: 1200 ; ? Not used currently

$Name: Arrive Enemy
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 900

$Name: Attack Target
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 700

$Name: Backup
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 1100

$Name: Beta Arrived
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 1200

$Name: Check 6
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 300

$Name: Death
+Occurrence Chance: 80
+Maximum Count: 900
+Minimum Delay: 1200

$Name: Delta Arrived
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 1100

$Name: Depart
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 700

$Name: Disable Target
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 700

$Name: Disarm Target
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 700

$Name: Engage
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 800

$Name: Epsilon Arrived
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 1200

$Name: Gamma Arrived
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 1300

$Name: Help
+Occurrence Chance: 80
+Maximum Count: 900
+Minimum Delay: 900

$Name: Ignore Target
+Occurrence Chance: 80
+Maximum Count: 900
+Minimum Delay: 900

$Name: No
+Occurrence Chance: 90
+Maximum Count: 900
+Minimum Delay: 900

$Name: No Target
+Occurrence Chance: 65
+Maximum Count: 900
+Minimum Delay: 900

$Name: Player Dead
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 1200

$Name: Praise
+Occurrence Chance: 35
+Maximum Count: 900
+Minimum Delay: 700

$Name: Rearm
+Occurrence Chance: 50
+Maximum Count: 900
+Minimum Delay: 900

$Name: Repair
+Occurrence Chance: 50
+Maximum Count: 900
+Minimum Delay: 900

;$Name: Stray ; Not used currently
;+Occurrence Chance: _ ; Not used currently
;+Maximum Count: _ ; Not used currently
;+Minimum Delay: _ ; Not used currently

$Name: Stray Warning
+Occurrence Chance: 65
+Maximum Count: 900
+Minimum Delay: 100

$Name: Traitor
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 200

$Name: yes
+Occurrence Chance: 100
+Maximum Count: 900
+Minimum Delay: 900


#Personas

; REBEL
;--------

$Persona: Reel Pilot 1 ; X-1, Head-XWingPilot1
$Type: wingman
+Rebel

$Persona: Rebel Pilot 2  ; X-2, Head-XWingPilot2
$Type: wingman
+Rebel

$Persona: Rebel Pilot 3 ; A-1, Head-AWingPilot1
$Type: wingman
+Rebel

$Persona: Rebel Pilot 4 ; A-2, Head-AWingPilot2
$Type: wingman
+Rebel

$Persona: Rebel Pilot 5 ; Y-1, Head-XWingPilot1 ; (JK) Not used currently
$Type: wingman ; (JK) Not used currently
+Rebel ; (JK) Not used currently

$Persona: Rebel Pilot 6 ; Y-2, Head-XWingPilot2
$Type: wingman
+Rebel

$Persona: Rebel Support Ship ; Freighter, etc, LogoRebel
$Type: Support
+Rebel

$Persona: Rebel Large Ship ; Mon Calamari Cruiser, etc, LogoRebel
$Type: Large
+Rebel

$Persona: Rebel Command 1 ; LogoRebel
$Type: Command
+Rebel

$Persona: Rebel Command 2 ; LogoRebel ; (JK) Not used currently
$Type: Command ; (JK) Not used currently
+Rebel ; (JK) Not used currently


; EMPIRE
;--------

$Persona: Empire Pilot 1 ; TIE, Head-EmpPilot1
$Type: wingman
+Empire

$Persona: Empire Pilot 2 ; TIE, Head-EmpPilot2
$Type: wingman
+Empire

$Persona: Empire Pilot 3 ; TIE, Head-EmpPilot3
$Type: wingman
+Empire

$Persona: Empire Pilot 4 ; TIE, Head-EmpPilot4
$Type: wingman
+Empire

$Persona: Empire Pilot 5 ; TIE, Head-EmpPilot1 ; (JK) Not used currently
$Type: wingman ; (JK) Not used currently
+Empire ; (JK) Not used currently

$Persona: Empire Pilot 6 ; TIE, Head-EmpPilot2 ; (JK Not used currently
$Type: wingman ; (JK) Not used currently
+Empire ; (JK) Not used currently

$Persona: Empire Support Ship ; Freighter, Corvette, Etc, Head-ImpOf1
$Type: Support
+Empire

$Persona: Empire Large Ship ; Star Destroyer, Head-ImpOf1
$Type: Large
+Empire

$Persona: Empire Command 1 ; LogoEmpire
$Type: Command
+Empire

$Persona: Empire Command 2 ; LogoEmpire ; (JK) Not used currently
$Type: Command ; (JK) Not used currently
+Empire ; (JK) Not used currently


; NEUTRAL
;--------

$Persona: Neutral Pilot 1 ; LogoMessage
$Type: wingman
+Neutral

$Persona: Neutral Pilot 2 ; LogoMessage
$Type: wingman
+Neutral

$Persona: Neutral Support Ship ; LogoMessage
$Type: Support
+Neutral

$Persona: Neutral Large Ship ; LogoMessage
$Type: Large
+Neutral

$Persona: Neutral Command ; LogoMessage
$Type: Command
+Neutral

#Messages ; ***is no code support*** and the .wav file is optional

;; ***?$Name: All Clear?***--------------------------------------------------------------------------------

$Name: All Clear
$Message: XSTR("", -1)
+Persona: Rebel Pilot 1
+Avi Name: Head-XWingPilot1
+Wave Name: All_Clear_RW1.wav

$Name: All Clear
$Message: XSTR("", -1)
+Persona: Rebel Pilot 2
+Avi Name: Head-XWingPilot2
+Wave Name: All_Clear_RW2.wav

$Name: All Clear
$Message: XSTR("", -1)
+Persona: Rebel Pilot 3
+Avi Name: Head-AWingPilot1
+Wave Name: All_Clear_RW3.wav

$Name: All Clear
$Message: XSTR("", -1)
+Persona: Rebel Pilot 4
+Avi Name: Head-AWingPilot2
+Wave Name: All_Clear_RW4.wav

$Name: All Clear
$Message: XSTR("", -1)
+Persona: Rebel Pilot 5
+Avi Name: Head-XWingPilot1
+Wave Name: All_Clear_RW1.wav

$Name: All Clear
$Message: XSTR("", -1)
+Persona: Rebel Pilot 6
+Avi Name: Head-XWingPilot2
+Wave Name: All_Clear_RW1.wav

;; $Name: Arrive Enemy--------------------------------------------------------------------------------

;; $Name: Attack Target--------------------------------------------------------------------------------

;; $Name: Backup--------------------------------------------------------------------------------

;; $Name: Beta Arrived--------------------------------------------------------------------------------

;; $Name: Check 6--------------------------------------------------------------------------------

;; $Name: Death--------------------------------------------------------------------------------

;; $Name: Delta Arrived--------------------------------------------------------------------------------

;; $Name: Depart--------------------------------------------------------------------------------

;; $Name: Disable Target--------------------------------------------------------------------------------

;; $Name: Disarm Target--------------------------------------------------------------------------------

;; $Name: Engage--------------------------------------------------------------------------------

;; $Name: Epsilon Arrived--------------------------------------------------------------------------------

;; $Name: Gamma Arrived--------------------------------------------------------------------------------

;; $Name: Help--------------------------------------------------------------------------------

;; $Name: Ignore Target--------------------------------------------------------------------------------

;; $Name: No--------------------------------------------------------------------------------

;; $Name: No Target--------------------------------------------------------------------------------

;; $Name: Player Dead--------------------------------------------------------------------------------

;; $Name: Praise--------------------------------------------------------------------------------

;; $Name: Rearm--------------------------------------------------------------------------------

;; $Name: Repair--------------------------------------------------------------------------------

;; ***$Name: Stray***--------------------------------------------------------------------------------

;; $Name: Stray Warning--------------------------------------------------------------------------------

;; $Name: Traitor--------------------------------------------------------------------------------

;; $Name: yes--------------------------------------------------------------------------------

$Name: Yes
$Message: XSTR("", -1)
+Persona: Rebel Pilot 1
+Avi Name: Head-XWingPilot1
+Wave Name: Yes_RW1.wav

$Name: Yes
$Message: XSTR("", -1)
+Persona: Rebel Pilot 2
+Avi Name: Head-XWingPilot2
+Wave Name: Yes_RW2.wav

$Name: Yes
$Message: XSTR("", -1)
+Persona: Rebel Pilot 3
+Avi Name: Head-AWingPilot1
+Wave Name: Yes_RW3.wav

$Name: Yes
$Message: XSTR("", -1)
+Persona: Rebel Pilot 4
+Avi Name: Head-AWingPilot2
+Wave Name: Yes_RW4.wav

#end
Title: Re: Persona Missing
Post by: FekLeyrTarg on July 15, 2013, 06:39:51 pm
I'm not exactly an expert in FSO but are you sure that "+Rebel" and "+Empire" work? Hmmm... have you tried to use something like "+Vasudan" or "+Shivan" instead? (That's how it was done in the demo of WCSaga.)
Title: Re: Persona Missing
Post by: wookieejedi on July 15, 2013, 07:46:23 pm
I'm not exactly an expert in FSO but are you sure that "+Rebel" and "+Empire" work? Hmmm... have you tried to use something like "+Vasudan" or "+Shivan" instead? (That's how it was done in the demo of WCSaga.)

To my knowledge they do, as I defined them in the species_def.tbl.
Title: Re: Persona Missing
Post by: MatthTheGeek on July 16, 2013, 12:50:28 am
WCS was based on a version of FSO that is about as old as 3.6.10. What happens there is no longer relevant to what happens here.
Title: Re: Persona Missing
Post by: karajorma on July 16, 2013, 01:16:35 am
Old tables should still work in FS2_Open though. And the WCS demo was released before the fork.

We can't really test what's going on without the species.tbl
Title: Re: Persona Missing
Post by: wookieejedi on July 16, 2013, 06:10:15 am
OK, somehow I got it working (not sure how)...So feel free to delete topic if required

Old tables should still work in FS2_Open though. And the WCS demo was released before the fork.

We can't really test what's going on without the species.tbl

Here it is:

Code: [Select]
#SPECIES DEFS

$NumSpecies: 3 

;------------------------
; Rebel
;------------------------
$Species_Name: Rebel
$Default IFF: Friendly
$FRED Color: ( 0, 210, 0 )
$MiscAnims:
   +Debris_Texture: debris01a
   +Shield_Hit_ani: shieldhit01a
$ThrustAnims:
   +Normal: Thruster02-03
   +Afterburn: Thruster02-03a
   +Sec_Normal: Thruster03-03
   +Sec_Afterburn: Thruster03-03a
   +Ter_Normal: Thruster03-03
   +Ter_Afterburn: Thruster03-03a
   +Dist_Normal: Thruster03-03
   +Dist_Afterburn: Thruster03-03a
$ThrustGlows:
   +Normal: ThrusterGlow03
   +Afterburn: ThrusterGlow03a
$AwacsMultiplier: 1.00

;------------------------
; Empire
;------------------------
$Species_Name: Empire
$Default IFF: Hostile
$FRED Color: ( 210, 0, 0 )
$MiscAnims:
   +Debris_Texture: debris01a
   +Shield_Hit_ani: shieldhit01a
$ThrustAnims:
   +Normal: Thruster02-01LessHaze
   +Afterburn: Thruster02-01
   +Sec_Normal: Thruster03-01
   +Sec_Afterburn: ThrusterGlow01
   +Ter_Normal: Thruster03-01
   +Ter_Afterburn: ThrusterGlow01
   +Dist_Normal: Thruster03-01
   +Dist_Afterburn: ThrusterGlow01
$ThrustGlows:
   +Normal: Thruster03-01
   +Afterburn: ThrusterGlow01
$AwacsMultiplier: 1.00

;------------------------
; Neutral
;------------------------
$Species_Name: Neutral
$Default IFF: Neutral
$FRED Color: ( 0, 0, 210 )
$MiscAnims:
   +Debris_Texture: debris01c
   +Shield_Hit_ani: shieldhit01a
$ThrustAnims:
   +Normal: Thruster02-02
   +Afterburn: Thruster02-01a
   +Sec_Normal: Thruster03-02
   +Sec_Afterburn: Thruster03-02a
   +Ter_Normal: Thruster03-02
   +Ter_Afterburn: Thruster03-02a
   +Dist_Normal: Thruster03-02
   +Dist_Afterburn: Thruster03-02a
$ThrustGlows:
   +Normal: ThrusterGlow02
   +Afterburn: ThrusterGlow02a
$AwacsMultiplier: 1.00

#END