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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-12-09, 04:38 AM   #1
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Up-Down-Rotate DF antenna & SMctl for GWX3

Continuing the theme "State Machine... some thoughts"...
http://www.subsim.com/radioroom/show...75#post1148575 #1...
i publish a realisation example as DFa_UpDnRot mod (with very simple logic) for GWX3 (only for Turm7c_3_hd).
This mod is absolutely independent original work, and this mod don't uses stuff from other similar mods of other authors.
In this mod we can control rotation, raising and lowering DF antenna using new StateMachine Class ... using next commands:
1) Raising and rotation beginning - keys Shift+V ... Watch_officer command is used (works only if Watch Officer on the bridge) ...
2) Rotation stop and lowering - keys Ctrl+V ... Radio_operator command is used ...
3) Rotation stop and lowering - for commands:
Crash_dive
Periscope_depth
Snorkel_depth
Dive
Set_depth
...

And remember that scheme works with Crew command ...
*************************************************

At last ... Full version of mod for all sub's turms is published!
Look:
http://www.subsim.com/radioroom/showthread.php?t=154911


New version (DFa_UpDnRotSMC.rar) is not compatible with earlier version (DFa_UpDnRot.rar) ...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 08-22-13 at 08:50 PM.
Anvart is offline   Reply With Quote
Old 08-12-09, 05:53 AM   #2
rs77
Helmsman
 
Join Date: Jun 2009
Posts: 103
Downloads: 19
Uploads: 0
Default

great

and a question

what are condition types ? you are using type = 1000 and type = 2, what is this for and how to use this

thanks
__________________
GWX 3.0, OLCG2, Waterstream+Exhaust Combi v2.3, Lifeboats&Debris v4, Torpedo damage v2, TMT and a nice skin

SH3 forever keep modding
rs77 is offline   Reply With Quote
Old 08-12-09, 06:15 AM   #3
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by rs77 View Post
great

and a question

what are condition types ? you are using type = 1000 and type = 2, what is this for and how to use this

thanks
In this mod i used:
2 for Order
1000 for true
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 08-12-09 at 06:28 AM.
Anvart is offline   Reply With Quote
Old 08-12-09, 06:28 AM   #4
rs77
Helmsman
 
Join Date: Jun 2009
Posts: 103
Downloads: 19
Uploads: 0
Default

where can we get the list of types, expressions and values for evaluation ?

as I understand for condition type=2 expression=order and the list of orders is present in commands.cfg, right ?

this statemachine thing is great

thanks Anvart
__________________
GWX 3.0, OLCG2, Waterstream+Exhaust Combi v2.3, Lifeboats&Debris v4, Torpedo damage v2, TMT and a nice skin

SH3 forever keep modding
rs77 is offline   Reply With Quote
Old 08-12-09, 06:46 AM   #5
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by rs77 View Post
where can we get the list of types, expressions and values for evaluation ?
Use search of strings in files SH3.exe and StateMachineCtl.act ... and you will find something ... and look existing stock files ...
Quote:
as I understand for condition type=2 expression=order and the list of orders is present in commands.cfg, right ?
right!
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 08-12-09 at 07:05 AM.
Anvart is offline   Reply With Quote
Old 08-13-09, 02:03 PM   #6
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

People! Answer ... What's your opinion about mod?
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 08-14-09, 02:03 AM   #7
jean74
Medic
 
Join Date: May 2006
Location: Near Lake Leman and Geneva, FRANCE
Posts: 162
Downloads: 150
Uploads: 0
Default Wonderfull

Dear Anvart,

You have made an another great mod !
How many hours to understand SH3 engine to be able to do this ??? I am very impressed !!!

Many thanks for this another mod and explanations.
It work well !

A nother time many thanks !!!


Best Regard,

Jean74
jean74 is offline   Reply With Quote
Old 08-14-09, 02:26 AM   #8
jean74
Medic
 
Join Date: May 2006
Location: Near Lake Leman and Geneva, FRANCE
Posts: 162
Downloads: 150
Uploads: 0
Default Question

Dear Anvart,

I would like to konw if it's possible to create a mod where we can hear the noise of reparation the sound of repair during execution ?

Many thanks,

Best regards,

Jean
jean74 is offline   Reply With Quote
Old 08-14-09, 02:51 AM   #9
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 615
Uploads: 0
Default

Great enlargement...
SquareSteelBar is offline   Reply With Quote
Old 08-14-09, 03:08 AM   #10
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by jean74 View Post
Dear Anvart,

You have made an another great mod !
...
It work well !
...

Best Regard,

Jean74
Many thanks...
You are the first person who have written an estimation to my mod.

Quote:
Dear Anvart,

I would like to konw if it's possible to create a mod where we can hear the noise of reparation the sound of repair during execution ?

Many thanks,

Best regards,

Jean
If in commands_en.cfg (for this method) we can find commands for begining and ending of event (for repair), it's possible ...
But, i think, here it's better and easier to apply StateMachineWrapper with other logic ...
...
Or not...
The best variant to insert sound playing (as action) in existing StateMachine Class (StateMachineCtl or may be ...Wrapper controller) for this event (for repair).
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 08-14-09 at 05:12 AM.
Anvart is offline   Reply With Quote
Old 08-14-09, 04:59 AM   #11
jean74
Medic
 
Join Date: May 2006
Location: Near Lake Leman and Geneva, FRANCE
Posts: 162
Downloads: 150
Uploads: 0
Default reply

Many thanks for your reply Anvart.

I will try to make this. I am sure it can improve immersive gameplay.

Many thanks for your reply and for your great job with SH3

Best regards,

Jean
jean74 is offline   Reply With Quote
Old 08-14-09, 06:46 AM   #12
rs77
Helmsman
 
Join Date: Jun 2009
Posts: 103
Downloads: 19
Uploads: 0
Default

Anvart, please tell us about wrappers
__________________
GWX 3.0, OLCG2, Waterstream+Exhaust Combi v2.3, Lifeboats&Debris v4, Torpedo damage v2, TMT and a nice skin

SH3 forever keep modding
rs77 is offline   Reply With Quote
Old 08-15-09, 06:41 AM   #13
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Full version of DFa_UpDnRotSMC mod for all human sub Turms for GWX 3.0 mod.
Size ~ 17 MB.
Look:
http://www.subsim.com/radioroom/show...66#post1151166
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 08-31-09 at 03:38 AM.
Anvart is offline   Reply With Quote
Old 08-16-09, 08:23 AM   #14
coronas
Ace of the Deep
 
Join Date: May 2005
Location: Asturias, España
Posts: 1,168
Downloads: 39
Uploads: 0
Default

Great work, Anvart!
__________________
coronas is offline   Reply With Quote
Old 08-27-09, 01:42 PM   #15
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Oops... and here too ...
Guys who has stolen my pictures?
:rotfl:
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart 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:41 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.