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 12-12-24, 11:39 AM   #16
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,652
Downloads: 137
Uploads: 0


Default

I can program in C, C++, Python, and a few others. So I do know object-oriented programming.


Downloaded Blender 4.3.1 Portable to play on SWMBOs whinedoh 11 Ryzen puter.
I run it off a Portable Thumb Drive. Gotta say it is different.

Last edited by Jeff-Groves; 12-12-24 at 03:41 PM.
Jeff-Groves is offline   Reply With Quote
Old 12-13-24, 04:50 PM   #17
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,652
Downloads: 137
Uploads: 0


Default

Getting real close to doing what I want for Blender.
Time to work on the stuff to grab the info I want from a location.dat and mix that into a Blender script.

Gonna work on doing the Terrain file stuff first as I think it's needed to fill things out.

I also take time to help others with stuff. Looking at Grenso's issue and spent time with Mister_M teaching him a few things.
Jeff-Groves is offline   Reply With Quote
Old 12-13-24, 05:54 PM   #18
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 781
Downloads: 1153
Uploads: 10


Default

Quote:
Originally Posted by Jeff-Groves View Post
Getting real close to doing what I want for Blender.
Time to work on the stuff to grab the info I want from a location.dat and mix that into a Blender script.

Gonna work on doing the Terrain file stuff first as I think it's needed to fill things out.

I also take time to help others with stuff. Looking at Grenso's issue and spent time with Mister_M teaching him a few things.
Looking forward to seeing how this goes Jeff. This could open up a lot of possibilities with harbor designs and features.
__________________
s7rikeback is offline   Reply With Quote
Old 12-13-24, 06:10 PM   #19
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,652
Downloads: 137
Uploads: 0


Default

Thanks Mate. Just wish I'd have looked at Blender long ago!
The scripting ability is amazing! I put it right up there with 010!


May even remove 3DS Max from my system.
Jeff-Groves is offline   Reply With Quote
Old 12-13-24, 09:13 PM   #20
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,098
Downloads: 451
Uploads: 2


Default

My youngest embarrasses me with his Blender skillz... he is doing 3D modeling AND animation. I am always asking him questions. Understanding the answer is my main problem... - plus, there is a certain "old head" modder we all know and love, who just started in Blender and 3D modeling less than a year ago and surpassed me a while back... of course, I am like the turtle in the hare race, except I have to stop and watch ToobYu vidz for just about everything I try to do... my skull is like a lobster trap that lets the brains leak out...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 12-13-24, 09:30 PM   #21
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,652
Downloads: 137
Uploads: 0


Default

Quote:
Originally Posted by propbeanie View Post
My youngest embarrasses me with his Blender skillz... he is doing 3D modeling AND animation. I am always asking him questions. Understanding the answer is my main problem... - plus, there is a certain "old head" modder we all know and love, who just started in Blender and 3D modeling less than a year ago and surpassed me a while back... of course, I am like the turtle in the hare race, except I have to stop and watch ToobYu vidz for just about everything I try to do... my skull is like a lobster trap that lets the brains leak out...
I'm just getting started with writing scripts for Blender! Still learning to actually work with it.
For what I have learned so far? I can see doing a script to just open a Location.dat and have it load with no other work needed!
Jeff-Groves is offline   Reply With Quote
Old 12-14-24, 09:20 AM   #22
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,098
Downloads: 451
Uploads: 2


Default

If a program is written, I can see the user wanting a visual "catalog" of all that is available... "Let's see, I want the green one - no, make that red... changed my mind - I like the blue the best... maybe..."
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 12-14-24, 04:02 PM   #23
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,652
Downloads: 137
Uploads: 0


Default

I suppose you'd like it to work with touch Screen also?


I do have an old project that uses Direct3D11 for touch screen code.


Back to doing a Script........
I'm thinking a multidimensional array would work to adjust obj files on import.
So say the Location.dat has 200 objects. I'd have the array set for 200 by 3 or 6 depending on Blender Python.

Last edited by Jeff-Groves; 12-14-24 at 06:04 PM.
Jeff-Groves is offline   Reply With Quote
Old 12-15-24, 03:22 PM   #24
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,652
Downloads: 137
Uploads: 0


Default

Spending a LOT of hours just reading up on Blender Python.
To find what I need I use 010 to search the files in Blender.
I was confused about Numpy. Numpy is a math library for Python.
I need that to create a multidimensional array as basic Python does not provide for those. Fortunately Blender has Numpy which took me a while figuring out since searches on the weebz talked about installing it.

Now I read the Numpy Python stuff in Blender for proper usage.


And from reading those files? It appears that it can be used to read a Location.dat file directly! Thus removing the need for 010 to grab the basic information.

Last edited by Jeff-Groves; 12-15-24 at 03:30 PM.
Jeff-Groves is offline   Reply With Quote
Old 12-26-24, 05:15 PM   #25
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,652
Downloads: 137
Uploads: 0


Default

Was gonna post a new image but seems image posting is all FUBAR?

Ya wanna see it go here....

https://imgur.com/02EEGIH
Jeff-Groves is offline   Reply With Quote
Old 12-27-24, 07:13 PM   #26
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,098
Downloads: 451
Uploads: 2


Default

Oooh-ooh... I see an outline of a dock there... nice




as for the images, getting the correct link can be a bit tough with imgur... or any of the sites anymore, especially if you're doing a gif. They want to sling ads at everybody.
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 12-28-24, 02:43 PM   #27
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,652
Downloads: 137
Uploads: 0


Default

That image is placement nodes for the Djakarta.dat location file.
Jeff-Groves is offline   Reply With Quote
Old 02-07-25, 01:59 AM   #28
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 925
Downloads: 27
Uploads: 0


Default

Any news on that work? I think it could be useful to improve the forests too.
Mister_M 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 10:24 PM.


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.