SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [WIP] Building an oil refinery (https://www.subsim.com/radioroom/showthread.php?t=233073)

Kendras 08-20-17 07:22 AM

Building an oil refinery
 
For a new single mission (http://www.subsim.com/radioroom/showthread.php?t=233044), I'm currently trying to create a large oil coastal installation, in the same way as basic harbours, for Aruba and Curacao islands.

I think the oil storage tanks will be added as separated destroyable land units. Don't know if terrain locations can be destroyed.

http://www.lago-colony.com/WEB_SITE_...OS/PHOTOS2.jpg

gap 08-20-17 07:43 AM

Quote:

Originally Posted by Kendras (Post 2507551)
For a new single mission (http://www.subsim.com/radioroom/showthread.php?t=233044), I'm currently trying to create a large oil coastal installation, in the same way as basic harbours, for Aruba and Curacao islands.

I think the oil storage tanks will be added as separated destroyable land units. Don't know if terrain locations can be destroyed.

http://www.lago-colony.com/WEB_SITE_...OS/PHOTOS2.jpg

They can't, and AI units won't attack them. Better following your main plan, and setting them as land units :03:

P.S: have you seen these models?
https://3dwarehouse.sketchup.com/sea...kendClass=both

Kendras 08-20-17 09:30 AM

Quote:

Originally Posted by gap (Post 2507553)
They can't

OK. :up:

Quote:

Originally Posted by gap (Post 2507553)

They are very pretty ! :yep: Perhaps we (you ? :D) might add them later in game. For a first try, I will use only stock game models.

:salute:

Kendras 08-20-17 10:59 AM

How it is looking so far :

http://i.imgur.com/4nka6ME.png

Kendras 08-20-17 11:26 AM

@ gap : Could you help me ? Go in Harbor_kit.dat in data\Library, and find the model called 300/150_rectangle (node 41). I need a triangle which is half this rectangle, well textured with the same textures. And the same triangle but in the other direction. Can you do that for me please ? :D

gap 08-20-17 11:26 AM

Quote:

Originally Posted by Kendras (Post 2507572)
They are very pretty ! :yep: Perhaps we (you ? :D) might add them later in game. For a first try, I will use only stock game models.

Roger that :up:

Quote:

Originally Posted by Kendras (Post 2507588)
How it is looking so far :

http://i.imgur.com/4nka6ME.png

So nice! :yeah:

Kendras 08-20-17 12:32 PM

So, I added placement nodes which add models contained in Karbor_kit.dat, and the refinery is correctly placed in game. But then, I added placement nodes adding a new model placed into a different .dat file (still in Library folder), and the game crashes ... :-?

Any ideas ?

gap 08-20-17 12:51 PM

Quote:

Originally Posted by Kendras (Post 2507620)
So, I added placement nodes which add models contained in Karbor_kit.dat, and the refinery is correctly placed in game. But then, I added placement nodes adding a new model placed into a different .dat file (still in Library folder), and the game crashes ... :-?

Any ideas ?

It must be a trivial error as we have already used placement nodes pointing to custom library files.
For a start, I would try and link the new model directly to the location file you are working on just to make sure that nothing is wrong with that model... :hmm2:

Kendras 08-20-17 01:36 PM

Quote:

Originally Posted by gap (Post 2507624)
It must be a trivial error as we have already used placement nodes pointing to custom library files.
For a start, I would try and link the new model directly to the location file you are working on just to make sure that nothing is wrong with that model... :hmm2:

OK, I will see that. :)

BTW, did you see my previous post ?

Quote:

Originally Posted by Kendras (Post 2507594)
@ gap : Could you help me ? Go in Harbor_kit.dat in data\Library, and find the model called 300/150_rectangle (node 41). I need a triangle which is half this rectangle, well textured with the same textures. And the same triangle but in the other direction. Can you do that for me please ? :D


gap 08-20-17 02:12 PM

Quote:

Originally Posted by Kendras (Post 2507643)
OK, I will see that. :)

BTW, did you see my previous post ?

Sorry, I had missed that :doh:

Quote:

Originally Posted by Kendras (Post 2507594)
@ gap : Could you help me ? Go in Harbor_kit.dat in data\Library, and find the model called 300/150_rectangle (node 41). I need a triangle which is half this rectangle, well textured with the same textures. And the same triangle but in the other direction. Can you do that for me please ? :D

No problem. After dinner I will do that :up:

Kendras 08-20-17 03:22 PM

OK. I give up. It seems impossible to have placement nodes in a terrain location file, which are linked to another node (in a .dat file stored in Library folder) containing also placement nodes (linked to nodes with 3D models in another .dat file of the library folder) ... although it worked one time !

:k_confused:

gap 08-20-17 04:47 PM

Quote:

Originally Posted by Kendras (Post 2507685)
OK. I give up. It seems impossible to have placement nodes in a terrain location file, which are linked to another node (in a .dat file stored in Library folder) containing also placement nodes (linked to nodes with 3D models in another .dat file of the library folder) ... although it worked one time !

:k_confused:

Do you mean that we cannot have on the same file placement nodes pointing to models stored in different library files? :hmmm:

If that is the problem, why don't you store the new models directly in the new location file? Or alternatively you could place it Harbor_kit.dat :yep:

gap 08-20-17 05:03 PM

Quote:

Originally Posted by Kendras (Post 2507594)
@ gap : Could you help me ? Go in Harbor_kit.dat in data\Library, and find the model called 300/150_rectangle (node 41). I need a triangle which is half this rectangle, well textured with the same textures. And the same triangle but in the other direction. Can you do that for me please ? :D

For making usre that I wont misunderstand shape and proportions, could you please quickly draw the two triangular-shaped objects that you need, next to the original 300/150_rectangle model? :)

Kendras 08-20-17 05:36 PM

Quote:

Originally Posted by gap (Post 2507720)
For making usre that I wont misunderstand shape and proportions, could you please quickly draw the two triangular-shaped objects that you need, next to the original 300/150_rectangle model? :)

http://i.imgur.com/DnKG3rF.png

http://i.imgur.com/zwJBfJb.png

http://i.imgur.com/ViFaeQ2.png

Else, I'm searching a solution for 3 hours, and still no result :wah: ... that's crazy ! Nothing is working ! It worked only 2 times, and then only CTD, even if removing modifications after first CTD following a working attempt.

Here is the structure of the current location file (no CTD, but nothing visible in game) :

http://i.imgur.com/wfM1cwm.png

gap 08-20-17 06:43 PM

https://www.mediafire.com/file/sssuy...0_triangles.7z :up:

Quote:

Originally Posted by Kendras (Post 2507727)
Else, I'm searching a solution for 3 hours, and still no result :wah: ... that's crazy ! Nothing is working ! It worked only 2 times, and then only CTD, even if removing modifications after first CTD following a working attempt.

Here is the structure of the current location file (no CTD, but nothing visible in game) :

http://i.imgur.com/wfM1cwm.png

Please upload somewhere the latest version of your mod (together with your testing mission), for me to dig into its files. Maybe, with a fresher eye, I will be able to spot the problem


All times are GMT -5. The time now is 02:55 AM.

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