SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
Thread Tools | Display Modes |
|
08-12-09, 04:38 AM | #1 |
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. |
08-12-09, 05:53 AM | #2 |
Helmsman
Join Date: Jun 2009
Posts: 103
Downloads: 19
Uploads: 0
|
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 |
08-12-09, 06:15 AM | #3 | |
Admiral
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
Quote:
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. |
|
08-12-09, 06:28 AM | #4 |
Helmsman
Join Date: Jun 2009
Posts: 103
Downloads: 19
Uploads: 0
|
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 |
08-12-09, 06:46 AM | #5 | ||
Admiral
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
Quote:
Quote:
__________________
Alex ® Moses said: "Don't create yourself an idol"... Last edited by Anvart; 08-12-09 at 07:05 AM. |
||
08-13-09, 02:03 PM | #6 |
Admiral
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
People! Answer ... What's your opinion about mod?
__________________
Alex ® Moses said: "Don't create yourself an idol"... |
|
|