PDA

View Full Version : Up-Down-Rotate DF antenna & SMctl for GWX3


Anvart
08-12-09, 04:38 AM
Continuing the theme "State Machine... some thoughts"...
http://www.subsim.com/radioroom/showthread.php?p=1148575#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 ... :03:
*************************************************

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) ...

rs77
08-12-09, 05:53 AM
:o great :yeah:

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

Anvart
08-12-09, 06:15 AM
:o great :yeah:

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

rs77
08-12-09, 06:28 AM
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 :up:

thanks Anvart :salute:

Anvart
08-12-09, 06:46 AM
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 ...

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

right!

Anvart
08-13-09, 02:03 PM
People! Answer ... What's your opinion about mod? :yawn:

jean74
08-14-09, 02:03 AM
Dear Anvart,

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

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

A nother time many thanks !!!


Best Regard,

Jean74

jean74
08-14-09, 02:26 AM
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

SquareSteelBar
08-14-09, 02:51 AM
Great enlargement... :up:

Anvart
08-14-09, 03:08 AM
Dear Anvart,

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

Best Regard,

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


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). :up:

jean74
08-14-09, 04:59 AM
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 :salute:and for your great job with SH3 :yeah:

Best regards,

Jean

rs77
08-14-09, 06:46 AM
Anvart, please tell us about wrappers :D

Anvart
08-15-09, 06:41 AM
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/showthread.php?p=1151166#post1151166
:D

coronas
08-16-09, 08:23 AM
Great work, Anvart! :salute:

Anvart
08-27-09, 01:42 PM
Oops... and here too ...
Guys who has stolen my pictures?
:rotfl:

denis_469
08-27-09, 01:44 PM
Thank Anvart for you excellent mod.

И ещё раз спасибо огромное за все твои моды!

Anvart
08-27-09, 04:14 PM
OK.
Now picture is restored ... :woot: