Thread: [WIP] Lighthouses mod
View Single Post
Old 02-01-17, 04:46 AM   #66
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon2

Quote:
Originally Posted by MLF View Post
Put the .dat file in \Terrains\Locations folder.
Updated the Locations.cfg.

Reef visible in game on surface (whether OnLand= true or false)

Nothing visible underwater.
Yes, that's logical, because the base of the 3D model will always be placed on the sea surface if the model is placed from the Locations.cfg file. But the base should be placed on the sea bed if you create a new land unit and place it with the mission editor.

Quote:
Originally Posted by MLF View Post
And I drove straight through it.
Quote:
Originally Posted by SquareSteelBar View Post
Confirm that ... inside reef

Strange ... If you try my work, you shouldn't be able to go through the island :

d/L link : http://www.mediafire.com/file/ky0fvj...Kendras_LH.zip

You will find :
- the 3D model : K_Lighthouse_1.dat
- an icon for the LH (maybe to improve a bit)
- a single mission : Test new LH.mis

It is JSGME ready. Put the folder k -- New lighthouses in your MODS folder and enable.

Before launching SH3, open the file data/Terrain/Locations.cfg (of your installation), and write this at the end (change ### with the correct number) :

[Location ###] ; test new lighthouse
Long=-4.755715
Lat=48.043404
Heading=90
OnLand=false
ShowOnMap=true
FileName=K_Lighthouse_1
LocationName=La Vieille

Quote:
Originally Posted by SquareSteelBar View Post
reef is transparent for light halos.
The problem doesn't come from gap's files. You have to edit the particles generators of the light halo, and change depth test from false to true IIRC. If you try my mod, you will see that you can't sea the lighthouse's light halo through the island.
  Reply With Quote