Jump to content

gordonramp

Members
  • Posts

    398
  • Joined

  • Last visited

Everything posted by gordonramp

  1. This gives an error on the second toggle saying 'attempt to index global value 'vwep' a nill value'. It comes from the vwep:Hide() line. The object is appearing but still not disappearing. Can anyone see why? if KeyHit(KEY_F5)==1 then if showthing==0 then local object=0.6 local vwep = LoadMesh("abstract::object1.gmf") vwep:SetParent(fw.main.camera,0) vwep:SetPosition(Vec3(-0.0*object,-0.01*object,0.45*object),0) vwep:Show() showthing=1 else vwep:Hide() showthing=0 end end
  2. This is a little more tidy...loading the object once. But I haven't got the vwep:Hide() and vwep:Show() working.. if KeyHit(KEY_F5)==1 then if showthing==0 then local object=0.6 local vwep = LoadMesh("abstract::object1.gmf") vwep:SetParent(fw.main.camera,0) vwep:SetPosition(Vec3(-0.0*object,-0.01*object,0.45*object),0) showthing=1 else showthing=0 end end
  3. Ahh, well I adapted this bit of code from the FPS gun script that comes with the SDK. I agree, I don't want to load the object twice but it seems to be the only way I can get it to show. I'll play around with your suggestions. I'm actually trying to show and hide object1.
  4. Hi, I'm hoping someone can help me with this.. Basically, I want to be able to show and hide an object in front of the camera. It's actually showing the object fine with the keyhit but I'm unable to hide it again. The object is parented to the camera and so moves around nicely in full view. How can I hide, delete or shift the object from view. This code resides in the Main Loop of my program. Thanks. if KeyHit(KEY_F5)==1 then if showthing==0 then local object=0.6 local vwep = LoadMesh("abstract::object1.gmf") LoadMesh("abstract::object1",vwep) vwep:SetParent(fw.main.camera,0) vwep:SetPosition(Vec3(-0.0*object,-0.01*object,0.45*object),0) showthing=1 else showthing=0 end end
  5. Hi Shard, As I understand.. Daz has a new Eula which allows purchasing of a licence for Poser Characters for game use. They have developed a kit which reduces poly count and changes the quad polys to tris and makes multiple maps into a single one. It also includes an .FBX exporter. Havn't tried it but have seen videos of Poser Characters animated in Unity. Look ok too at around 5000 to 10000 ks. The only issue I can see is that Leadwerks doesn't support Morphs (Please change this Josh).
  6. I noticed the same bug and have been placing objects manually.
  7. Nice. Looking forward to 'Sound'. I need to place footsteps in with my fp controller, so it may be timely.
  8. Nice, It didn't even occur to me that the icons could be customised.
  9. I'm noticing a slight slowdown also. (compared with 2.31).
  10. franck22000. Thanks, yes those lines are present in the version file so I guess I'm actually up to date. (Gee Josh).
  11. Hi Lumooja, I have downloaded 2.32 using the 'SDK updater' just now but can find nothing to indicate that it is in fact 2.32r4. Even the version file simply says it is 2.32
  12. I saw that Josh had updated the file for 2.32r4 in the downloads area so I downloaded it again this morning (my fasted download time) but as usual it stopped almost at the end and became a corrupted file.
  13. Yes, I'm still unsuccessful download r4. Have tried maybe 9 times at different times of the day too. Frustrating.
  14. Yep, I spoke too soon. Roads are all over the place in the desert demo, In my maps although objects look ok in the Editor, when run with the Engine and Lua Framework, some objects don't have shadows. No sounds for the oil drum etc. Also I notice a slight stuttering when moving across a terrain. Is smooth in 2.31
  15. That's better. These major releases are sure stressful, I had objects disappearing and other anomalies occurring with 2.32r2 but no problems so far with 2.32r3. Thanks Josh.
  16. I have gone from DBPro to Lua. Lua seems relatively easy to pick up.
  17. Finally got a download to work and everything was updated but like others my maps are very jerky and the release is unusable for me yet. Have gone back to 2.31.
  18. I've tried both types of download without success.. (several times). Must be a rush on the server.
  19. Well I'm impressed by your efforts. I'm interested to know how you will populate this world. Will the inhabitants speak and if so, in what form?
  20. Does this mean you will redo them in Lua or in C++?
  21. Excellent, more please Aggror. (I'm so pleased you are using the Framework too.)
×
×
  • Create New...