SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [REL] SH3 Long Patrol Script! (https://www.subsim.com/radioroom/showthread.php?t=193794)

der_marc 04-06-13 11:31 AM

Hi,

thank you for your fast answer :-)

I will try to experiment with the numbers a little bit to get a good depth :-)

And i use CTRL + R for Continius Radar Sweep

Rubini 04-06-13 11:51 AM

Quote:

Originally Posted by der_marc (Post 2037298)
Hi,

thank you for your fast answer :-)

I will try to experiment with the numbers a little bit to get a good depth :-)

And i use CTRL + R for Continius Radar Sweep

I will update the script in some minutes with the radar feature. Stay tunned!

Rubini 04-06-13 02:05 PM

Here it is:
http://www.mediafire.com/?3xsz0b1106r2bk9
( also adds the below line at the botton of your SH3_Script_v1.1.ini file - your Radar_continuous_sweep key command):
Radar_continuous_sweep=^{r}

usage:
- ALT+r will toggle the radar (continuous sweep) on/off for the script ( a beep will be listen: nl one=on, accute one=off). The default is off.

Notes:
- when script is reseted (Alt+Pause/break) it goes back to default (off)
- by stock sh3 limitation annimations/particles arenīt executed from a high TC. So if the radar have extensible antenna it will not be raised (antenna) in high TC, but the radar will be turnned on/off accordingly.
- the yesterday changes - scrit cruise speed - is also on this fix.

Have fun and let me know any issue.:up:

EDIT: forgot to say that you need to add this line at the botton of your SH3_Script_v1.1.ini file (your Radar_continuous_sweep key command):
Radar_continuous_sweep=^{r}

J0313 04-06-13 08:37 PM

Awesome Rubini!
 
Thanks for this Rubini. If I can throw some more ideas your way I will. I use Anvarts DFant flags and pennants and FM30 up/down. Will the radar addition mess with the commands for those? I will try the version with surface speed tomorrow and I will give you some feed back. Thanks again Rubini.

Rubini 04-06-13 09:36 PM

Quote:

Originally Posted by J0313 (Post 2037476)
Thanks for this Rubini. If I can throw some more ideas your way I will. I use Anvarts DFant flags and pennants and FM30 up/down. Will the radar addition mess with the commands for those? I will try the version with surface speed tomorrow and I will give you some feed back. Thanks again Rubini.

Hi J0,
The SH3 LP script is full of surprises, a lot of things can be done with it, so letīs find more and more usefull ideas!:up:

And as any feature of the script, itīs simple presence will not mess with anything in the game. We can use all or only one of its feature. Anyway, no, the radar feature will not mess with Anvarts mods (I also use them). We just need to be sure about the correct command to be used in the script to it works correctly. Think on the script as a complex and smart Macro, so, it will , in the end, just send key commands for the game. We can make complete (and complex) uboat routines with this tool. Just this.:up:

der_marc 04-07-13 05:57 AM

Hi,
i tested the radar feature and it works very well :-)

Thanks :-)

Rubini 04-07-13 07:14 AM

Quote:

Originally Posted by der_marc (Post 2037574)
Hi,
i tested the radar feature and it works very well :-)

Thanks :-)

Thanks by the feedback der_marc!
Note that Sh3 (at least at my game) turns off the radar each time it goes submerge. What i made on the radar routine was to add a flag that if you choose to enable the radar on the routine it will then be called each time it goes surfaced again and again. If you choose to disable the feature, then the flag will sinalize to not more call it when surfaced. So, to it works ok, is necessary that your game disable the radar at once when submerged. I donīt know if the game make this action by default to all radars and uboat types. Hopes that so!:up:

der_marc 04-07-13 09:42 AM

Hi Rubini,

the game does that to all my tested (only two) subs (XXI, VII42) and
even to a normal sub in heavy weather when ever the sub shortly got washed over with water.
So your routine to regulary activate the radar is perfect for my play style.
When i get near the shores radar is off, but so the LPS :)

So thank you for your fast response! :up:

And "Gute Jagd!"

Greetings
Marc

raymond6751 04-07-13 12:59 PM

Thanks
 
Love the concept. Great work.

J0313 04-11-13 12:56 AM

Workin good!
 
So far so good Rubini. The ahead one third works great for my long trips.

LGN1 07-30-14 01:44 PM

Hi Rubini,

would it be possible to create a script that just presses the left mouse button every x seconds for y in-game hours?

I'm asking because this would solve one annoying issue with all real-navigation mods: the helmsman does not hold course. By creating a fixed compass dial and using the script one could place the mouse pointer over the intended course and the script would give the course command every x second and thus, the u-boat would keep its course. This would be a great help for all players using real-navigation.

Regards, LGN1

Rubini 07-30-14 04:30 PM

Hi LGN1,

How are you mate?

Yes itīs easy to make it i guess . The script can send direct course orders from time to time, no need to do a mouse click. I never used the real navigation so I really donīt know exactly how it works. Anyhow, I cant recall well if itīs possible in Sh3 a direct course order ... anyway the script also can make mouse clicks but i also never tried it. When I return to my house I will look to the sh3 commands at first. Letīs talk about it.

JeromeHeretic 07-31-14 05:33 AM

Rubini please can you upload somewhere the original scripts? I like to do my own modification and don't want create whole scripts new.

BTW: You wrote, that you are not able set the depth.
IMHO there is a method (but it is depended on resolution and GUI) how to do it. Let's imagine, that we have original SH3 design with 1024*768 resolution.
You can click for depth on gauge in right bottom part of screen somewhere about 2 o'clock. And what happen depend on gauge switch. (i don't have game runing now, i get numbers from my memory, so maybe i don't remember it correctly, but you can see a way of my thinking) In one case it can mean depth about 17 meters and when switched to second gauge it means depth about 160 meters. Not perfect, but usable as "shallow mode" and "deep mode". (But switch for deep mode is sure dead for class II subs)
Just an idea, maybe you like it...

BigWalleye 07-31-14 06:19 AM

Quote:

Originally Posted by JeromeHeretic (Post 2229492)
Rubini please can you upload somewhere the original scripts? I like to do my own modification and don't want create whole scripts new.

BTW: You wrote, that you are not able set the depth.
IMHO there is a method (but it is depended on resolution and GUI) how to do it. Let's imagine, that we have original SH3 design with 1024*768 resolution.
You can click for depth on gauge in right bottom part of screen somewhere about 2 o'clock. And what happen depend on gauge switch. (i don't have game runing now, i get numbers from my memory, so maybe i don't remember it correctly, but you can see a way of my thinking) In one case it can mean depth about 17 meters and when switched to second gauge it means depth about 160 meters. Not perfect, but usable as "shallow mode" and "deep mode". (But switch for deep mode is sure dead for class II subs)
Just an idea, maybe you like it...

That is how SH3Speech controls depth, heading, rudder and speed. Yes, it is resolution-dependent. But once you set it up for your screen rez, it is fast and much more precise and reproducible than mouse-and-eyeball. Have to have a 1-bit variable that keeps track of the state of each gauge (shallow/deep, etc.). Will Autohotkey scripts support that?

Leitender 07-31-14 07:08 AM

Quote:

Originally Posted by LGN1 (Post 2229405)
Hi Rubini,

...I'm asking because this would solve one annoying issue with all real-navigation mods: the helmsman does not hold course...

...This would be a great help for all players using real-navigation.

Regards, LGN1

Hi LGN1,

in my understanding of the game itīs the helmsman who takes care about the right course if you are ordering him a course by using the "set course" tool on the nav map. Having done this, the helmsman will correct the simulated offset caused by wind and waves and will keep the course.

If you use the compass to set course by yourself, itīll be you who is responsible for the right course, and therefore youīll have to compensate the offset by your own. So if you like to play with realistic settings, e.g. without automatic uboat position display (i.e. real navigation), you also have to play without time compression.

Consequently, you will have enough time to correct the course, although you will still have an offset, depending on the exactness of your corrections. The Atlantic is not a kindergarden :03:

Greetings


All times are GMT -5. The time now is 06:38 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.