Jump to content

dennis

Members
  • Posts

    469
  • Joined

  • Last visited

Posts posted by dennis

  1. Hey all,

     

    I'm following project saturn tutorial series and now there is this problem with creating the inventory.

     

    function Script:Use(player)
    local playerInventory = player.script:GetInventory()
    
    if playerInventory == nil then
    error("No inventory")
    end
    System:Print("We got an inventory")
    if not playerInventory:IsFull() then
    System:Print("We place the bottle inside the inventory")
    end
    end

     

    it's a real pain to find out what the problem is because the error I'm getting is:

    "C:/Users/Dennis/Documents/Leadwerks/Projects/..." : 3 : attempt to index local 'player' (a nil value)

     

    But I already declared the player inside Use right?

     

    Can somebody please help?

     

    Cheers

  2. Do it with a menu ;) I used SQLite and LUA in LE2.5.

    I think that LE 3.2 will do just fine with it :) just make it that the player is able to change the settings during render.

    after that when game is up let the game check the SQLite DB or just tables if you prefer.

  3. Hey all,

     

    I started to do some research in lua socket.

    But does anyone know, how the process for synchronization upon a network is turned out?

    How foes the data flow amd do I need to send every single object or can I use the .map file?

     

    I have some great ideas in mind for networking, for example to use the smartphone in corporation with Google maps in real world to gain extra experience and new items.

     

    Cheers,

    -Dennis

  4. Hey guys,

     

    Thanks for your reply!! Maybe do a raycast on the ladder, change the camrotation towards the ladder. Use the use button to start climbing sequence (from a function) then move te character to the end of the ladder.

     

    Or use the W button to start climbimg and release the character controller while climbing so if you stop climbing itvwill coke back again?

     

    Would that be a possible approach?

  5. hello all,

     

    How can I add different weapon systems from my models inside my game? and also add those to the standard fps script? so it's usable.

     

    I tried some things but everytime it just won't show up. :(

     

    cheers and happy easter

  6. heya,

     

    I have a problem with adding my own weapon in the fps script...

    It won't appear when I add it (.pfb ) when I want to add it directly it won't work either.

    someone knows what the problem is ?

     

    I added these pictures:

     

    post-2125-0-72189500-1391685936.jpg

     

     

    This is the model of the prefab. which is technically the same except. the prefab starts with anim sequence 0

    (spread position)

    post-2125-0-80951900-1391685949_thumb.jpg

     

    Thanks in common

    Cheers,

×
×
  • Create New...