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
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 11:57 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.