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 02-02-09, 04:43 PM   #16
SeaWolf U-57
Ace of the Deep
 
Join Date: May 2008
Posts: 1,225
Downloads: 92
Uploads: 0
Default

Quote:
Originally Posted by Racerboy
Quote:
Originally Posted by Phoenix1957
hi racerboy i have a realy big favour to ask of you i have heard that maybe you finished you flags for all turms (the two flag version)...
the flags for all turms is not finished for all Turms. Those that are missing flagpoles were not done. Also they have to be verified against all versions of the game, more so for GWX version. And further, those that didn't have flagpoles I wasn't sure where to put them . So if you really want them then I'll need some help on it.
So....how are you with a 3D modeler program? What I need is the model of just the flagpole for each turm. Set the material to be the sub's hull material so that it makes it easy to import (give me the name of the material used) or you can use a new material and I'll need that also to import into the sub model. This will give me the perfect chance to try out my 'Add subset to object' in Apollo
Then I'll need to know where to place each flagpole for each sub.
Hell fire me doing that RIGHT i will give it a go but dont expect to hear for me for....about ten years im not worthy
SeaWolf U-57 is offline   Reply With Quote
Old 02-03-09, 02:10 AM   #17
nikbear
Sea Lord
 
Join Date: Feb 2007
Location: Northampton,UK
Posts: 1,858
Downloads: 86
Uploads: 0
Default

Welcome back Racerboy,impressive stuff you got running there
__________________
'It is not surely known when the grey wolf shall come upon the seat of the gods'
Ericksmal.
nikbear is offline   Reply With Quote
Old 02-03-09, 05:45 AM   #18
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
Default

sure, racerboy has done a lot of fine work here! and as it seems, he´s continuing...

__________________


urfisch is offline   Reply With Quote
Old 02-03-09, 05:56 AM   #19
Desga
Navy Dude
 
Join Date: Jul 2008
Location: ITALY
Posts: 170
Downloads: 87
Uploads: 0
Default

Thank anyway Racerboy and axcuse-me I didn't know that Apollo was yours.
__________________

Desga is offline   Reply With Quote
Old 02-04-09, 12:09 AM   #20
Stormin Norman
Watch
 
Join Date: Nov 2005
Posts: 25
Downloads: 0
Uploads: 0
Default

Welcome back racerboy and great stuff
Stormin Norman is offline   Reply With Quote
Old 02-04-09, 12:18 AM   #21
-SWCowboy.
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Nice to see you again Racerboy, hope all is well!
  Reply With Quote
Old 02-04-09, 12:54 AM   #22
Graf Paper
Ace of the Deep
 
Join Date: Jan 2008
Location: Pacific Northwest United States
Posts: 1,144
Downloads: 41
Uploads: 2
Default

Great work on Apollo! Dare I say SH3 will finally have it's own unofficial SDK in the near future? You've done a masterful job there.

I can't speak for everyone but I know my own thoughts on this...

Your brand of genius has been missed, Racerboy.

I loved your SH3 Modder's Bible and dearly wish you would continue to share with those who are hungry to learn. That "book" prompted me to lay hands on some DirectX programming books to learn how nodes and particles are used.

I lack the coding skills at this time, but my mind is inquisitive and my dreams are big.

Please do not allow the hard feelings towards a few prompt you to deny so many more the benefits of the greatest modding tool we could have...knowledge.
__________________
Still sailing the high seas, hunting convoys with those who join me.
Graf Paper is offline   Reply With Quote
Old 02-05-09, 01:28 AM   #23
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Graf Paper
Great work on Apollo! Dare I say SH3 will finally have it's own unofficial SDK in the near future? You've done a masterful job there......
I loved your SH3 Modder's Bible and dearly wish you would continue to share with those who are hungry to learn. That "book" prompted me to lay hands on some DirectX programming books to learn how nodes and particles are used.

I lack the coding skills at this time, but my mind is inquisitive and my dreams are big.

Please do not allow the hard feelings towards a few prompt you to deny so many more the benefits of the greatest modding tool we could have...knowledge.
I lacked coding skills in many areas of DirectX but after spending some $$ on books and LOTS of reading and experimenting I have done pretty well I must say. The unknown is fascinating to me, I love to dabble in it. This (DirectX) has opened up so many new possibilities for me. Put that inquisitive mind to use and start experimenting! I have developed many good tools for editing textures, meshes, and the likes if you're interested. The object picker I made today was a huge accomplishment for me. Teaching yourself linear algebra and 3D math for graphics and game development by reading books can make your head spin and your eyes go crossed!

I have made a particle generator that mimics SH3 and SH4's. It does the linear interpolation on the color, size, opacity, etc. I plan on incorporating this into the application so you can add, say, a fire to the ship and see what it will look like. Or you can add water streams, heh heh, easily to get those cool water stream effects when a certain position of the ship goes underwater. After coding those water streams using a hex editor on one sub (all 100+ of them!) I decided it was time to write an application to do this to make my life easier. Or say you want to add some flags to your ship....or add a crane....or you want that pipe or crane from another ship on this ship.....your imagination will be the only thing stopping you.

My goal is to make Apollo like an SDK of sorts...a visual one at that. It's event driven - drag and drop, click to select, right click to select, context menus, etc. It's been one HUGE learning experience for me - learning the C# programming language and DirectX 9.0 at the same time (Visual Basic, Assembly, and limited C++ were my languages of choice before). But for those who code and have never used C# I have to say it's a great language. You have about 90% of the power of C++ in a managed environment with little overhead.
I'm only about say 20% complete of doing everything that I want to do with the application (in 8 months time!). Currently it allows you only to edit the DAT file of the object. I'm working on the lighting (you're gonna dig the whole lighting thing I'm making) and object picking currently. Just got an object picker working today so progress was made. The reason for the object picker is: say you select the NAMC ship to edit. When you select NAMC it renders the model so you can see it. You can display it in many ways (wireframe, solid, point, solid & wireframe, solid & point, etc.) You can also display all child nodes (or select which child nodes) associated with the ID (in this case NAMC) so you can really see the layout of everything. Now as you're maneuvering around the object with the camera (it's like a video game in this sense) you notice one of the child nodes isn't positioned correctly. You 'select' it and then use the mouse to position it where it should be. That's the goal - now I have to implement the picking and moving part. For lighting you'll be able to create as many lights as your video card allows, positioning them where you want, the type you want (point, directional, spotlight, etc.), giving off the colors you want (ambient, diffuse, specular, etc.). This way you can model day or night, and use the colors specified in the env files to simulate the lighting conditions in Silent Hunter III or 4 so you can see what you're object will look like when rendered in the game.
I'm trying to make the application generic also so that it can be used on other games. It'll be able to import other files (.X, .obj, etc.) other than Silent Hunter ones and export to other formats other than .hex. It's a massive undertaking and being the sole coder, tester, and researcher it takes time.
Playing with it as I design it I have noticed many errors and misplaced SHD_s in files - things that aren't 'visible' unless you have a tool that can show you them visually. Looking at hex code to 'see' these errors is hard to do but can be done with lots of time. Here is one of the reasons for designing it (to save time). Other reasons are for the challenge, to learn and experiment, and to hopefully spur some new shipbuilding when it's finally done. It's not just limited to ships - it can edit anything that use type 4/100 nodes, type 1/101 nodes, type 2/0 nodes, etc. Yes, it can even edit the textures (the type 2/0 nodes - import, export, change type or change to cfg#TXR, etc.). This part of the coding unlocked the mystery of how each texture was mapped to the object (not talking UV coordinates here) - it's so simple now it's absurd. You can even view the 'section' of the object that the texture is mapped to (which is actually the subset of the model's Mesh).
Oh and did I mention that I plan on incorporating sound into it? Yes, I want to hear what that object sounds like outside of the game. I also want to be able to edit the sound's parameters (distance, pitch, etc.). Microsoft's DirectSound is easy to code so it should be no problem. Since the game itself requires DirectX it's almost a sure fire thing that they used DirectSound to 'play' the sounds used in the game.

Here is a screenshot showing the ship NAMC (with all it's children rendered - children [or parts of children] not using subset 2's texture are displayed in wireframe) displaying subset 2 (it has 3 total). The subsets not selected are drawn in wireframe. All the vertices used are rendered with red points. Here you can see what part of the ship the texture is being displayed on. Purple dots are object origins and yellow dot is world origin. The blue, red, and green lines from each purple dot denote the orientation of the object (it's pitch, yaw, and roll). Red line is X axis, Blue line is Z axis, Green line is Y axis. Those purple dots that seem to be floating with no object attached to them are that way because their object is not visible (you can enable rendering of non-visible objects). In the bottom left corner of the 'render' panel is the world's orientation, bottom right corner is camera's orientation. As the camera is 'caged' any movement with the mouse results in movement of the world (translation and rotation). I have 'rendering with texture overrides' disabled so that the objects are drawn using their in-file textures instead of those located in \data\Textures\TNormal\tex or \data\Textures\TLowRes\tex (subset 2 here has a low res override but I want the in-file texture to be used).


Here is a screenshot editing the B24 liberator aircraft:


currently the application requires a screen resolution of 1280 X 1024 to use it (when, and if, I release it).

Last edited by TheDarkWraith; 02-05-09 at 02:26 AM.
TheDarkWraith is offline   Reply With Quote
Old 02-05-09, 04:34 AM   #24
SeaWolf U-57
Ace of the Deep
 
Join Date: May 2008
Posts: 1,225
Downloads: 92
Uploads: 0
Default

Eerrrr excuse me Mr Racerboy Sir .
Can we host your mods on BtS-mods.com I hate to bother you here but you mail box is full Sir.
SeaWolf U-57 is offline   Reply With Quote
Old 02-05-09, 09:08 PM   #25
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by Racerboy
...
I lacked coding skills in many areas of DirectX but ...
...


...
Interesting work ...
Only ... whether this work will be finished ... and if will be ... that and SH will have already other engine ...
and this ... m-m-m ... program not for simple modders ... :rotfl:
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 02-05-09 at 09:19 PM.
Anvart is offline   Reply With Quote
Old 02-05-09, 09:55 PM   #26
Graf Paper
Ace of the Deep
 
Join Date: Jan 2008
Location: Pacific Northwest United States
Posts: 1,144
Downloads: 41
Uploads: 2
Default

No, not simple indeed.

That's the beauty of it, Anvart. With Apollo a modder would have the greatest degree of control over the mods they create without having to resort to the more esoteric forms of digital sorcery known as hex editing and assembly language.

Complex? Yes, Apollo is quite intricate in its workings but so is a jet liner and yet it has the same overall elegance of form as well.

Honestly, I am impressed and can hardly wait to explore the wonders this tool can unlock!

Some ideas that come to my mind...
  • Independent engine controls may finally be achievable. I've looked into the files Racerboy discovered many moons ago and Apollo may be the tool to do this.
  • The same goes for bow and stern dive planes.
  • Flags for all u-boats and pennants that would be triggered to raise only as you enter your home harbor.
  • A fully modeled, interactive interior for all u-boats. Walk from stem to stern and see the inside Das Boot style!
  • This tool would be perfect for USS Sea Tiger's ambitious WWI mod for SH3. He could practically do away with everything but the game engine and build "Für König und Kaiser" from scratch with Apollo in less time than it takes doing it the standard way of cloning, hexing, and tinkering with cfg files.
You may doubt its completion if you wish, Anvart, but I prefer to take Racerboy's work at face value and it seems he has accomplished much in eight months and does have a clear idea of what features he still needs to implement.

skwas has been working on S3D for SH4 for years now and he still has not fully completed all the features of that wonderful tool. So cut RB some slack, if you please, good sir!

All feuding and doubts aside, a tool like Apollo has been what so many have begged and pleaded for to make modding SH3 a dream that would finally lay within reach of those who lack "733t h@x0r" skills.

Ignore the naysayers and nattering nabobs, Racerboy! Keep up the great work and stick to your guns!

P.S.:

Racerboy:
Quote:
I have developed many good tools for editing textures, meshes, and the likes if you're interested.
I would be very much interested in any tools you would be willing to share, RB, or even a newer edition of the SH3 Modder's Bible!
__________________
Still sailing the high seas, hunting convoys with those who join me.
Graf Paper is offline   Reply With Quote
Old 02-05-09, 10:34 PM   #27
Sledgehammer427
Ocean Warrior
 
Join Date: Jun 2007
Location: Drinking coffee and staring at trees in Massachusetts
Posts: 2,825
Downloads: 287
Uploads: 0
Default

Hello from your nearby southwest RB!

loooks like interesting stuff you are doing there, glad to see you sticking around
__________________
Cold Waters Voice Crew - Fire Control Officer
Cmdr O. Myers - C/O USS Nautilus (SS-168)
114,000 tons sunk - 4 Spec Ops completed
V-boat Nutcase - Need supplies? Japanese garrison on a small island in the way? Just give us a call! D4C!
Sledgehammer427 is offline   Reply With Quote
Old 02-05-09, 11:09 PM   #28
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 8,982
Downloads: 8
Uploads: 2
Default

Graf, he doesn't say anything about opening any files that S3D doesn't already open. The only one in his tabs (current version screenshot) that isn't in S3D is previewing the eqp stuff. Racerboy has some cool functionality ideas (dragging items in 3d, etc), though. Still, it's not a radical departure from the nearly finished S3D. The latest (not released yet) version has loads of new functionality.

I look forward to any new tools/functionality that this project might add, though.

Welcome back, RB!

Last edited by tater; 02-06-09 at 12:02 AM.
tater is offline   Reply With Quote
Old 02-06-09, 12:02 AM   #29
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
Default

Nice job RB. Of all people, I know best what you are going through.

Good luck with your project

PS: I'd love to see a dedicated particle engine tool. I have an half assed engine myself, but never really had time to make it usuable. Focus on that please People will love that.
skwasjer is offline   Reply With Quote
Old 02-06-09, 12:05 AM   #30
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
Default

Quote:
Originally Posted by Graf Paper
skwas has been working on S3D for SH4 for years now and he still has not fully completed all the features of that wonderful tool.
I have now, at least the features I want to do. The last build ever is coming in a few weeks
skwasjer 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 11:19 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.