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-03-11, 06:26 PM   #1
Armistead
Navy Seal
 
Join Date: Dec 2008
Location: on the Dan
Posts: 9,768
Downloads: 364
Uploads: 0


Default

Yea, seems you're right. If you adjust height and slope in the ME locations, it defaults back to Zero. Obvious, towns can be placed high on hills, all over the place, so seems somewhere there is a height function that works.
Armistead is offline   Reply With Quote
Old 08-04-11, 01:52 PM   #2
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Armistead View Post
Yea, seems you're right. If you adjust height and slope in the ME locations, it defaults back to Zero. Obvious, towns can be placed high on hills, all over the place, so seems somewhere there is a height function that works.
I just remembered the lighthouse.dat is the 'small' lighthouse, there is a "Tall_Lighthouse" which may be the one you want. The "lighthouse.dat" is in the terrain/locations folder and links to the Generic lighthouse in the library/harborkit.dat. The "Tall_Lighthouse.dat" is in the Terrain/locations and does not appear to link to another object.

I took the Tall lighthouse in the terrainlocations folder changed the y value to 9 and here is the tall lighthouse at Kwajalein.



I then took data/terrain/locations/tall_lighthouse and cloned it, remapped IDs and called it tall_lighthouse2.dat and set the y value to 12. Note: I changed the y value in the node-TLighthouse NOT the node-TLighthouse_RefPoint Added it with the mission editor and now have two lighthouses at different heights.



Now I do not know much about this stuff since I have never played around with it before, so it has not been tested to see if it will create conflicts or if those items in the locations can be cloned. But this one did work and it wasn't difficult.
If you find a location you want to put one, set a value for the y (height from water) and since you know the staring point is sea level, the second guess for a value should be fairly close. Of course you would need to clone a new one for each place you put them unless you are lucky enough to find locations that are the same height. (unlikely)

But I do repeat this is NOT tested enough for me to say it is going to work.

Now if the small lighthouse is the one you want, it is linked to a separate object, so it may react differently.

Hope it helps, a starting point for testing at least.

I also remember a post of someone working on a Pearl Submarine Base and if I remember he gave some info in there about creating objects/locations/harbor kit stuff. Try a search.

Also to answer another of your question....I guessing here the Z far render may render the lighthouse at a further distance than it normally would.

Peabody

Edit: One additional point, I suggest leaving the "Location name in game" box empty or you will end up with lighthouse names on your map while playing the game.
__________________

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.


Last edited by peabody; 08-04-11 at 02:03 PM.
peabody is offline   Reply With Quote
Old 08-08-11, 01:18 AM   #3
Armistead
Navy Seal
 
Join Date: Dec 2008
Location: on the Dan
Posts: 9,768
Downloads: 364
Uploads: 0


Default

Thanks Pea, I was sort of on that path, but that will help a lot. That should work and will look a lot better than those placed lower.

Armistead 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 08:27 AM.


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