Jump to content

grinseengel

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by grinseengel

  1. OK thanks for the help. I have the following code now.

     

    range = 100
    
    
    --Load a sound
    local sound = Sound:Load("Sound/heli2.wav")
            
    --Create a source
    source = Source:Create() 
    source:SetSound(sound) 
    sound:Release() 
    source:SetLoopMode(true)  
    source:Play() 
    source:SetPosition(Vec3(0,0,1))
    source:SetRange(range)
    
    local listener = Listener:Create() 
    listener:SetPosition(0,0,0)
    The problem now is that the sound is not heard anymore. It does not matter which range I enter. The sound is converted to mono.
    
    I do not understand that now with the listener. Where do I have to integrate and which parameters do I have to set? 
    
    I ask for help.
  2. Hello,
    
    I have a question about music and sound.
    
    In my project I have a helicopter to which I have assigned a sound.
    
    How can I program the sound louder and quieter depending on the distance of the player?
    
    The following code I have now for the fundamental play.
    
    sound = Sound:Load("Sound/military_helicopter.wav")
    
    
    
    source = Source:Create() 
    source:SetSound(sound) 
    sound:Release() 
    source:SetLoopMode(true) 
    source:Play() 

     

    Are there any 3D sounds in Leadwerk?
    
    
    In this context I would like to know how to determine the distance between two entities.

     

     
    
    Andreas
    

    1.png

  3. I have another problem.
    
    I bought the dlc the zone and created a new project.
    
    Before the update I had the version 4.5. After the update to 4.6, I can no longer start my project in the editor. Even as a stand alone game it does not work anymore.
    
    The following error occurs:
    
    It will show a picture of the level for about 3 seconds. Without animations only a rigid picture. After three seconds, the screen disappears and nothing else happens.
    
    The debuger shows no errors.
    
    Does anyone have any idea why this might be.?
  4. Quote

    It is set up so that when launched from the editor, it creates a smaller window. If launched alone, it creates a fullscreen window at maximum resolution. This is because you often need to go back and forth with the editor when you are working on a project.

     

    The resolution in the editor max 1280x 720 pixels is I understood. But I have even if the project is published only as a max. Resolution 1280x720 pixels.
    A max resolution of 1920x1080 pixels I can not select as a standalone game.
    
    What am I doing wrong?

     

     

  5. Thank you for your prompt reply. However, this is exactly the script which is included in the 
    tutorial level. My problem is that I can set in Editor mode and after the publish in the 
    menu of the screen resolution max only 1280x 720 pixels. I can set a small resolution but 
    none about it. Since my graphics card and my current games under 4k run I do not understand. 
    Is it possibly the version of Lead Works?
  6. Ok, I have the possibility to get a 4k resolution. I have a Gforce 1070.
    
    In the script I find the following code:
    
    "local gfxmode = System: GetGraphicsMode (System: CountGraphicsModes () - 1)
    if System: GetProperty ("devmode") == "1" then
    gfxmode.x = math.min (1280, gfxmode.x)
    gfxmode.y = Math: Round (gfxmode.x * 9/16)
    windowstyle = Window.Titlebar "
    
    How can I change the resolution?
    
    Greetings Andreas
  7. Ok, I have the possibility to get a 4k resolution. I have a Gforce 1070.
    
    In the script I find the following code:
    
    "local gfxmode = System: GetGraphicsMode (System: CountGraphicsModes () - 1)
    if System: GetProperty ("devmode") == "1" then
    gfxmode.x = math.min (1280, gfxmode.x)
    gfxmode.y = Math: Round (gfxmode.x * 9/16)
    windowstyle = Window.Titlebar "
    
    How can I change the resolution?
    
    Greetings Andreas
  8. Hello, I am a total beginner and I have a question about publishing.
    
    I have uploaded a tutorial map (07-AI und events) and would like to publish it. However, I get as a result always only one level with two simple blocks. What am I doing wrong?
    
    Greetings Andreas
×
×
  • Create New...