SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-11-10, 10:13 AM   #1
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default Debugging Scripts

How do I open the Debugging Menu, Viewer, whatever it is, in game?

I do have Debugging Enabled in my main.cfg
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-11-10, 10:19 AM   #2
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Start game in window mode (resolution smaller than your screen resolution) and right click the leading bar on top of the game. There you find Script manager and AI Debugger.
  Reply With Quote
Old 08-11-10, 10:32 AM   #3
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

OK, so just set my game resolution to lower? I don't need to click Alt+Enter to go to window Mode?
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-11-10, 10:36 AM   #4
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

At least i do it that way.
  Reply With Quote
Old 08-11-10, 10:38 AM   #5
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

Hmm.. I'm in windowed Mode.. but not Debugger on the top of the bar.. right click and all it has is Move and Close
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-11-10, 11:45 AM   #6
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
Default

Quote:
Originally Posted by Krauter View Post
Hmm.. I'm in windowed Mode.. but not Debugger on the top of the bar.. right click and all it has is Move and Close

You need to enable Developing mode in your main.cfg found in the SH5 folder in your 'My documents' folder.
There are three lines paciffic to modding that are disabled via ;
just delete the ; to enable the lines.

[DEVELOPING]
;Modding=Yes
;MenuEditor=Yes
;DebugScripts=Yes
reaper7 is offline   Reply With Quote
Old 08-11-10, 11:50 AM   #7
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

All of those are enabled.. here I will post what I think is relevant that I enabled..

Quote:
[DEVELOPING]
;Modding=Yes
;MenuEditor=Yes
;DebugScripts=Yes
Quote:
# Is Automation debugging enabled?
AutomationDebuggingEnabled = True
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-11-10, 12:07 PM   #8
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Krauter View Post
All of those are enabled.. here I will post what I think is relevant that I enabled..
Did you remove the ";" in the following part?
[DEVELOPING]
;Modding=Yes
;MenuEditor=Yes
;DebugScripts=Yes

And, you have to do that not in the SH5 game directory, but in your \documents\SH5\... (where the savegames are located).
  Reply With Quote
Old 08-11-10, 12:08 PM   #9
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

aah no I did not.. will try that now
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-11-10, 01:13 PM   #10
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Looks like it worked.
  Reply With Quote
Old 08-11-10, 01:16 PM   #11
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

It worked but its all jibberish lol.. I can't tell whats making my Automation scripts fail..
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-11-10, 01:21 PM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
It worked but its all jibberish lol.. I can't tell whats making my Automation scripts fail..
post a screenshot. You can also send me your scripts and I'll look them over to see what's wrong.
TheDarkWraith is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.