SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
01-30-16, 05:38 AM | #1 |
Commander
Join Date: Nov 2010
Posts: 456
Downloads: 17
Uploads: 0
|
Hello gap,
if I am right, one of your questions remained unanswered. I think, SH3 supports ambient occlusion OR normal/bump maps. There are some models with either ambient occlusion or normal channels but I am not aware of any with both ambient occlusion AND nomal maps. Some have ambinet occlusion and bump maps. My suggestion, do only an ambient occlusion map. It works reasonably well. Cheers |
01-30-16, 11:02 AM | #2 | |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
Quote:
As far as a GR2 file is in the correct format for accepting AO and/or normal maps, and a material with those maps is binded to a mesh subset, SH5's GFX engine will use them both automatically with no need of any extra controllers. Anyway I think there is a workaround to this SHIII limitation: I can create a not overlapping UV map for the diffuse channel, bake an AO map on it, and blend diffuse and ambient occlusion textures in one file; this way I will still be able to assign a normal map. I already used this method for SH5, mostly for small objects, when I didn't want to set secondary UV coordinates for the AO map, or when the GR2 file I was working on didn't support them. The only downside to this method, is that the diffuse texture needs to be bigger than usual, or the details painted on it will look blurry. Talki |
|
02-11-16, 04:18 PM | #3 |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
At last!
I finished modelling the squid laucher. Now it is time to unwrap it. Creating a good UV map can be a boring task, but it shouldn't take as long as the modelling part. Last edited by gap; 05-05-20 at 07:32 AM. |
02-12-16, 04:16 AM | #4 |
Grey Wolf
Join Date: Jan 2008
Location: CK7662
Posts: 918
Downloads: 178
Uploads: 4
|
Wow!
Great work, gap!!!!
__________________
"I would rather have questions that can't be answered than answers which can't be questioned." - Richard P. Feynman [1918/1988] "I've missed more than 9000 shots in my career. I've lost almost 300 games. 26 times, I've been trusted to take the game winning shot and missed. I've failed over and over and over again in my life. And that is why I succeed." - Michael Jordan Mods for SH3 |
02-12-16, 06:57 AM | #5 |
Ace of the Deep
Join Date: Sep 2013
Location: France
Posts: 1,072
Downloads: 155
Uploads: 0
|
This is just perfect mate. Next part is the animation for the projectiles...
|
02-12-16, 09:21 AM | #6 |
Ocean Warrior
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,352
Downloads: 849
Uploads: 0
|
SSS
|
02-12-16, 10:37 AM | #7 |
Sea Lord
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 618
Uploads: 0
|
The World According to Gap
|
09-22-16, 04:48 PM | #8 |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
Just a thought...
Today I was re-thinking about this mod and the way to bypass the limitations of the hedgehog controller that we need to use if we want the AI to fire the new weapon correctly.
What if add three dummy nodes to the launcher model (one for each of the three muzzles, each aligned with the main axis of its respective barrel) and we attach an individual wpn_Hedgehog controller to each of them? We could then equip the controllers with dummy and invisible hedgehog projectiles, and set the weapon to use a modified fire_effect particle generator which will spawn a motion-aligned squid projectile (as done for the AI torpedos). Given the different alignment of the three nodes, and by setting appropriately the starting velocity of each charge (this would require the use of three slightly different particle effects, one for each barrel/projectile), I think we could obtain a triangular lauch pattern ca. 250 m in front of the ship, similar to the one created by the real squids. By further fine-tuning DC's speed and the max_range and diameter properties of each contoller (but also the the fall_speed, detonate_depth and depth_precison of the dummy hedgehog and of the sqid projectiles are playing a role), we should get the weapon to score some hits. Ideally the three controllers composing a "single squid unit" should fire at the same moment, and the squids should hit the water more or less in the same point and at the same time than their dummy counterparts. For this reason it could be handy setting the dummy hedgehogs as visible before release. What do you think? Might it work? |
09-25-16, 02:38 PM | #9 |
Ace of the Deep
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
|
Hi gap,
it's great that you are still thinking about the mod! I think your idea could work, however, you would still get 24 DCs per barrel. The hedgehog controller always fires 24 times (i.e., 24 muzzle flashes, 24 sounds,...). At least I could never find a way to reduce this number and therefore, I could never have less than 24 objects spawned. I tried with random spawn rates,... but never succeeded Best, LGN1 |
02-14-16, 09:31 AM | #10 | |
Hellas
|
Quote:
thank you Gap
__________________
Knowledge is the only thing that nobody can ever take from you... Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods |
|
02-14-16, 02:24 PM | #11 |
Ace of the Deep
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
|
Hi gap,
absolutely great work I'm looking forward to seeing the finished launcher! Best, LGN1 |
|
|