Jump to content

DooMAGE

Members
  • Posts

    308
  • Joined

  • Last visited

Everything posted by DooMAGE

  1. Commenting also self.entity:SetMass(0) seems to work. So its a confirmed bug
  2. Wow I was like crazy trying to fix this same problem. Removing 00_Underwater+Caustics fixed my problem. It's a hard task to edit the shader?
  3. Hey Marcousik thank you for looking into my problem I tried do the same but the game still crashes for me, I'll take another look at the code.
  4. Yeah, I'm using LE 4.4 and sometimes there is no crash. It's very hard to track why this happens since looks like the debugger is broken in LE4.4
  5. Hello friends, I don't know what is going on, but when the player is killed by the crawler, the game hangs up and crash. To reproduce just create a new first person shooter project and load the map "07-AI and Events.map", let the crawlers kill you
  6. Would be great to have a real map in the background in the start menu. I use a screenshot as background and it feels lifeless In this example I used the THUI library
  7. Its working great so far in my end.
  8. Yeah, its super easy if it is just a lua project. The only downsize its that there is some shader glitch on the top of the screen.
  9. It's a LUA project for now. So I'll just install Steam, download Leadwerks and import the project. Now I'm looking for a good distro, I am thinking to use Manjaro or Solus
  10. Hello friends, Later this week I'll try to port my project to Linux, there is any guides or documentation of how port a LE project to Linux? Its just open the LE Windows project in the LE Linux version and build? Thanks in advance
  11. After the beta there will be a buy once licence?
  12. Only if the FPSController script had crouch too :/
  13. When LE5 is released on Steam it will also use the Steam Workshop?
  14. Would be great if we had an official tutorial about that, I'm trying to do the same as our friend in this thread, and I'm sure since this is an official feature others devs will have trouble to figure out how to mod or create new stuff with the new LE widget system time to time again. There is some undocumented stuff like SetObject. For example I'm trying to do something simple like change the font size of the main buttons (New Game, Options and Quit), and looks like that there is no function or parameter in the widgets to do that. https://www.leadwerks.com/learn?page=API-Reference_Object_Widget_SetString name: name of the variable to set. value: value to set. Its not enough, what are the values I can set? You use "Link" in your example (menu.lua) what are the other types? I feel so lost with this feature
  15. Hello, There is wrong comments in the TriggerPain.lua script. Its telling something about change map, this may confuse some ppl. Also its not killing the player. If I change entity.script:TakeDamage() with entity.script:Hurt() it works
  16. Update. It's working now, I use world:pick to raycast and test if the pickinfo I got is the object I want to show. Since the raycast wont work with hidden objects, I am changing its materials. Now the catch is, How can I detect if my raycast is not hitting the object I got before, so I can put the original material back? Tried this but my lastValidPickinfo thing is not working: if self.entity.world:Pick(p0,p1, pickinfo, 0, true) then if pickinfo ~= nil then if pickinfo.entity ~= nil and pickinfo.entity:GetKeyValue("name") ~= "" then self.lastValidPickinfo = pickinfo pickinfo.entity.script.showObject = true if self.lastValidPickinfo.entity:GetKeyValue("name") == "" then self.lastValidPickinfo.entity.script.showObject = false end end end
  17. Good point. Anyone know the name of the classes? I don't have visual studio instaled yet
  18. Yeah, looks like pick wont work with hidden objects (makes sense), and also earlier I was testing with a CSG object, and now I remember that CSG with no scripts is not an entity. /edit You can hide objects with pick
  19. I think it works https://www.leadwerks.com/community/topic/2351-parented-hidden-objects-are-visible-for-raycasts/#comment-21510 Also I am trying to debug with: System:Print(pickinfo.entity.position) And it only shows "0.000000, 0.000000, 0.000000" no matter to where I look. So I think I am using pick wrong :/
  20. Hello, I'm trying to modify the FPSPlayer.lua to show hidden objects with the flashlight, but its not working. What I am doing wrong? function Script:UpdateWorld() local pickinfo=PickInfo() local p = self.flashlight:GetPosition() if (self.camera:Pick(p.x,p.y,pickinfo,0.5,true)) then pickinfo.entity:Show() end end Edit - I guess I should use world:pick instead?
  21. So the line was not there? If this is the case, yes you have to restore your main.lua
  22. I also use THUI and its working fine. The update most likely changed your main.lua so you need to modify your main.lua again to work with thui. To make sure, try to find in your main.lua: import "Addons/THUI/THUI.lua"
  23. Thank you guys for all the feedback, I guess it was a issue on my end.
  24. Related I guess: https://www.leadwerks.com/community/topic/16476-44-aliased-text-contextdrawtext/
×
×
  • Create New...