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-10-10, 04:35 PM   #3826
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Hans Hansen View Post
hmm, sounds like this could heal the missing searchpattern-functionality as well...

brilliant anyway!
sure can. You can define ANY kind of search pattern(s) you want now
TheDarkWraith is offline   Reply With Quote
Old 08-10-10, 04:45 PM   #3827
Hans Hansen
Loader
 
Join Date: Aug 2009
Posts: 89
Downloads: 216
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
sure can. You can define ANY kind of search pattern(s) you want now
amazing. Kudos!
__________________
H.H.

Gute Jagd!
Hans Hansen is offline   Reply With Quote
Old 08-10-10, 05:09 PM   #3828
von faust
Soundman
 
Join Date: May 2009
Location: Genova, Italy
Posts: 148
Downloads: 430
Uploads: 0
Default

Quote:
Originally Posted by Antar View Post
Mhmmm, good way.
But I suggest other solution for these scripts:
Click on officer icon -> teleport to this officer -> (or click on officer at his station) -> choose the correct script and check status from officer's dialog menu.

Adventages of this proposal:
- next step for "uboat's real life"
- no additional "unrealistic" dialog box for scripts menagement
- usying uboat officers dialog boxes
- no stupid dialogs (scripts instead "Herr kaleun, let's talk about my dog.")

Of course, this is only proposal...
Great idea. If it is possible it would be fantastic !!!

Tanks TDW !!!!
von faust is offline   Reply With Quote
Old 08-10-10, 06:36 PM   #3829
BowfinSS287
Planesman
 
Join Date: Apr 2007
Location: Canada
Posts: 185
Downloads: 223
Uploads: 0
Default

this is completely off the hook.....i would say you have out done
yourself.....but something tells me your going to do it again
its funny when i play SH5 (with your GUI) i feel....this is the way
it should be....but it wasn't out of the box...thanks to you SH5
will stay on my PC for a very long time....thank-you
BowfinSS287 is offline   Reply With Quote
Old 08-10-10, 06:44 PM   #3830
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BowfinSS287 View Post
this is completely off the hook.....i would say you have out done
yourself.....but something tells me your going to do it again
its funny when i play SH5 (with your GUI) i feel....this is the way
it should be....but it wasn't out of the box...thanks to you SH5
will stay on my PC for a very long time....thank-you
they game me the power to program via scripting....that opens up unlimited possibilities

Final testing on v4.0.0 is complete. Packaging up and getting it ready for release now
TheDarkWraith is offline   Reply With Quote
Old 08-10-10, 06:56 PM   #3831
etheberge
Watch Officer
 
Join Date: Nov 2007
Location: Montreal, QC
Posts: 345
Downloads: 614
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
sure can. You can define ANY kind of search pattern(s) you want now
Mmm, do you think there will be a way to use this feature to automatically plot an inbound/outbound course through the Kiel canal ?
__________________

11 War Patrols / 56 ships sunk or damaged for 212,022 tons
Zero casualties throughout the war
Scuttled on 8 May, 1945 in Sonderburg Bay, after German surrender
etheberge is offline   Reply With Quote
Old 08-10-10, 07:12 PM   #3832
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by etheberge View Post
Mmm, do you think there will be a way to use this feature to automatically plot an inbound/outbound course through the Kiel canal ?
it's possible but not for sure. I'll have to write some new commands for it to do that. But that relies on whether I can add waypoints via scripting to the sub or not. If I can then yes it can be done.
TheDarkWraith is offline   Reply With Quote
Old 08-10-10, 07:38 PM   #3833
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

v4.0.0 released The major feature in this version is Automation. Automation is a powerful tool that allows the player to define custom scripts that will be carried out by the crew with NO interaction required by the player. A powerful feature of Automation that I programmed in is that it can be extended - the commands 'known' can be increased by simply defining the command and adding it to the list of Automation's known commands. Once it's defined and registered it can be used in any Automation script.

The Automation scripts can use ANY command known by the game and it also uses custom commands defined by the user. The powerful feature of being able to define custom commands is that they are script code and thus you have access to anything you can do in a script.

Now I know there are going to be many questions regarding Automation so bring 'em on
TheDarkWraith is offline   Reply With Quote
Old 08-10-10, 07:38 PM   #3834
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

Would it be possible to create our own automated sequences on the fly (ie: in the game) by combining or choosing a set/sequence of predetermined actions/options?

Kind of a crappy way to explain, ask if you don't understand and I'll try to explain better
__________________
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-10-10, 07:40 PM   #3835
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
Would it be possible to create our own automated sequences on the fly (ie: in the game) by combining or choosing a set/sequence of predetermined actions/options?

Kind of a crappy way to explain, ask if you don't understand and I'll try to explain better
in the next version I was going to try and add an editor that would allow you to define new scripts and edit existing scripts on the fly. You won't be able to define new commands on the fly with the editor though, only new scripts.

I'll also look into adding a command that will allow you to 'call' another script from within a script.
TheDarkWraith is offline   Reply With Quote
Old 08-10-10, 07:42 PM   #3836
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

Basically what I meant was that:

First, you have your original scripts and automated actions (that came with v.4.0.

Afterwards, you can have an option to combined and alter the scripts in a manner that you go step by step and select pre determined scripts by you to make custom scripts.

In the sense:

Instead of diving listening poking the scope up and then surfacing, I want to simply dive listen and then do a spiral search for 2 hours on 1/3.

So you could have options like:

Opening phase:

A) Submerge Periscope Depth <-- Selected
B) Submerge 40M
C) etc, etc

Middle:

A)Scope up, listen, at 1/3
B)Scope down, listen at 1/3
C)1/3 spiral search for two hours, (scope up/down)

End:

A)Scope up, surface
B) Scope down, listen, surface

OR (if I chose dive to 40M say, a different set of options would appear. such as in the "middle phase" I have options of all stop, spiral search at 1/3 or straight run at 1/3, etc etc)

Hopefully this is clearer

Also, what changes did you do to the Submarine folder?
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?

Last edited by Krauter; 08-10-10 at 08:40 PM.
Krauter is offline   Reply With Quote
Old 08-10-10, 08:49 PM   #3837
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
Hopefully this is clearer

Also, what changes did you do to the Submarine folder?
The sub's snorkel depth was adjusted and the rotating DF loop was added and the radio rod rises when submerging.

Now as far as what you're asking regarding custom scripts I guess I still don't understand. You can create your own custom scripts. It's just a simple matter of editing the TDW_Automation.SHA file. If you really want to get creative and you're familiar with programming and classes then you can make you own commands to use in the automation scripts.
I think what you're asking above is for something like triggers to be added. You're looking for decision making to be added. Decision making is there but not per se. The 'decision making' would have to be coded in to a custom command or an existing command edited.
TheDarkWraith is offline   Reply With Quote
Old 08-10-10, 08:51 PM   #3838
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

Aaah ok, thank you for those two additions (I was wondering who changed them and wanted to thank whoever did )

Nono, basically what I mean is that someone (like me) who does not have experience scripting has the option to make their own automated actions by picking from a list of predetermined scripts/automations as defined by you. All in game of course
__________________
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-10-10, 08:55 PM   #3839
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
Aaah ok, thank you for those two additions (I was wondering who changed them and wanted to thank whoever did )

Nono, basically what I mean is that someone (like me) who does not have experience scripting has the option to make their own automated actions by picking from a list of predetermined scripts/automations as defined by you. All in game of course
you don't need experience in scripting to make your own custom scripts! I made the adding and defining of user custom scripts a simple matter. Have you opened up and looked at \data\Automation\TDW_Automation.SHA? It's documented with comments by me. You'll see it's a snap to make your own custom script.
In the next release I'll try and code in an editor that will allow you to define/edit scripts in game.
TheDarkWraith is offline   Reply With Quote
Old 08-10-10, 09:04 PM   #3840
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

No I haven't taken a look.. lol I'll have to take a look under the hood to see if I can understand anything
__________________
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
Reply

Tags
dbrn, favorite, new ui


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 04:32 AM.


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.