Log in

View Full Version : [WIP] AOB Trainer within the Museum


aergistal
04-25-11, 07:52 AM
I'm currently researching this topic in order to get myself accustomed to the SH5 scripting capabilities.

I edited the camera controllers and now I'm looking for ways to programmatically position and rotate the free camera. Hope it works and I'll be able to add a GUI too.

Did anyone experiment with cameras?

DrJones
04-25-11, 08:00 AM
I'm currently researching this topic in order to get myself accustomed to the SH5 scripting capabilities.

I edited the camera controllers and now I'm looking for ways to programmatically position and rotate the free camera. Hope it works and I'll be able to add a GUI too.

Did anyone experiment with cameras?

At least not...but i'am very interessted about your work..:salute:

Regards
DrJones

TheDarkWraith
04-25-11, 08:44 AM
I'm currently researching this topic in order to get myself accustomed to the SH5 scripting capabilities.

I edited the camera controllers and now I'm looking for ways to programmatically position and rotate the free camera. Hope it works and I'll be able to add a GUI too.

Did anyone experiment with cameras?

Nothing is exposed in ScriptManager for controlling the camera direction or orientation. Adding code to .exe (or .act file) would be the only way (I see) of doing what you wanted.
Trevally made a script for my UIs mod Automation feature that has an AOB checker along with some other things that allow you to check the target's AOB in-game :yep: This allows you to check your AOB input at all different ranges and know whether you're correct or not.

Trevally.
04-25-11, 12:23 PM
Trevally made a script for my UIs mod Automation feature that has an AOB checker along with some other things that allow you to check the target's AOB in-game :yep: This allows you to check your AOB input at all different ranges and know whether you're correct or not.

Yes, I made a tutorial with practice mission (puts you in the middle of lots of ships at verious AOBs) that looks at finding AOB with eye or map.
See here Range AOB Practice v0.2 (http://www.subsim.com/radioroom/showthread.php?t=177725)

Also the information for the TDC checker is here Trevally TDC Help v2
(http://www.subsim.com/radioroom/showthread.php?t=182764)
:up:

aergistal
04-25-11, 12:43 PM
Thanks for the anwers!

Unfortunately the only method I found was RotateActiveCameraToAngleDEG, but that's in the SubmarineCommands (probably used for target lock) and so is not useful in the museum.

Trevally, your tutorial missions are very good but what I was trying to achieve was to present the player with a random position on demand, within the full 360 degree range.