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 03-08-10, 12:16 PM   #1
Dowly
CINC Pacific Fleet
 
Join Date: Apr 2005
Location: Finland
Posts: 23,477
Downloads: 32
Uploads: 0


Default

Thanks a ton! Very good info!

Say, have you looked into adding more waypoints? I was thinking if it would be possible with the IsBunkerState and some new waypoints have the crew standing on the deck of the uboat when it's in the bunker.

Or even better by adding new waypoints and (if possible) new state that is triggered by the player pressing a certain button have the crew standing on deck. Would be AWESOME to slowly sail through the harbor, returning from a long patrol with the crew standing on deck.
Dowly is offline   Reply With Quote
Old 03-08-10, 12:27 PM   #2
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Quote:
Originally Posted by Dowly View Post
Thanks a ton! Very good info!

Say, have you looked into adding more waypoints? I was thinking if it would be possible with the IsBunkerState and some new waypoints have the crew standing on the deck of the uboat when it's in the bunker.
As near as I can tell, waypoints are added with the Goblin Editor. They are associated with the submarine and bunker files. The problem with that is your scripts cease to be generic and have to be included with whatever sub mod added the waypoints. Assuming, I understand it correctly of course. To get a good deck gun crew and guys standing on the deck in the bunker, it'll be worth it. But once we start seeing submarine mods, compatibiltiy will become a real issue.
Heretic is offline   Reply With Quote
Old 03-08-10, 12:49 PM   #3
Therion_Prime
Helmsman
 
Join Date: Apr 2005
Posts: 105
Downloads: 27
Uploads: 0
Default

Heres a list with all waypoints of the 7a:

Therion_Prime is offline   Reply With Quote
Old 03-08-10, 12:59 PM   #4
Therion_Prime
Helmsman
 
Join Date: Apr 2005
Posts: 105
Downloads: 27
Uploads: 0
Default

EDIT: SOLVED! Set Actors directory in the GoblinEditors options to SH5 root folder.

Hmm, I get an error message when opening a waypoint gr2 file in the goblin editor:



I hope this is not a showstopper.
Therion_Prime is offline   Reply With Quote
Old 03-08-10, 01:12 PM   #5
Therion_Prime
Helmsman
 
Join Date: Apr 2005
Posts: 105
Downloads: 27
Uploads: 0
Default

Availiable jobs in GoblinEd:



Notice: Deck gun and flak loader 1 and 2
Therion_Prime is offline   Reply With Quote
Old 03-08-10, 01:44 PM   #6
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Nice! I'm not sure what effect the jobs has. I noticed a lot of them are set incorrectly.

I really need to make a map using a uboat layout with all the waypoints marked.
Heretic is offline   Reply With Quote
Old 03-08-10, 01:54 PM   #7
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Manning Guns

To assign a crewman to a gun, you first must move him the appropriate waypoint. The easiest way is to use Teleport().

Quote:
Wp:Teleport("WP_A01_GUN"); This is the AA mount
Then you need to man the gun using ManTheGun() using the appropriate slot, animation and role

Quote:
Wp:ManTheGun(SLOT_A01, "20mm_C38_shield_twin_UP_DW", ROLE_GUNNER)
Some guns have one slot, some have more. The deck gun only has two slots which limits what we can do to add more crew. There are workarounds, but I have found one yet that works well enough.
Heretic is offline   Reply With Quote
Old 03-08-10, 01:53 PM   #8
Therion_Prime
Helmsman
 
Join Date: Apr 2005
Posts: 105
Downloads: 27
Uploads: 0
Default

Ok, i found out how to load a sub into the goblin editor and display waypoints. Lots of stuff can be adjusted here:


You can barely see the chiefs waypoint on the white collision floor to the right. Now I have to figure out how to move it and how to add more waypoints.
Therion_Prime is offline   Reply With Quote
Old 03-08-10, 01:57 PM   #9
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Quote:
Originally Posted by Therion_Prime View Post
Ok, i found out how to load a sub into the goblin editor and display waypoints. Lots of stuff can be adjusted here:

You can barely see the chiefs waypoint on the white collision floor to the right. Now I have to figure out how to move it and how to add more waypoints.
Cool stuff huh? I've gotten that far but never figured out how to change anything but the crew parts. That was before I figured out I could change them with scripts.

Be careful moving waypoints. The animations are built for them. If you move them, you may throw off an animation and have guys walking through walls or something.
Heretic is offline   Reply With Quote
Old 03-08-10, 07:43 PM   #10
GermanGS
Sailor man
 
Join Date: Feb 2010
Location: New Jersey
Posts: 49
Downloads: 32
Uploads: 0
Default

Quote:
Originally Posted by Therion_Prime View Post
Ok, i found out how to load a sub into the goblin editor and display waypoints. Lots of stuff can be adjusted here:


You can barely see the chiefs waypoint on the white collision floor to the right. Now I have to figure out how to move it and how to add more waypoints.

Please describe the steps of how you done it
__________________
GermanGS is offline   Reply With Quote
Old 03-10-10, 12:51 PM   #11
Therion_Prime
Helmsman
 
Join Date: Apr 2005
Posts: 105
Downloads: 27
Uploads: 0
Default

Quote:
Originally Posted by GermanGS View Post
Please describe the steps of how you done it
Just open the main submarine *.gr2 with the goblin editor and it will load all "child" gr2s automatically. i.e. ..\SH5\data\Submarine\NSS_Uboat7a\NSS_Uboat7a.GR2
Therion_Prime is offline   Reply With Quote
Old 06-13-12, 01:21 AM   #12
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by Therion_Prime View Post
Ok, i found out how to load a sub into the goblin editor and display waypoints. Lots of stuff can be adjusted here:


You can barely see the chiefs waypoint on the white collision floor to the right. Now I have to figure out how to move it and how to add more waypoints.
anyone know how i get the dropdown box to work with windows 7 ? It just flickers .

Last edited by THE_MASK; 06-13-12 at 02:19 AM.
THE_MASK is offline   Reply With Quote
Old 06-13-12, 06:15 AM   #13
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
anyone know how i get the dropdown box to work with windows 7 ? It just flickers .
Right click on the exe file and select Properties. Under the compatibility tab ensure Disable visual themes is checked
TheDarkWraith is offline   Reply With Quote
Old 03-10-10, 04:09 AM   #14
LukeFF
Silent Hunter
 
Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
Default

Quote:
Originally Posted by Therion_Prime View Post


Notice: Deck gun and flak loader 1 and 2
Very interesting. I'd definitely like to see more deck gun and flack gun crewmen on deck.
__________________


ROW Sound Effects Contributor
RFB Team Leader
LukeFF is offline   Reply With Quote
Old 03-10-10, 05:40 AM   #15
JotDora
Sailor man
 
Join Date: Feb 2010
Location: Germany
Posts: 43
Downloads: 26
Uploads: 0
Default

Thanks for patiently updating this thread. Im reading all your statements very carefully, to build up know-how.

I'm a programmer (leading a team of programmers) so scripting should not be a problem.

Thanks again for your time and for sharing your knowledge!

Greetings from germany

JotDora
JotDora is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 10:45 AM.


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.