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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-28-09, 07:29 AM   #1
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,706
Downloads: 300
Uploads: 0


Default LAND UNITS Tutorial

While looking at the posts on the excellent playable Japanese campaign I couldn't help but notice a shot of an American battleship attacking some Japanese tanks onshore. For an upcoming mod I would like to add miscellaneous destructible shore targets - including buildings and vehicles - off the coasts of Europe. I already have some of the models ready but I am not sure of the creation process, so could somebody please post a tutorial, etc explaining how to make them? Thanks in advance - I would be very grateful!






iambecomelife is offline   Reply With Quote
Old 08-28-09, 07:46 AM   #2
Lil' Subsim
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Possible to destroy them annoying coastal bunkers? That one Chinese modder made coastal bunkers destroyable in SH3...
  Reply With Quote
Old 08-28-09, 08:33 AM   #3
Armistead
Rear Admiral
 
Join Date: Dec 2008
Location: on the Dan
Posts: 10,880
Downloads: 364
Uploads: 0


Default

Be nice to take bunkers, ect. out. Why watching the US planes attack Rabaul, the planes attacked and bombed the shore guns over and over, no damage of course. Almost like they planned to add this and it never made it since the planes attack them.
Armistead is offline   Reply With Quote
Old 08-28-09, 01:33 PM   #4
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by iambecomelife View Post
While looking at the posts on the excellent playable Japanese campaign I couldn't help but notice a shot of an American battleship attacking some Japanese tanks onshore. For an upcoming mod I would like to add miscellaneous destructible shore targets - including buildings and vehicles - off the coasts of Europe. I already have some of the models ready but I am not sure of the creation process, so could somebody please post a tutorial, etc explaining how to make them? Thanks in advance - I would be very grateful!
Actually these are not meant to be "destructible" objects, only targets. When doing the invasions throughout the Pacific I wanted the BBs to shell the beaches prior to the Invasion forces and I needed something for them to shoot at. If I made it destructible then once the BB hits it, it would be destroyed and the ships would stop shooting. Not what I wanted. If they were destoyed I would have to put a LOT of targets and that could cause problems for people with slower computers.

While testing I found that the ships will shoot at Coastal Search Lights (but only during the day, not at night ????) so I cloned the Coastal Search Light and gave it a clever name, Coastal Search Light 2, changed the 3D model to the tank and placed it in different locations on the Island. I think I am going to either make some from trucks or change the tank to a truck, since there would be locations they did not have tanks.

Now the ships had something to shoot at, but it was kind of boring looking. So with some help from Nisgeis who explained the Particles.dat and how to get the effect I wanted, I simply added an entry for the oil smoke and linked it to the tank. So actually the tanks smoke all the time, not just when they are hit. But since you are in a sub and not sitting there watching the beaches, you don't notice that. As you attack the ships, you can see from your scope they are shelling the beach and things on the beach are smoking. So it gives a bit of "immersion factor" but is very easy to impliment. And this simple method gave me the effect I wanted without having to put hundreds of targets on the beach because they got destroyed as they were hit.

As for the comments on the bunkers, I do not know a lot about the damage zones. But according to Observer (not an exact quote) you need a collision sphere for the object to take damage. The sphere transfers the info to the damage boxes.
If you look at the bunkers you will see they only have a box. The box is "inside" the bunker and linked to a gun definition in the zones.cfg file. So it looks like they are only meant to damage the guns that are inside the bunker not the bunker itself. According to what Observer said they should not take any damage without the sphere. Maybe that was on purpose since the game probably can't replace or fix the guns once you destroy them. And I think in real life if you destroyed the guns guarding Tokyo bay, they would bring in some kind of artillary to replace it, even if it couldn't be put into the bunker due to it being damaged or destroyed.

So I think you can actually make the bunkers and/or the guns destructible, but there would not be any "damaged 3D model" so they would not show the damage. When I first started modding I made a Sen Toku playable and left the stock guns on the boat and when I got DCed and later surfaced the flakguns had simply disappeared, and in the zones.cfg the flakguns were listed as "distructible=yes" so maybe that would happen if you made the bunkers 'destructible'.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 08-28-09, 06:37 PM   #5
polyfiller
Weps
 
Join Date: Sep 2005
Posts: 359
Downloads: 43
Uploads: 0
Default

We have established a method to make coastal defences destructable via the damage model for the TSWSM. We're going to create a very small invisible ship model and mount a single gun on it. This will work for coastal guns. Not sure it would be practicle for tanks though.
polyfiller is offline   Reply With Quote
Old 08-28-09, 08:57 PM   #6
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,706
Downloads: 300
Uploads: 0


Default

Quote:
Originally Posted by polyfiller View Post
We have established a method to make coastal defences destructable via the damage model for the TSWSM. We're going to create a very small invisible ship model and mount a single gun on it. This will work for coastal guns. Not sure it would be practicle for tanks though.

Thanks for the responses.

How do you keep the ship from incurring damage while it's on land? If I'm not mistaken all grounded ships accumulate damage & eventually explode.
iambecomelife is offline   Reply With Quote
Old 08-28-09, 11:16 PM   #7
Sledgehammer427
PacWagon
 
Sledgehammer427's Avatar
 
Join Date: Jun 2007
Location: Drinking coffee and staring at trees in Massachusetts
Posts: 2,908
Downloads: 287
Uploads: 0
Default

hitpoints, lots of hitpoints
__________________
Cold Waters Voice Crew - Fire Control Officer
Cmdr O. Myers - C/O USS Nautilus (SS-168)
114,000 tons sunk - 4 Spec Ops completed
V-boat Nutcase - Need supplies? Japanese garrison on a small island in the way? Just give us a call! D4C!
Sledgehammer427 is offline   Reply With Quote
Old 08-29-09, 05:52 AM   #8
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

Quote:
Originally Posted by polyfiller View Post
We have established a method to make coastal defences destructable via the damage model for the TSWSM. We're going to create a very small invisible ship model and mount a single gun on it. This will work for coastal guns. Not sure it would be practicle for tanks though.
we'd then need a visible tank model to replace the ship's

then you could place tanks anywhere, and they'd shoot at you, but they only had small guns if my memory serves me well, and weren't too well armored either..

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 08-29-09, 01:10 PM   #9
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by polyfiller View Post
We have established a method to make coastal defences destructable via the damage model for the TSWSM. We're going to create a very small invisible ship model and mount a single gun on it. This will work for coastal guns. Not sure it would be practicle for tanks though.
Good idea, but like I commented I didn't want them destructible, I wanted the warships shelling the beach for "atmosphere" and once the targets are destroyed the shelling is over. In real life they would shell everything to clear the way for the Marines and that was the reason I did it the way I did, so I could have continuous shelling without having 100 targets.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 08-29-09, 04:05 PM   #10
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
Default

Quote:
Originally Posted by peabody View Post
Good idea, but like I commented I didn't want them destructible, I wanted the warships shelling the beach for "atmosphere" and once the targets are destroyed the shelling is over. In real life they would shell everything to clear the way for the Marines and that was the reason I did it the way I did, so I could have continuous shelling without having 100 targets.

Peabody
clever this way you only need one object and the shelling will just go on and on
However we of TSWSM need destructible land targets as we want to add shelling missions for the playable ships. How polyfiller exactly wants to prevent the grounded 'ship' from taking damage - I don't know, but I'm confident he'll come up with some way.
__________________

DarkFish is offline   Reply With Quote
Old 08-29-09, 06:27 PM   #11
polyfiller
Weps
 
Join Date: Sep 2005
Posts: 359
Downloads: 43
Uploads: 0
Default

Well actually the test I ran with an IJN crusier planted firmly on a nice peice of lawn in the solomns somewhere ...... the cruiser did not pick up any damage (could not here anyc reaking or colision noises). I'm not sure yet why .... I hate not knowing why something is / is not working.... may be something to do with the amount of butchering I've been doing in zones.cfg recently (trying to stop ships from dying before they sink ...which by the way is still driving me absolutely nuts !).
polyfiller is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 06:22 AM.


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.