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 09-05-10, 09:18 AM   #1
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Hi Raymond and thanks for the feedback.

For any script that requires a dive, The Captain must get down from conning tower deck first. I normally issue the "Pesky Aeroplanes" as im climbing down the ladder.

For TC to halt on contact the following must happen-
Contact detected at hydrophone or scope station.
By this I mean an active station must find the contact.
In most scripts I have set this to pause the game or set TC to1.
You can edit the scripts to achieve what you are saying.
ie on hydrophone settings there 12 options to select. Bit 12 is set TC to 1. Other bits control pause stop etc. (see info within automation folder in sh5\data\automation). Please feel free to change any setting you like and post scripts for others to use

For depth under keel - yes :-
Crash_dive_now,0,0,0,0,0,0,15
Get_depth_under_sub_keel,0,0,0,0,0,0,15

This will get depth 15 seconds after dive command. You then have another 15 sec to react before next command is given.

Is there a way to branch or have one script run another? No not yet but you never know what TDW will add next.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 09-05-10, 09:20 AM   #2
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Thanks Davy for letting me know.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 09-05-10, 12:15 PM   #3
raymond6751
Admirable Mike
 
raymond6751's Avatar
 
Join Date: Mar 2004
Location: Canada
Posts: 1,327
Downloads: 421
Uploads: 0
Default

Quote:
Originally Posted by Trevally. View Post
Hi Raymond and thanks for the feedback.

For any script that requires a dive, The Captain must get down from conning tower deck first. I normally issue the "Pesky Aeroplanes" as im climbing down the ladder.
Ah, thanks. A note to others. I am using Darkwraith's mods, which have a button to teleport to other stations. Apparently, teleporting inside the sub isn't recognized by other scripts wanting to dive. Also, scripts that use TC speed, then slow to dive and search, also have problems because surfacing the boat has placed you, in theory, on the conning tower again. Next dive command I get Cannot Dive Crew On Deck message.
__________________
Game Designer:
Close The Atlantic - World War Three
Author: We The People novel
Available on Amazon and Wargamevault.com
raymond6751 is offline   Reply With Quote
Old 09-05-10, 12:42 PM   #4
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Raymond, yes that is correct.

I did try teleport to an active station and that did allow me to dive (teleport cammand first, than dive). When you exit the active station, you end up back where you teleported from. So if teleporting from bridge to hydrophone- boat will dive. When you exit active station you are back on the bridge, even if underwater.

On the point about leaving the game running, and wanting it to pause game, you can change any script that uses an active station to the following:

Sweep_hydrophone,0,360,300.0,1025,0,0,1
(the number 1025= pause game and inform)

Sweep_Scope,1,0,360,60.0,320,0,5
(the number 320= pause game and inform)
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 09-05-10, 03:15 PM   #5
raymond6751
Admirable Mike
 
raymond6751's Avatar
 
Join Date: Mar 2004
Location: Canada
Posts: 1,327
Downloads: 421
Uploads: 0
Default Wonderful

Superb!

Now the tc scripts make a lot more sense, pausing on contact. One more thing. Apparently the scripts DO NOT halt when any key is pressed. This should happen?

Now, where did you learn this stuff? Is there a reference anywhere?

What I mean is, did the devs put any automation script help into the game docs for the public?

How did you know, for instance, how to pause the game?
__________________
Game Designer:
Close The Atlantic - World War Three
Author: We The People novel
Available on Amazon and Wargamevault.com
raymond6751 is offline   Reply With Quote
Old 09-05-10, 03:21 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by raymond6751 View Post
Superb!

Now the tc scripts make a lot more sense, pausing on contact. One more thing. Apparently the scripts DO NOT halt when any key is pressed. This should happen?

Now, where did you learn this stuff? Is there a reference anywhere?

What I mean is, did the devs put any automation script help into the game docs for the public?

How did you know, for instance, how to pause the game?
You're running my script engine that I created for my UIs mod Documentation for the commands is in the \data\Automation\TDW_Automation.SHA file.
TheDarkWraith is offline   Reply With Quote
Old 09-05-10, 05:59 PM   #7
raymond6751
Admirable Mike
 
raymond6751's Avatar
 
Join Date: Mar 2004
Location: Canada
Posts: 1,327
Downloads: 421
Uploads: 0
Default Yes

Quote:
Originally Posted by TheDarkWraith View Post
You're running my script engine that I created for my UIs mod Documentation for the commands is in the \data\Automation\TDW_Automation.SHA file.
I've read all of your docs, thanks. What I meant with my questions is, where did you learn about automation scripts?

My game manual was thinner than most, with nothing of value. I understand the scripts, in-game, are python - but the automation work isn't.

I feel I/we are missing a lot of information about the game and possibilities.
__________________
Game Designer:
Close The Atlantic - World War Three
Author: We The People novel
Available on Amazon and Wargamevault.com
raymond6751 is offline   Reply With Quote
Old 09-05-10, 06:07 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by raymond6751 View Post
I've read all of your docs, thanks. What I meant with my questions is, where did you learn about automation scripts?

My game manual was thinner than most, with nothing of value. I understand the scripts, in-game, are python - but the automation work isn't.

I feel I/we are missing a lot of information about the game and possibilities.
The Automation work did not come as part of the game. It is something I designed/coded on my own. I sat down and designed how I was going to implement this on paper and then turned the paper into reality via code
TheDarkWraith is offline   Reply With Quote
Old 08-16-12, 08:16 AM   #9
Robin40
Chief
 
Join Date: Aug 2010
Location: Rivoli (Italy)
Posts: 310
Downloads: 162
Uploads: 0
Default

I started a Search on Patrol (looped)

After many cycles I noticed that CO2 level was at 17%

Hope I'm not wrong, but it looks like that CO2 level is not reset to 0 when surfaced

Robin40 is offline   Reply With Quote
Old 08-16-12, 12:18 PM   #10
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by Robin40 View Post
I started a Search on Patrol (looped)

After many cycles I noticed that CO2 level was at 17%

Hope I'm not wrong, but it looks like that CO2 level is not reset to 0 when surfaced
Hi Robin,

This is a SH5 bug
If you see this just save/load to fix
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 08-16-12, 02:28 PM   #11
Robin40
Chief
 
Join Date: Aug 2010
Location: Rivoli (Italy)
Posts: 310
Downloads: 162
Uploads: 0
Default

Quote:
Originally Posted by Trevally. View Post
Hi Robin,

This is a SH5 bug
If you see this just save/load to fix
thx buddy
Robin40 is offline   Reply With Quote
Old 08-20-12, 04:18 AM   #12
arleeds
Watch
 
Join Date: Aug 2012
Location: Jakarta, Indonesia
Posts: 22
Downloads: 86
Uploads: 0
Default Corrupted Automated File

Hi Guys,
Quick question.. why does all the tutorials in sobers mod list that i put in my mod folder (Trevally's auto script v0.6,Trevally's all tutorial for New UI etc), and enable it using JSGME, shows "Corrupted Automated File" on game play?
Need help please..

thanks in advance..

Solution: unable all mods.. go to silent hunter 5\data\Automation... erase every thing.. go back to JSGME, enable all trevally's auto script, harbour and kiel, tutorials all (OHII/new UI)...

hehehhe...

Last edited by arleeds; 08-20-12 at 07:58 AM.
arleeds is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 05:29 PM.


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