![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
03-21-11, 07:31 PM
|
#1 |
|
Eternal Patrol
![]() |
Is anyone planning to duplicate Anvart's work for SH3? Flags and antennae going up and down on command?
__________________
“Never do anything you can't take back.” —Rocky Russo |
|
|
03-21-11, 08:19 PM
|
#2 | |
|
Watch Officer
![]() Join Date: Nov 2007
Location: Montreal, QC
Posts: 345
Downloads: 614
Uploads: 10
|
Well the solution for the white flag outline is to remove the checkmark from "Disable z-buffer write+enable alpha blend" for the material chunk of the texture.
HOWEVER, when you do that the flag is still visible when looking at the submerged sub with the external cam above the water. When the cam is below the surface, the flag is gone. It looks like the solution for that is to somehow replace the "VisibleUnderWater" controller with the "WaterInteraction" controller as discussed in these two threads --> http://www.subsim.com/radioroom/show...ibleunderwater and http://www.subsim.com/radioroom/show...ibleunderwater Unfortunately my S3D skills are too lame to figure out where to place that controller and how to implement it to have the flag object disappear and reappear based on the sub's depth. Tried a few different ways but didn't get anywhere. Will try again some other time. Quote:
__________________
11 War Patrols / 56 ships sunk or damaged for 212,022 tons Zero casualties throughout the war Scuttled on 8 May, 1945 in Sonderburg Bay, after German surrender |
|
|
|
03-24-11, 04:38 PM
|
#3 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Anvart had a MotherBoard death about a month back.
![]() But I'm sure he would grant permission to adapt it to SH4. He'd probably do it himself if not for the MB problem.
|
|
03-28-11, 11:47 AM
|
#4 | ||
|
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
|
Quote:
try to disable water reflection for flag (with alpha blending)... How in SH4 i don't remember already... IIRC, in SH4, if you use VisibleUnderWater = false for some object and if you (camera) are not submerged (over water), you will see this object in any case (if water is transparented)... ... already two months... ![]() Quote:
![]() Good luck, Alexander.
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... Last edited by Anvart; 03-29-11 at 01:59 AM. |
||
|
|
03-29-11, 02:09 AM
|
#5 |
|
Ace of the Deep
![]() |
|
|
|
03-29-11, 01:36 PM
|
#6 | |
|
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
|
Quote:
Thanks, Jan Kyster. I have had MoBo Asus P4P800 Deluxe with mPGA 478 socket and Pentium 4 Processor 2.8E GHz and hardware RAID 0 with two HDDs... but it's very old system (more then 7 years worked for me)... Therefore, may be, more rationally to buy (and assemble) new machine... may be... MoBo Asus P8P67 Pro - 1155 socket, P67 (B3) chipset... Processor i7 2600K and so on. But in Russia to buy needed computer's set not easy task...
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... |
|
|
|
03-30-11, 01:01 AM
|
#7 | |
|
Watch Officer
![]() Join Date: Nov 2007
Location: Montreal, QC
Posts: 345
Downloads: 614
Uploads: 10
|
Quote:
And yes, what you're saying about the VisibleUnderWater controller in SH4 is exactly what I'm seeing. I haven't found a way around it. I tried playing a bit with the WaterInteraction controller, thinking I might be able to replace the flag texture with a transparent texture when submerged and then replace it with the real texture when surfaced. Unfortunately I didn't get very far trying it this way. Not even sure it's possible. Oh well, I guess people will just have to deal with it. It shouldn't get in the way too much. I spent too much time on this mod anyway, I'm already scaling it down.
__________________
11 War Patrols / 56 ships sunk or damaged for 212,022 tons Zero casualties throughout the war Scuttled on 8 May, 1945 in Sonderburg Bay, after German surrender |
|
|
|
03-30-11, 07:01 AM
|
#8 |
|
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
|
I have experimented with the WaterInteraction controller for DF antenna in 2006 ...
This controller was made to manipulate objects of particles. And I noticed that if you remove the original object (ex. DF antenna) and generate a second object, and then remove the second object and generate the third object (same as original object) and a submarine will move (not fixed) you get the offset of the third object relative of the original object (relative of the original position of object)... and for more speed of submarine you will get bigger offset of the third object. P.S. The second object would be offset too...
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... Last edited by Anvart; 03-30-11 at 04:29 PM. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
