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

Reply
 
Thread Tools Display Modes
Old 07-01-08, 10:23 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default improving existing mod - Rubini's water streams mod

I came back to SH3 to once again start designing new mods and improving existing mods. How long I stay depends on the mentality of this SH3 Mods workshop forum. While I was away I designed for myself - it was peaceful, no one complaining, no one saying I stole this or that, no one saying this idea or that idea was stupid or 'a waste of time'. During this time I also found a good 32-bit disassembler so I could 'see' what was going on in the SH3 binaries in order to learn some more new tricks and methods.
I browsed through the new topics all day yesterday and some of today to see what all has transpired while I was away and there have been many, many excellent mods made. One of which, by Rubini, caught my eye. It's his water streams mods. I've decided to take his idea and improve upon it. I fired up the Hex Editor (Hex Workshop v4.23) and started typing away.
I've done a total re-write of his mod and thus condensed the 'code' for the water streams (I call them water drains) into it's own file (water_drains_subs.dat). In this file I have re-worked the FPG to make the water look and behave like draining water with mist. I also took all the 'code' (added/removed 'code' as necessary) needed to instantiate the water drains and cleaned it up and placed it in the xxxx.cam file instead of the xxxx.dat file so that it's more user-friendly with other mods.
The water drains use one TGA for the water - water_drainage.tga. A 'blank' TGA is included in the xxxx.cam file and the TGA itself is located in \data\Textures\TNormal\tex (of the mod). This let's the end-user use their own TGA for the water if they so choose by over-riding the TGA provided (user provided TGA must have same name as original TGA provided).
Credits for Rubini's idea of this mod and method used to implement it are embedded in the hex files themselves.

If this mod is to be successful then it's going to take community involvement. What I mean by this is I'm not going to do all the 'coding'. I will recruit whoever wants to help and show them how to do what needs to be done so that they can develop a certain portion of the mod. Collective thoughts and ideas are much better than individual thoughts and ideas.

The next post will contain screenshots, updates, bugs, etc.

Racerboy

Last edited by TheDarkWraith; 07-01-08 at 10:34 AM.
TheDarkWraith is offline   Reply With Quote
Old 07-01-08, 10:24 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

for now only the TIIA sub has been re-worked and included (and only for the left side of the sub). This 'teaser' is just to show the revised idea and effects.

I had to include files that are in common use now which is GWX 2.x. The NSS_Uboat2A files are from GWX 2.0, they are not my work.

Current version in use for testing (uploaded 7/2/08) - includes physics modelling for left side only:
http://rapidshare.com/files/12664009...0_BETA.7z.html

to install:
unzip to desktop. Copy the folder 'Racerboy_Rubini_TIIA_Water_Drains_1_00_BETA' to MODS folder. Enable via JSGME.

bugs:
none noted

what to look for in testing:
This is just a 'proof-of-concept' as we call it where I come from. I'm looking for feedback on the water behavior, color, streams, etc.

Screenshots:
http://i228.photobucket.com/albums/e...ter_drain1.jpg

http://i228.photobucket.com/albums/e...er_drains4.jpg

http://i228.photobucket.com/albums/e...er_drains2.jpg

Last edited by TheDarkWraith; 07-13-08 at 11:49 PM.
TheDarkWraith is offline   Reply With Quote
Old 07-01-08, 10:49 AM   #3
Laufen zum Ziel
Eternal Patrol
 
Laufen zum Ziel's Avatar
 
Join Date: Jan 2008
Location: Hiding on the bottom
Posts: 1,783
Downloads: 853
Uploads: 457


Default

Welcome Back.
__________________
RIP Laufen zum Ziel
Laufen zum Ziel is offline   Reply With Quote
Old 07-01-08, 10:54 AM   #4
Koondawg
Grey Wolf
 
Join Date: Sep 2006
Location: Pasadena, Ca
Posts: 852
Downloads: 0
Uploads: 0
Default

RB u have a PM...and glad your back...
I have a ? for ya since your improving...say Im using one of my subs which I myself have always added more water holes or vents where the game doesnt have them...will this show up for the modded sub ( water coming out of the holes ) or just for the default subs in game..
Koon
Koondawg is offline   Reply With Quote
Old 07-01-08, 11:00 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Koondawg
RB u have a PM...and glad your back...
I have a ? for ya since your improving...say Im using one of my subs which I myself have always added more water holes or vents where the game doesnt have them...will this show up for the modded sub ( water coming out of the holes ) or just for the default subs in game..
Koon
here's where the community involvement part also comes in. I have currently only added water streams to the TIIA sub's texture provided in Rubini's mod. To add more streams for more holes is not a problem. I show you how to do it, you add the streams to the holes you need and all the code is in the xxxx.cam file for your sub. You decide if you want to publish and release your addition! I've been using a neat little tool with my techs in my area (skype with desktop share) to show them how to do things. I can use this same tool to show you how to do this in real time.
TheDarkWraith is offline   Reply With Quote
Old 07-01-08, 11:47 AM   #6
Koondawg
Grey Wolf
 
Join Date: Sep 2006
Location: Pasadena, Ca
Posts: 852
Downloads: 0
Uploads: 0
Default

Lets get to work then...follow my pm and let me know...

Koon
Koondawg 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 05:31 AM.


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