Skip to content
Snippets Groups Projects
  1. Nov 29, 2012
  2. Nov 26, 2012
  3. Nov 25, 2012
    • MirceaKitsune's avatar
      RealBadAngel's patch which allows the lua api to read pressed player keys.... · 3d1c481f
      MirceaKitsune authored
      RealBadAngel's patch which allows the lua api to read pressed player keys. This should make it possible to change the player's animation based on what he is doing
      
      Correct lua api version number
      
      Always update animations and attachments after the entity is added to scene client side. Fixes animations not being applied in client initialization for some reason. Attachments should be re-tested now just to be safe.
      
      Fix a segmentation fault caused by reaching materials that didn't exist in a loop for setting texture
      3d1c481f
    • MirceaKitsune's avatar
      Update attachments at the ending of the addToScene function for parents. And... · 9259d028
      MirceaKitsune authored
      Update attachments at the ending of the addToScene function for parents. And with this... *drum roll* Client-side attachments are at last functional and stick visibly.
      
      Fix the last segmentation fault (apparently). So far attachments seem to be fully functional, although removing the parent causes children to go to origin 0,0,0 and possibly still cause such a fault (though this should already be addressed)
      
      Fix a bug in falling code where entities get stuck
      
      Also check if the parent has been removed server-side, and detach the child if so. Fixes children going to origin 0,0,0 when their parent is removed.
      
      Unset all attachment properties when permanently detaching (on both the client and server). Also store less data we don't need
      
      Create a separate function for detaching, and also update lua api documentation
      
      When a child is detached, update its position from the server to clients. This WILL cause it to get positioned slightly differently client side, as the server attachment system only copies parent origin and knows not about mesh / bone transformation. This prevents different clients seeing the object detached in different spots which is most correct
      
      Update the position of attached players to clients. An attached player will see himself move, but this is currently VERY ugly and laggy as it is done by the server (it probably must stay this way too)
      
      Use a different approach for locally attached players. This allows for smooth positio transitions to work, as well at the player turning around freely. Still buggy however
      9259d028
    • MirceaKitsune's avatar
      Get the mesh working through the memory cache properly. Most credit goes to... · 9c8ba427
      MirceaKitsune authored
      Get the mesh working through the memory cache properly. Most credit goes to celeron55 for the help on this code
      
      Get the texture from memory as well
      
      Add .x to the list of supported formats
      
      Update LUA API documentation
      9c8ba427
    • MirceaKitsune's avatar
      Add a subfolder for models and transfer models from server to client · f9675bd2
      MirceaKitsune authored
      (obj, md2 and md3 are currently allowed)
      
      Get rid of the texture string and use the existing textures array. Segmented meshes have multiple materials, and this will allow us to texture each. Do not switch to this commit yet!
      
      If a texture string is left empty in LUA, don't modify that material. Useful so a script can change specific textures without affecting others
      f9675bd2
  4. Sep 01, 2012
  5. Aug 12, 2012
  6. Jul 28, 2012
  7. Jul 27, 2012
  8. Jul 25, 2012
  9. Jul 24, 2012
  10. Jul 23, 2012
  11. Jul 22, 2012
  12. Jul 21, 2012
  13. Jul 19, 2012
  14. Jun 17, 2012
  15. Jun 10, 2012
  16. Jun 07, 2012
  17. Jun 05, 2012
  18. Jun 04, 2012
  19. Jun 03, 2012
  20. Apr 14, 2012
  21. Apr 10, 2012
  22. Apr 09, 2012
Loading