Author Topic: Help me out here  (Read 2121 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
So I started fillding with FSO again and suddenly I keep getting of errors for stuff that worked normally before.

Things like:

Code: [Select]
ships.tbl(line 5419):
Error: Required token = [#End], [$Subsystem:], or [$Name], found [$animation: triggered]

it complains about all additional flags, like Turret Base FOV too.. what gives?

the subsystem looks like this:
Code: [Select]
$Subsystem:                     Turret01a, 20.0, 3.0
$Default PBanks:        ( "Heavy Ion Cannon" "Heavy Ion Cannon" )
$Flags: ( "salvo mode" "use multiple guns" "fire on target")
$Turret Base FOV: 300
  $animation: triggered
  $type: initial
  +relative_angle:       90,0,0


Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline niffiwan

  • 211
  • Eluder Class
$Turret Base FOV needs to go before $Flags:, just tested it now to confirm on a recent build.  I can't answer why it used to work, the parsing code for both of them hasn't changed in ages.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
I just moved the flags to the bottom, no luck:


Code: [Select]
ships.tbl(line 5421):
Error: Required token = [#End], [$Subsystem:], or [$Name], found [$Flags: ( "salvo mode" "fire o]

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_4_RC1_SSE2.exe! <no symbol>
fs2_open_3_7_4_RC1_SSE2.exe! <no symbol>
fs2_open_3_7_4_RC1_SSE2.exe! <no symbol>
fs2_open_3_7_4_RC1_SSE2.exe! <no symbol>
fs2_open_3_7_4_RC1_SSE2.exe! <no symbol>
fs2_open_3_7_4_RC1_SSE2.exe! <no symbol>
fs2_open_3_7_4_RC1_SSE2.exe! <no symbol>
fs2_open_3_7_4_RC1_SSE2.exe! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>
<no module>! <no symbol>

Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Kobrar44

  • On Suspended Sentence
  • 29
  • Let me tilerape it for you!
    • Steam
http://www.hard-light.net/wiki/index.php/Subsystem

the only thing that goes after flags is the animation entry..
Oh guys, use that [ url ][ img ][ /img ][ /url ] :/

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
Looks like that was it.
I moved it below the flag and now it works!

Thank you.
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Nyctaeus

  • The Slavic Engineer
  • 212
  • My "FS Ships" folder is 582gb.
    • Minecraft
    • Exile
Don't use "salvo mode" with "use multiple guns". Remove "salvo mode" if you have two kinds of weapons in single turret in favour of "use multiple guns". If you have single kind of weapon in your turret, use "salvo mode" instead and remove second entry. "Salvo mode" will fire your weapon from all available firepoints which your turret has, even if there is only one weapon entry specified in table.

In your current situation, when you have single type of weapon, you should remove second "Heavy Ion Cannon" entry and "use multiple guns" flag.
Exile | Shadow Genesis | Inferno | Series Resurrecta  | DA Profile | P3D Profile

Proud owner of NyctiShipyards. Remember - Nyx will fix it!

All of my assets including models, textures, skyboxes, effects may be used under standard CC BY-NC 4.0 license.

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
Don't use "salvo mode" with "use multiple guns". Remove "salvo mode" if you have two kinds of weapons in single turret in favour of "use multiple guns". If you have single kind of weapon in your turret, use "salvo mode" instead and remove second entry. "Salvo mode" will fire your weapon from all available firepoints which your turret has, even if there is only one weapon entry specified in table.

In your current situation, when you have single type of weapon, you should remove second "Heavy Ion Cannon" entry and "use multiple guns" flag.

But won't "salvo" force all weapons to fire at once, in contrast to "use multiple guns"? Works better for a battleship.



P.S. - I keep running into more errors:

Unidentified priority group 'Fighter' set for objecttype 'Fighter'
Unidentified priority group 'Bomber' set for objecttype 'Bomber'



Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
P.S. - I keep running into more errors:

Unidentified priority group 'Fighter' set for objecttype 'Fighter'
Unidentified priority group 'Bomber' set for objecttype 'Bomber'
...And have you defined targeting priority groups called "Fighter" and "Bomber"?
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.