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

Reply
 
Thread Tools Display Modes
Old 04-25-11, 07:52 AM   #1
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 319
Downloads: 23
Uploads: 1
Default [WIP] AOB Trainer within the Museum

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?
aergistal is offline   Reply With Quote
Old 04-25-11, 08:00 AM   #2
DrJones
Samurai Navy
 
Join Date: Jun 2009
Location: Germany, 50 Kilometers away from Kiel
Posts: 575
Downloads: 343
Uploads: 0
Default

Quote:
Originally Posted by aergistal View Post
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..

Regards
DrJones
DrJones is offline   Reply With Quote
Old 04-25-11, 08:44 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by aergistal View Post
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 This allows you to check your AOB input at all different ranges and know whether you're correct or not.

Last edited by TheDarkWraith; 04-25-11 at 09:09 AM.
TheDarkWraith is offline   Reply With Quote
Old 04-25-11, 12:23 PM   #4
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
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 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

Also the information for the TDC checker is here Trevally TDC Help v2

__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 04-25-11, 12:43 PM   #5
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 319
Downloads: 23
Uploads: 1
Default

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.
aergistal 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 06:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.