Jump to content

drarem

Members
  • Posts

    234
  • Joined

  • Last visited

Everything posted by drarem

  1. Ugh.. thanks, twas my script.
  2. self.sprite:Release() doesn't work, i can hide it though. how do i free a sprite? Thanks.
  3. Mystery solved! At least we know something is broke with the water.
  4. is it possible to increase the same map from 1024x1024 to 2048x2048 without starting over on the map? Thanks.
  5. Since the beta update, we're getting weird artifacts and colors both in editor and run-time. When running the ground looks either low-res or something and off in distance it flashes then you see the rainbow effect in distance.
  6. When animating, I hit 'A' key to select all bones, then 'I' and click save scale/rot/loc .. for each animation. This will lock the model in place. Otherwise bones with different animations will bend and stretch the mesh out of proportion.
  7. getting this on latest update, can't open a couple of other maps previously defined without crashing.
  8. Changed it to this at the end of the Start() function in FPSPlayer.lua. When I point my crosshair at an object to pick up, the gun pops up. I wonder if this is in the picking? if self.weaponfile~="" then self.fgun = Prefab:Load(self.weaponfile) if self.fgun~=nil then if self.fgun.script~=nil then self:AddWeapon(self.fgun.script) System:Print("weapon should be added here, but it isn't") else self.fgun:Release() end-- end end
  9. I have a strange error. I'm using this below. It happens with any gun. When I click a 'start' button to begin, the code is executed below, but the rifle doesn't appear and i can only get one shot off until I go to an object where the hand icon hovers over it, like a pick call. Then the gun appears and i can shoot. Does anyone have any ideas? Thanks. Mapfile contains the player prefab, pointing to the fpsplayer.lua script. In the FPSPlayer.lua code: if self.weaponfile~="" then local prefab = Prefab:Load(self.weaponfile) if prefab~=nil then if prefab.script~=nil then self:AddWeapon(prefab.script) else prefab:Release() end-- end end
  10. where is the .sln file? I think you mentioned it wasn't included in the repo? or is it now
  11. Yes i have the standard edition. I was in ubuntu 15.10 64bit earlier today, i opened up codeblocks and created a project, copying all the files to it. I need a refresher on finding how to link leadwerks.h, it was set up for a project a few months ago I was doing in C++ before getting pulled into the LUA world. I know enough to be dangerous..
  12. No, it's windows 8.1 nvidia gtx 760 12Gb i7 4790k Is there a call in lua to use the windowed full screen mode or a setting?
  13. When i create a FPS template, open up the 01 FPS controller sample, then change it to fullscreen and run it. I hit Alt-Tab and it crashes. What is going on, or is there a work around? I'm thinking anywhere from somehow hiding the title bar and container, to maybe hooking the alt-tab in a key event, changing it to non full-screen so it can alt-tab safely. Help please? thanks.
  14. I take it, it doesn't work in Linux even if i am running with windows and lua, and exporting as a standalone?
  15. In scene mode, clicking on an animated .MDL and parts of it flash/are still transparent. This same source works fine in windows. I tried remapping the .mat and .mdl but still get same result.
  16. Necro'ing this thread, if someone throws something like a ball but want it a straight trajectory. Applying a thrust makes it too unpredictable, I want it to go slower but straighter, so I set the gravity to 0 and do a move from source to destination. What could I check if this ball hits part of the scene, another prop or character instead of the player? Thanks.
  17. Why is it sometimes when I run the game from the editor, I get generic loading/saving in the output window and other times, my print("...") statements produce output? I would like to see output all of the time when the program either ends or crashes to detect bugs. I also notice that in the same window, sometimes my printed output is overlaid by the system messages of loading and saving various models, textures and materials. Thanks.
  18. Do i need to release emitted sound effects if they only play once? is there a good rule of thumb to follow for releasing/stopping music and fx? Thanks.
  19. Probably unrelated, but note that linux IS case sensitive. In the past a model i worked on in windows, I opened up the prefab using a hex editor on linux to see why the texture was black. The texture path was saved as upper case in the prefab file, but the same model and path in linux was lower case. I reassociated the texture with the model on linux to solve the problem. I had an upper case path in windows, but the same path was lower case in linux.
  20. Ok I found that I had an invisible cylinder inside another.
  21. i created a cylinder, gave it invisible texture, set mass to 0, rigid body / trigger, no cast shadows, no navmesh etc, and i collide with it. i can't pass through it, with these new updates in the beta release. Anyone else have this issue?
  22. It seems I have to move the prefab to the map, right click in scene mode and re-save the prefab. Then loading the prefab will work. This is for the trees and bushes stuff so far, seems to be for alot of the pre-loaded workshop items.
×
×
  • Create New...