Jump to content

tumira

Members
  • Posts

    146
  • Joined

  • Last visited

Posts posted by tumira

  1. Windows 10 64Bit

     

    1)Create new project (FPS template)

    2)Open "08 Terrain.map"

    3)Add Nature model pack dlc

    4)On Terrain->Vegetation->Add "formation5.mdl" as the layer

    5)Turn on shadows for the formation5

    6)Paint on terrain

     

    Some weird shadow artifact will happen. I noticed there is no shadow on the rocks when you are near it. It does not happen when I just drag the formation5.mdl into the scene manually (not as vegetation)

     

    On Viewport

     

    https://dl.dropboxusercontent.com/u/65841566/Leadwerks%204.2RC4%20bug%20when%20using%20rocks%20as%20vegetation.jpg

     

    When playing the map

     

    https://dl.dropboxusercontent.com/u/65841566/Leadwerks%204.2RC4%20bug%20when%20using%20rocks%20as%20vegetation%20part%202.jpg

  2. Hi

     

    Bought the engine and been doing some tutorials. Awesome stuff. While doing some tutorial I noticed some strange stuff.

     

    Script.respawnPoint ="" --entity "Respawn Point"

     

    function Script:Collision(entity, position, normal, speed)

    if entity:GetKeyValue("name") == "FPSPlayer" then

    spawnPos = self.respawnPoint:GetPosition()

    entity:SetPosition(spawnPos)

    end

    end

     

    The above code does not work on prefab ? If I change some property values, then the warning comes up telling me that this is not going to be an instanced prefab. If I clicked "OK" the above code will works otherwise it wont work. (I tested multiple times to confirm this)

     

    I following tutorials from this guy. He is using version 3.1 and the same codes work on prefab (based from the video)

     

    Also I think I notice someone else having the same problem here, I think..

    http://www.leadwerks.com/werkspace/topic/11631-incomplete-objects-with-collision-type-trigger-always-box/#entry84154

     

    I'm using the beta branch(4.0).

     

    Thanks

×
×
  • Create New...