![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Black Magic
![]() |
![]()
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. |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|