Jump to content

Davaris

Members
  • Posts

    285
  • Joined

  • Last visited

Everything posted by Davaris

  1. Right click on the LESDK2.3.exe file and select 'Run as administrator'
  2. Try running it as an admin.
  3. Thanks for posting this TylerH. I hope you don't mind if I try it out as well.
  4. Thanks! I also noticed the windmill fan, isn't turning in the editor or gamelib. Does that mean the script is broken? Or perhaps there is something I need to turn on, to get Lua to update? If that is the case, it would explain why the fire barrel doen't produce fire.
  5. I had another look at the shadows issue and it is only the terrain objects that are missing shadows. All other objects have shadows. I also tested the monster truck again and it is not kicking up dust in the editor or in gamelib.
  6. I just checked the fire barrel again and it was working like I said above with the squares instead of smoke *in a map I made before yesterdays update*. However it isn't working in a test map I made today. The light is working, but there are no flames, heat haze or smoke. I wonder if it is just a problem with its script? Because the monster truck kicks up dust properly when it moves. EDIT: Oh wait a sec, it works in the editor just fine so there must be another reason.
  7. I just tried it again and found it crashes when the other zombie walks into my zombie. Also if I keep the zombie's head perfectly level, I can walk for a little while before it crashes, but if I start walking while pointing its head up or down, it crashes immediately.
  8. I got the demo working with my own map and 0.0.15, but something is different in 0.0.16. I'm wondering if it is the changes to the unnecessary physics objects you mentioned? The other issue I noticed was the fire is working now, but the smoke is appearing as squares. Anyway I'll do some more testing and see if I can figure out exactly what is causing it to crash. At the moment I think it does it when I attempt to move and change direction with the mouse, because it works for a few seconds walking and then boom.
  9. Thanks for posting this Lumooja. I just tried it out and ran into a show stopper. For some reason it crashes when I move my zombie or when the other zombie touches my character. But for some reason, the zombie I do not control, can follow a waypoint circuit with no problems. It crashes in here: inline void Framework::Update() const { ::leUpdateFramework(); } Also I still get the null framewerk message and there are no shadows for objects, terrain or otherwise. However for some reason my zombies have shadows. Edit: I was wondering if you might be willing to replace those structs in Gamelib with classes? That way people can override some of the functions without disturbing your code.
  10. I recon you might be able to learn some of this stuff through guessing and trial and error. As for me I think that texcoord0 is the used section of that texture0 and .a is an alpha transparency value for each pixel. So any pixel in that section that is less than 0.5 transparent, discard it. Josh has some vids in the tute section where he messes around with shaders a little, so that might help as well.
  11. Davaris

    Injury

    Ouch! Sorry to hear about your back Josh. When I hurt my back or neck I can't sleep or sit in in a normal chair because of the pain. Zero G recliner chairs help a lot though. http://www.amazon.com/Lafuma-40480-Napoule-Padded-Recliner/dp/B00004VWLP
  12. That looks good. I wonder if you can do that with LW engine? I imagine you need animated rain textures for the 3D objects in your scene.
  13. I was looking at that Alien ai stuff as well. So far I have no idea what it does. Was there an article on that site explaining its purpose?
  14. So would the head have to be a separate mesh? Or perhaps you can store a table of polygon ids.
  15. At that point it was super late and I had to go to bed. 3 of those functions required two params instead of 1 param, so I wasn't sure if they worked the same way. Looking at it with fresh eyes I can see they are the same functions, except one group takes a vector for the two params. Different ways of doing things is confusing for tired newbies!
  16. Davaris

    Tunnel

    Its very kind of you to make these models available. Thanks!
  17. #include "engine.h" int main(int argc, char** argv) { Initialize(); RegisterAbstractPath("C:\Users\Davaris\Desktop\MyProject"); Graphics(640,480); AFilter() ; TFilter() ; TWorld world = CreateWorld() ; if (!world) { MessageBoxA(0,"Error","Failed to create world.",0); return Terminate(); } TFramework framework=CreateFramework(); TLayer layer = GetFrameworkLayer(0); TCamera cam=GetLayerCamera(layer); PositionEntity(cam,Vec3(0,0,0)); //Set Lua variable BP L=GetLuaState(); lua_pushobject(L,framework); lua_setglobal(L,"fw"); lua_pop(L,1); // Setup Initial Post Processing FX /* SetGodRays(1); SetHDR(1); SetSSAO(1); SetBloom(1); SetAntialias(1); */ SetStats(2); game.scene.GetFramewerk().GetRenderer().SetReflectionRenderComponents(ENTITY_ALL); game.scene.GetFramewerk().GetRenderer().SetDistanceFogColor(Vec4(0.9f,0.9f,1,0.96f)); game.scene.GetFramewerk().GetRenderer().SetDistanceFogAngle(Vec2(0,10)); game.scene.GetFramewerk().GetRenderer().SetDistanceFog(fog); game.scene.GetFramewerk().GetRenderer().SetNearDOFRange(Vec2(0,5)); game.scene.GetFramewerk().GetRenderer().SetFarDOFRange(Vec2(50,1000)); game.scene.GetFramewerk().GetRenderer().SetAntialias(antialias); game.scene.GetFramewerk().GetRenderer().SetSSAO(ssao); game.scene.GetFramewerk().GetRenderer().SetNearDOF(dof); game.scene.GetFramewerk().GetRenderer().SetFarDOF(dof); game.scene.GetFramewerk().GetRenderer().SetGodRays(godrays); game.scene.GetFramewerk().GetRenderer().SetBloom(bloom); LoadScene("abstract::mytestmap.sbx"); // Setup spectator TBody spectator=CreateBodySphere(); SetBodyMass(spectator,1); SetBodyGravityMode(spectator,0); SetBodyDamping(spectator,1.0); EntityType(spectator,3); SetBodyBuoyancyMode(spectator,0); PositionEntity(spectator,Vec3(0,5,-10)); TVec3 camrotation=Vec3(0); float mx=0; float my=0; float move=0; float strafe=0; HideMouse(); MoveMouse(GraphicsWidth()/2,GraphicsHeight()/2); // MAIN LOOP while (!KeyHit(KEY_ESCAPE)) { mx=Curve(MouseX()-GraphicsWidth()/2,mx,6); my=Curve(MouseY()-GraphicsHeight()/2,my,6); MoveMouse(GraphicsWidth()/2,GraphicsHeight()/2); camrotation.X=camrotation.X+my/10.0; camrotation.Y=camrotation.Y-mx/10.0; RotateEntity(cam,camrotation); move=KeyDown(KEY_W)-KeyDown(KEY_S); strafe=KeyDown(KEY_D)-KeyDown(KEY_A); TVec3 force = Vec3(strafe*10.0,0,move*10.0); force=TFormVector(force,cam,0); AddBodyForce(spectator,force); UpdateAppTime(); UpdateWorld(AppSpeed()) ; PositionEntity(cam,EntityPosition(spectator)); // Update timing and world UpdateFramework(); // Render RenderFramework(); // Send to screen Flip(0) ; } return Terminate(); } I pasted the effects from Gamelib in and removed game.scene.GetFramewerk().GetRenderer(). And got the following errors: error C3861: 'SetReflectionRenderComponents': identifier not found error C2660: 'SetDistanceFogAngle' : function does not take 1 arguments error C2660: 'SetNearDOFRange' : function does not take 1 arguments error C2660: 'SetFarDOFRange' : function does not take 1 arguments
  18. This is terrain only. It is the jungle part of the free set Josh uploaded. I just checked the effects on both and got this: Gamelib: ssao, bloom, antialias, dof, fog, god rays. framework ssao, hdr, bloom, antialias, god rays. I'm not sure if hdr works on my card though.
  19. Do the roots look flat in the framewerk picture to you? Which effect brings them out like they are in the Gamelib version?
  20. Actually looking at it again, there isn't a problem other than the Gamelib one is a lot brighter so the details seem to pop out. I attached some pictures for you to compare. The Gamelib one has some extra effects turned on but the roots look kind of flat in the framewerk picture. I don't know if it is the missing effects though. framewerk gamelib
  21. Excellent. Thanks for letting me know.
×
×
  • Create New...