![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
02-02-09, 04:43 PM
|
#16 | ||
|
Ace of the Deep
![]() Join Date: May 2008
Posts: 1,225
Downloads: 92
Uploads: 0
|
Quote:
im not worthy
|
||
|
|
02-03-09, 02:10 AM
|
#17 |
|
Sea Lord
![]() Join Date: Feb 2007
Location: Northampton,UK
Posts: 1,858
Downloads: 86
Uploads: 0
|
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. |
|
|
02-03-09, 05:45 AM
|
#18 |
|
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
|
sure, racerboy has done a lot of fine work here! and as it seems, he´s continuing...
__________________
|
|
|
02-03-09, 05:56 AM
|
#19 |
|
Navy Dude
![]() Join Date: Jul 2008
Location: ITALY
Posts: 170
Downloads: 87
Uploads: 0
|
Thank anyway Racerboy and axcuse-me I didn't know that Apollo was yours.
|
|
|
02-04-09, 12:09 AM
|
#20 |
|
Watch
![]() Join Date: Nov 2005
Posts: 25
Downloads: 0
Uploads: 0
|
Welcome back racerboy and great stuff
|
|
|
02-04-09, 12:18 AM
|
#21 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Nice to see you again Racerboy, hope all is well!
|
|
02-04-09, 12:54 AM
|
#22 |
|
Ace of the Deep
![]() Join Date: Jan 2008
Location: Pacific Northwest United States
Posts: 1,144
Downloads: 41
Uploads: 2
|
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. |
|
|
02-05-09, 01:28 AM
|
#23 | |
|
Black Magic
![]() |
Quote:
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. |
|
|
|
02-05-09, 04:34 AM
|
#24 |
|
Ace of the Deep
![]() Join Date: May 2008
Posts: 1,225
Downloads: 92
Uploads: 0
|
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. |
|
|
02-05-09, 09:08 PM
|
#25 | |
|
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
|
Quote:
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. |
|
|
|
02-05-09, 09:55 PM
|
#26 | |
|
Ace of the Deep
![]() Join Date: Jan 2008
Location: Pacific Northwest United States
Posts: 1,144
Downloads: 41
Uploads: 2
|
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...
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:
__________________
Still sailing the high seas, hunting convoys with those who join me. |
|
|
|
02-05-09, 10:34 PM
|
#27 |
|
Ocean Warrior
![]() Join Date: Jun 2007
Location: Drinking coffee and staring at trees in Massachusetts
Posts: 2,825
Downloads: 287
Uploads: 0
|
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! |
|
|
02-05-09, 11:09 PM
|
#28 |
|
Navy Seal
![]() Join Date: Mar 2007
Location: New Mexico, USA
Posts: 8,982
Downloads: 8
Uploads: 2
|
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. |
|
|
02-06-09, 12:02 AM
|
#29 |
|
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
|
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
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
|
02-06-09, 12:05 AM
|
#30 | |
|
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
|
Quote:
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
