Jump to content

metaldc4life

Members
  • Posts

    86
  • Joined

  • Last visited

Everything posted by metaldc4life

  1. and also this is line 25 App.water:SetParent(nil)
  2. Leadwerks 3.2 I don't know what you mean by placing in my game but it's the right way I know that much by unzipping into the right folder's.. But like you said I guess I could have been more detailed in my question. sorry =) as far as trying to get it to work it "kinda" works which for example it shows up just fine and runs the game ok and shows the water ok but it's in spectator mode and I don't know how to take out the spectator mode and make it the player character, it also has a skybox and when i remove it this is the error in the water.lua script i get: attempt to index field 'water' (a nil value) line 25 this is what i used and followed directions on but still errors occur http://www.leadwerks.com/werkspace/files/file/468-water-prefab-for-leadwerks-31-steam-ed/ Thx for helping me! =)
  3. I found this really nice water script by Klepto I have been trying to integrate into my game but it is stuck in spectator mode and I can't seem to put the camera on the player character? If anyone could help that would be great!
  4. hi, I am brand new to this and was wondering how I add multiple scripts like an inventory script to the player... I pm'ed Josh on this one and I didn't quite understand much of it (sorry Josh =/) here is what I put: my main question is how do I add multiple scripts to a player character so I can add inventory, health bar etc. to him?? and he put: "We use a design of one script per entity. This eliminates a lot of problems when you are writing more advanced scripts. For example, with our system it's easy to find the "health" value of an entity: health = entity.script.health During development, we also tried it with multiple scripts and found it got really messy very quickly. " I really do appreciate everyone's input (especially Josh's) but I just don't understand this yet so if anyone can help I would be a million times grateful! =)
×
×
  • Create New...