Author Topic: Quick Table code problem  (Read 1897 times)

0 Members and 1 Guest are viewing this topic.

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Quick Table code problem
I've been trying to upgrade the Orion in a campaign I’m planning so that its big turrets have three THT's each. Originally I was going to go with salvo fire but when I read about the "ROF" flag on the Wiki I thought I’d give it a try as it'd make a nicer effect. However, it doesn’t seem to be accepting it and I can't work out where I’ve gone wrong, so thought I’d see if someone around here who is a little more used to TBLing with the newer features can see the no doubt obvious muck-up i've made.

Here's the code (I cut out the rest of the Orion entry as it worked fine before I put this in and the error message specifically points to the ROF segment);
Code: [Select]
$Closeup_pos: 0.0, 0.0, -2000
$Closeup_zoom: 0.5
$Score: 1000
$Subsystem: Turret01a, 1.875, 3.0
$Default PBanks: ( "Terran Huge Turret" )
$ROF:
+Use firingpoints
$Flags: ( "check hull" "reset when idle" )
$Subsystem: Turret02a, 1.875, 3.0
$Default PBanks: ( "Terran Huge Turret" )
$ROF:
+Use firingpoints
$Flags: ( "check hull" "reset when idle" )
$Subsystem: Turret03a, 1.875, 3.0
$Default PBanks: ( "Terran Huge Turret" )
$ROF:
+Use firingpoints
$Flags: ( "check hull" "reset when idle" )  
$Subsystem: Turret04a, 1.875, 3.0
$Default PBanks: ( "Terran Huge Turret" )
$ROF:
+Use firingpoints
$Flags: ( "check hull" "reset when idle" )
$Subsystem: Turret05a, 1.875, 3.0
$Default PBanks: ( "Terran Huge Turret" )
$ROF:
+Use firingpoints
$Flags: ( "check hull" "reset when idle" )
$Subsystem: Turret06, 0.625, 2.0
$Default PBanks: ( "Terran Turret" )
$Subsystem: Turret07, 0.625, 2.0


EDIT: Here's the error message btw

Code: [Select]
ships.tbl(line 2054:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [$ROF:].

ntdll.dll! KiFastSystemCallRet
kernel32.dll! WaitForSingleObject + 18 bytes
fred2_open_3_6_12d_INF_SSE2.exe! SCP_DumpStack + 354 bytes
fred2_open_3_6_12d_INF_SSE2.exe! Error + 229 bytes
fred2_open_3_6_12d_INF_SSE2.exe! error_display + 427 bytes
fred2_open_3_6_12d_INF_SSE2.exe! required_string_4 + 388 bytes
fred2_open_3_6_12d_INF_SSE2.exe! parse_ship_values + 19618 bytes
fred2_open_3_6_12d_INF_SSE2.exe! parse_ship + 1013 bytes
fred2_open_3_6_12d_INF_SSE2.exe! parse_shiptbl + 374 bytes
fred2_open_3_6_12d_INF_SSE2.exe! ship_init + 445 bytes
fred2_open_3_6_12d_INF_SSE2.exe! fred_init + 925 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CFREDView::OnCreate + 103 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CWnd::OnWndMsg + 2076 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CWnd::WindowProc + 50 bytes
fred2_open_3_6_12d_INF_SSE2.exe! AfxCallWndProc + 240 bytes
fred2_open_3_6_12d_INF_SSE2.exe! AfxWndProc + 166 bytes
USER32.dll! GetWindowLongW + 1203 bytes
USER32.dll! GetWindowLongW + 1419 bytes
USER32.dll! ReleaseDC + 125 bytes
USER32.dll! CharNextW + 757 bytes
ntdll.dll! KiUserCallbackDispatcher + 46 bytes
USER32.dll! CharNextW + 1070 bytes
USER32.dll! CreateWindowExA + 51 bytes
fred2_open_3_6_12d_INF_SSE2.exe! AfxCtxCreateWindowExA + 163 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CWnd::CreateEx + 332 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CWnd::Create + 153 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CFrameWnd::CreateView + 352 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CFrameWnd::OnCreateClient + 40 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CFrameWnd::OnCreateHelper + 57 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CFrameWnd::OnCreate + 88 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CMainFrame::OnCreate + 55 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CWnd::OnWndMsg + 2076 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CWnd::WindowProc + 50 bytes
fred2_open_3_6_12d_INF_SSE2.exe! AfxCallWndProc + 240 bytes
fred2_open_3_6_12d_INF_SSE2.exe! AfxWndProc + 166 bytes
USER32.dll! GetWindowLongW + 1203 bytes
USER32.dll! GetWindowLongW + 1419 bytes
USER32.dll! ReleaseDC + 125 bytes
USER32.dll! CharNextW + 757 bytes
ntdll.dll! KiUserCallbackDispatcher + 46 bytes
USER32.dll! CharNextW + 1070 bytes
USER32.dll! CreateWindowExA + 51 bytes
fred2_open_3_6_12d_INF_SSE2.exe! AfxCtxCreateWindowExA + 163 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CWnd::CreateEx + 332 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CFrameWnd::Create + 225 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CFrameWnd::LoadFrame + 318 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CDocTemplate::CreateNewFrame + 388 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CSingleDocTemplate::OpenDocumentFile + 370 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CDocManager::OnFileNew + 348 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CWinApp::OnFileNew + 37 bytes
fred2_open_3_6_12d_INF_SSE2.exe! CFREDApp::InitInstance + 1618 bytes
fred2_open_3_6_12d_INF_SSE2.exe! AfxWinMain + 132 bytes
fred2_open_3_6_12d_INF_SSE2.exe! WinMain + 26 bytes
fred2_open_3_6_12d_INF_SSE2.exe! __tmainCRTStartup + 358 bytes
fred2_open_3_6_12d_INF_SSE2.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

Cheers people.
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Quick Table code problem
What's the error message?

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Quick Table code problem
You, uhh, actually need to specify an ROF, you know.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: Quick Table code problem
What's the error message?

Oh yeah, sorry. Added to the top post.

You, uhh, actually need to specify an ROF, you know.

Added 3.0 after the ROF flags (so it reads "$ROF:  3.0", that right?). getting the same error.
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Quick Table code problem
Is the ROF flag even in 3.6.12? Do you need to use a 3.6.13 build?

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Quick Table code problem
Is the ROF flag even in 3.6.12? Do you need to use a 3.6.13 build?

didnt know ROF was implemented thought we were still only using fire wait :wtf:

ROF does not show in the wiki so it's most likely a 3.6.13 feature
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

  

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: Quick Table code problem
Ah yeah... just noticed its makred as .13 (not sure if it was before though, someone must've noticed after i had read it). I'm still running .12.

http://www.hard-light.net/wiki/index.php/Subsystem#.24ROF:

Well, back to salvo fire it is for now. Apprechiate the help guys.

Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.