SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] S3D - Silent 3ditor (https://www.subsim.com/radioroom/showthread.php?t=119571)

keltos01 03-11-09 05:57 AM

hard coded scales and crosshair
 
where do these scales in the periscope view come from ??

http://img24.imageshack.us/img24/271/10deg1.jpg

as the rest come from dds or tga files it must be the same for those two but I can't seem to find them :damn:

Luke FF said : hardcoded but, Skwasjer can you help ?

The IJN scope had no crosshair and no scale at the side and top... I need those gone ;)


keltos

SquareSteelBar 03-11-09 09:03 AM

Hi keltos01,

afaik for SH3 it comes from Bearing.tga in ...\data\Menu\Gui\

Cheers,
SquareSteelBar

keltos01 03-11-09 10:06 AM

Quote:

Originally Posted by SquareSteelBar
Hi keltos01,

afaik for SH3 it comes from Bearing.tga in ...\data\Menu\Gui\

Cheers,
SquareSteelBar

nono that one's the bearing indicator under my top red ellipse, not the scale under it or to the right.

it might just be in the data\menu\menu_1024_768 file ?

something like :

[G26 I23]
Name=Bkgr
Type=1030;Static bmp
ItemID=0x26110001
ParentID=0x26110000
Pos=3,-7,85,37
Zone= 745 301 85 37 1 1 0x26110000 0.0333333 -0.14 0x26110001 0 0 0 0
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/Periscope.tga
Crop 0=0.773438,0.808594,0.0830078,0.0361328
MatFlags=0x9
TexFmt=0x0

where it would tell it where to cut and install those scales ?

keltos

SquareSteelBar 03-11-09 02:09 PM

Maybe it's in the alpha channel of Periscope.tga but dunno what item in menu_1024_768.ini points to it... http://img116.exs.cx/img116/934/z0tdntknw.gif

http://img14.imageshack.us/img14/8981/scale.th.jpg

keltos01 03-12-09 07:01 AM

Quote:

Originally Posted by SquareSteelBar
Maybe it's in the alpha channel of Periscope.tga but dunno what item in menu_1024_768.ini points to it... http://img116.exs.cx/img116/934/z0tdntknw.gif

http://img14.imageshack.us/img14/8981/scale.th.jpg

I tried and removed that scale in both the SH3periscope.dds and periscope.dds, and it still shows up ingame ? :damn:

but no matter what people say, even if it is hardcoded, the stuff you see in the periscope view is a graphic :yep:

just have to find it...

keltos

skwasjer 03-12-09 06:17 PM

I don't know if it's hardcoded or not. But if it is, it does not 'require a graphic'. Just some 'draw line' calls... If the scale changes depending on fov, unit system, and/or zoom, changes are it is hardcoded...

Mav87th 03-13-09 01:26 AM

looks like your seeing both german and japanese periscope optics at the same time. The ones you have lined out in red are the german markings in their periscope...

keltos01 03-19-09 09:49 AM

about the scope: help me find out if we can remove those lines, now another problem :

when I export from S3D 0.94 the periscope head model and import it in 3DS, it lies horizontal in 3DS whereas in S3D it appeared vertical as it should.

WHY ?

I also have trouble changing the scope's 3D, S3D crashes...

http://img413.imageshack.us/img413/9161/skwas.jpg

Skwasjer HELP !

keltos

thyro 03-20-09 12:04 PM

Hi,

I'm having some trouble making water reflections to work properly. Well it work s and reflect the sub's hull on the water. However it also creates a full hulls shade on the other side of the sub until it disapears into the horizont.

Have someone came accross this?

I had compared the objects against other models that also have water relection and even using identical settings it continues to show that shade while other sub/ship doesn't.

Thanks

thyro 03-20-09 12:06 PM

@Keltos

How you add the 3D object under a node?

Because every time I try to add the object under a node my S3D creates the 3D object on the root. :damn:

SquareSteelBar 03-20-09 05:18 PM

Your object's parent ID should be the node's ID.

thyro 03-20-09 09:26 PM

Quote:

Originally Posted by SquareSteelBar (Post 1069158)
Your object's parent ID should be the node's ID.

Cheers SquareSteelBar

but I have a problem...

when I create a node then I add then "append new child chunk" and select "3D model type 1/101" the 3D object goes to root imediatly like it was "append new chunk".

Once the 3d object created the parent ID = N/A and I don't seem able to change it.

I'm using S3D v0.9.4

Since I could be trying this wrongly...is there a better way to add that 3D object under a node? Thanks

SquareSteelBar 03-21-09 03:09 AM

Not the 3D object himself is appended to a parent ID but it's node...

keltos01 03-21-09 01:18 PM

http://img18.imageshack.us/img18/7733/23746413.jpg


Quote:

Originally Posted by thyro (Post 1069262)
Cheers SquareSteelBar

but I have a problem...

when I create a node then I add then "append new child chunk" and select "3D model type 1/101" the 3D object goes to root imediatly like it was "append new chunk".

Once the 3d object created the parent ID = N/A and I don't seem able to change it.

I'm using S3D v0.9.4

Since I could be trying this wrongly...is there a better way to add that 3D object under a node? Thanks

take the 3d object id number and ctrl-click in the model id blue number (control actually opens that window) then paste your model's id number and the model will move up to the node and be linked to it

keltos

thyro 03-21-09 01:40 PM

Great!!!

many thanks Keltos and SquareSteelBar :salute:

now the process is clear, I wasn't moving the 3D object to the node. I assumed by adding a new child it shouldn't have done that automatically :damn:

It is now working

now is just matter to figure out how to make the dynamic shadows working :)

peabody 03-21-09 01:43 PM

@Thyro,

One thing not commented on, your 3D node # must be lower than the node that it is linked to. Otherwise it will not work. Notice in Keltos' picute the 3D model is Node 1608 and the node it is linked to is Node 1612.

Peabody

skwasjer 03-21-09 07:22 PM

Guys, I'm sorry, I'm too busy and can't help...

thyro 03-22-09 03:10 AM

@peabody

Thanks for the heads up :up:


Does dynamic Shadows really work on SH4? I've also added a node+3D+control+DynamicShadow added a "black" material as shadow but no effects. (I have the main cfg with active shadows btw). Thanks

Webster 03-23-09 01:36 PM

i need help


im looking at the shells.zon file and the entire tree is anonomous with nothing to show what anything is.


how will i know if im adjusting a 14" gun or a 3.5" gun


im sure this has been answered before somewhere but i didnt have time to read all 50+ pages of posts lol.


is there a plug in or something i forgot to add?

peabody 03-23-09 01:49 PM

Quote:

Originally Posted by WEBSTER (Post 1070632)
i need help


im looking at the shells.zon file and the entire tree is anonomous with nothing to show what anything is.


how will i know if im adjusting a 14" gun or a 3.5" gun


im sure this has been answered before somewhere but i didnt have time to read all 50+ pages of posts lol.


is there a plug in or something i forgot to add?

Go to shells .dat find the one you want to work on, copy the ID. Go to the .zon file and Edit/find and it will show you the zon file for that shell.

Quote:

how will i know if im adjusting a 14" gun or a 3.5" gun
If you want to work on a specific gun, you should check the shell it uses in the gun file. I did find one once that used the wrong shell (at least not the same size as the gun. something like a 5 inch gun using a 4 inch shell) but I don't remember which one it was.

Peabody


All times are GMT -5. The time now is 08:19 PM.

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.