![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Rear Admiral
![]() |
![]()
I would like to add lighthouses to different points on land. Seems I recall in SH3, you would open the terrian/lighthouse file with notepad and could just copy one of the files, make lat/long changes, etc and paste it.
Obvious I did it once, but how do you get a dat file to open correctly with notepad without it being gibberish. Any advice, there once was a tutorial, but link is long dead. Just want some on mountain tops overlooking the ocean, a few islands, etc. Trying to research where some were other than the standard ones you get on piers. |
![]() |
![]() |
![]() |
#2 | |
Sparky
![]() Join Date: Apr 2011
Location: Rotterdam, The Netherlands.
Posts: 151
Downloads: 5
Uploads: 0
|
![]() Quote:
__________________
![]() |
|
![]() |
![]() |
![]() |
#3 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
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. |
|
![]() |
![]() |
![]() |
#4 |
Rear Admiral
![]() |
![]()
Pea, I played with it for an hour, lil confused, maybe you or someone can help.
When I set a lighthouse or say hula village, they sink into land. If you place on flat land, looks OK, although some settle in the ground depending on slope. I've tried adjusting slope and height values, but nothing happens. So if someone could tell me how to do that. Not sure what the zoom Z render does or other options there. Mainly have some high cliff want to get lighthouses on. Last edited by Armistead; 08-01-11 at 03:03 PM. |
![]() |
![]() |
![]() |
#5 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
I have never played with the slope value, so I can't answer that part of the question. 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. |
|
![]() |
![]() |
![]() |
#6 |
Rear Admiral
![]() |
![]()
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.
|
![]() |
![]() |
![]() |
#7 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
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. |
|
![]() |
![]() |
![]() |
#8 |
Rear Admiral
![]() |
![]()
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.
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|