Jump to content

nick.ace

Members
  • Posts

    647
  • Joined

  • Last visited

Everything posted by nick.ace

  1. Hi SilentBang! One thing about Lua script that is really beneficial is to look over the examples that come with the engine. I didn't know anything about Lua scripting until I looked at these scripts, and they should start to make sense as you play around with them a little. There are a lot of resources as well on the web since Lua scripting is popular among the modding community as well. Personally, I don't think you would need to buy a book, but if you want that's up to you. It also depends on how much experience you have with programming as well. Plus, the community here is very helpful! As for making better maps, that's sort of a vague topic. I'm sure there are level design tutorials online as well, but if you are looking to make realistic terrain or something, I would recommend using a heightmap generator.
  2. If I set the view distance of a model in the editor and the model goes out of range, the texture is still in memory right? Is it good practice to release the texture (and possibly the model) from memory at a certain distance (if it goes out of range)?
  3. Is Leadwerks designed to handle a lot of unique textures without significant performance drop? I'm just curious because I trying to decide on whether or not to use a bunch of unique textures in my game to a lot add variety. Also, how many unique textures are you using if you are working on a game? I'd be interested to know! Thanks, nick.ace
  4. Wow! These look nice! You should have more of these DLC collaborations.
  5. Ok thanks! That makes more sense now.
  6. For a project, I was working on one map (map1). Then i created another map within that same project and worked on that (map2). However, when I reloaded map1, the uv coordinates of surfaces that I changed (such as uv scale, and rotations from using the lock texture option) reverted back to what they were when the entities were originally created. This doesn't occur if I only work on map1 (even if I reload it from inside of Leadwerks).
  7. Thanks shadmar! Is buffer that just a Lua table? If so, what does it contain when it is passed in? Also, am I correct in assuming that the camera argument is just a camera object, or is it something else?
  8. Does anyone know exactly what the Script:Render() parameters (diffuse, buffer, etc.) are? I'm trying to write some postprocess shaders, but I don't really understand what each of these parameters are and what type each is.
×
×
  • Create New...