Jump to content

dennis

Members
  • Posts

    469
  • Joined

  • Last visited

Everything posted by dennis

  1. dennis

    LE3 Lua

    *THROWS MONEY AT THE SCREEN*
  2. dennis

    LE3 Lua

    Yes josh I want you to take my moneys
  3. I use PixPlant, it's an application to set all values exact as you like
  4. dennis

    LE3 Lua

    Owh my gawd! this is so freaking awesome! the good part is... I will be 3 weeks on camp. I will earn loads of money, I can't spent my money when I'm there, in the forest. after 3 weeks I have loads of money then I'm said.. cold in the forest and such, probably bad weather hugging my weapon is the only thing I can hug. and then the almighty JOSH is there, to show LE3. which I can buy then then I'm feeling way better, start coding LUA again. and only can do that using weekends so stays really fun So Josh win, win situation for u and me take my moneys Ps. really sweet the logic editor.
  5. Thanks guys, will try it as soon as possible. I'm exhausted, didn't sleep for 40 hours now.
  6. But I also need it to use for a pause game. so when the escape button is clicked the game is pause and draws some text on screen which says pause. so when clicking the escape again the game will start. a normal logic would be... 1 click is one second click is off. as with a light. when I push that little button it will go on, the second click turns it off.
  7. hmm, strange, now it's flickering at game start
  8. Thanks, and you too Furbolg. But it still doesn't toggle. it shows it for 1 frame. when I spam the button it kinda shows it. I used questionscreen = false; if KeyHit(KEY_ESCAPE) then if (questionscreent) then questionscreen = false; else questionscreen = true; end end if questionscreen then fw:Render() SetBlend(1) DrawText("if you see this it works.",100,100) SetBlend(0) Flip() end
  9. It won't work for me though that is normally more like C, C++, VB like code. also couldn't remember since LUA accepted bool. as in: bool questionscreen = false;
  10. Hello, I wanted to toggle a screen when pressing on escape or TAB. for showing a quest screen. or something like that. but my code didn't work... atleast it partly works. shows for like 1 ms the code I'm using is: if KeyHit(KEY_ESCAPE) fw:Render() SetBlend(1) DrawText("if you see this it works.",100,100) SetBlend(0) Flip() end What am I doing here wrong? I also use the while do... but that worked for some few seconds. it showed when not pressing the escape key. and it didn't go off when pressing the escape key. so not worked at all.
  11. your welcome, I assume works fine now? and good night to you
  12. found it! your second material aint got a extension add .dds at the end and should be working you had: texture0="incbin::BNG_MAIN_AVA_OFF" you need: texture0="incbin::BNG_MAIN_AVA_OFF.dds" Cheers
  13. Yes the models are converted by FPSCreator. through UU3D
  14. Yes I did. But i kinda solved it. But now it's only responding when i push the E key while pointing at the switch at the very bottom corner at the sides. Why is this so? Now i have the trigger working but the model or something is acting strange
  15. Hello all, Today I followed one of aggror's tutorials on using triggers and events. I tried to make a light that actually could flick on and off. I wrote one, that didn't work. so I wrote one exactly as his and that even didn't work,,, Why isn't it working for me? I use this code for the switch: require("scripts/class") local class=CreateClass(...) function class:CreateObject(model) local object=self.super:CreateObject(model) function object:Update() if KeyHit(KEY_E) ==1 then for n = 0,7 do target = self.model:GetTarget(n) if target ~= nil then target:SendMessage("trigger_light", self.model,0) end end end end end for my light I'll spare the pre-written code for u and just go on to trigger part function object:ReceiveMessage(message, delay) if message == "trigger_light" then if self.active == 1 then --hide the light object.light:Hide() self.active = 0 elseif self.active == 0 then --show the light object.light:Show() self.active = 1 end end end Why isn't this working?
  16. Marley, I'm about to call you my hero ! that this little setting caused the problem. thanks it worked Yours worked out also, really great! thanks
  17. There is a topic around here somewhere that is setup for LOD (with equipment) so that when you walk further away from the character his equipment become hidden. you also can do that for your game / idea but in some other way. Make a script using the same kind of setup, change several values so instead of LOD it are models / textures. when you push some GUI button or another value or action. instead of the LOD you can specify a button to it. so when clicking that, the texture or model changes. or setup several other characters, but attach other textures to them, so they all look different. I hope this helped for you.
  18. hey all, I have some models. but the problem now is that the are showing up the Low poly LOD stage immediately. So all my round models are square now :\ really strange problem, can someone please help me out with that. A screenshot: And the LUA code I'm using (also tried without) require("scripts/class") require("scripts/constants/collision_const") local class=CreateClass(...) function class:CreateObject(model) local object=self.super:CreateObject(model) object.model:SetLODDistance(5,0) object.model:SetLODDistance(10,1) object.model:SetKey("collisiontype", COLLISION_SCENE) end The naming convention for the models: I hope someone could help, Cheers Dennis
  19. sad face from my side. I'm not made of stone, uhhmm partly but still all about the idea anyway. if you had a hard day. just talk about it you are also a human at least I assume you are. I don't think you would like to see my help. but I'm a humanitarian aid worker, at least studied for it, and finished. as 4 other schools... but still I would be happy to help anyone who need. IT or just another problem. no matter what. still didn't like your reaction.
  20. I would prefer if you just speak normal to me, I'm also a person who forgot to check the date. sorry if I was bumpy at all, but still you don't need to react as a total I would say it in the cruel words "wonderful person"... there are some persons here who have work times from 06:00 am till 11 pm and then Need to develop. still I doesn't needed to mention the wonderful person part ... sorry but you know what I mean.
  21. I think he didn't because he's still asking that
×
×
  • Create New...