-
Posts
938 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Downloads
Posts posted by tjheldna
-
-
Never mind, a complete re-install fixed
-
Hi All
I've been having issues with running Leadwerks on my laptop for some time now and really not sure what I can do to fix. Leadwerks working fine on my desktop which is what I mainly use anyway.
The issue occurs when I run my game and get the error 'Map File Version 28 is not supported'. I've updated the project, cleaned and rebuilt project in debug and release, nothing I've tried will get if fired up (The map works fine in the editor)... any ideas to try?
Cheers
-
-
If you look here
C:\Users\[username]\AppData\Local\Leadwerks
Your .cfg file is probably still there so if you remove it or perhaps the whole folder it will reset.
Cheers
-
Just had a 2 second look and found a line it probably wont like
local tag = self.entity:FindChild("j_gun")
also the script animates in code so you will need to implement the animations to be played.
-
Hi,
These more than likely wont work by just adding them in to the demo as they have no affiliation to it. In fact they were made for a community project a while back. I'm not sure what's causing the crash as I haven't tried, maybe a node is being searched for and can't find it on my model or something.
I could say I could make it work but at the moment with the latest addition to the family, time, sleep etc is out the window and have minimal time for even my project. If I do have a spare sec this weekend I'll try take a look, but I can't promise anything.
Have you tried stepping through the code to see where it crashes?
-
Bought it too, been waiting for something like this to become affordable as it was only a matter of time. Hope it gets funded.
-
Things that I want to see are...
- OSX Build
- Performance
- Some sort of editor plugin system.
- Visual Shader Editor. Realistically we are limited to about 4 users here that can actually use the current method to its potential.
- Improved Scene Graph as discussed in other threads
- Substance Designer integration.
- GUI Editor.
- 2
-
I think you can delete your editors .cfg file and reload the app may work too. It's located here too C:\Users\[username]\AppData\Local\Leadwerks
-
Dont forget you can view the fps and more via it this way too...
c++
Context *context = Context::GetCurrent();
context->DrawStats(10, 10, false);
lua (not tested)
self.context:DrawStats(10, 10, false)
- 1
-
Noticed these functions weren't in the documentation.
World::SetLightQuality();
Texture::SetLoadingMode();
-
Here is an example of a custom mover class I created and all the collision responses that go along with it.
//Define collision types
PhysicsDriver::GetCurrent()->SetCollisionResponse(kCollisionMover, Collision::Scene, 0);
PhysicsDriver::GetCurrent()->SetCollisionResponse(kCollisionMover, Collision::Prop, 0);
PhysicsDriver::GetCurrent()->SetCollisionResponse(kCollisionMover, Collision::Trigger, 0);
PhysicsDriver::GetCurrent()->SetCollisionResponse(kCollisionMover, Collision::Character, 1);
PhysicsDriver::GetCurrent()->SetCollisionResponse(kCollisionMover, kCollisionProjectile, 1);
PhysicsDriver::GetCurrent()->SetCollisionResponse(kCollisionMover, kCollisionCorpse, 0);
PhysicsDriver::GetCurrent()->SetCollisionResponse(kCollisionMover, kCollisionBorder, 0);
PhysicsDriver::GetCurrent()->SetCollisionResponse(kCollisionMover, kCollisionMover, 0);
-
Just looking at the code quickly (without compiling) and comparing a few things to my code you have done the responses correctly and I haven't noticed any bugs for this as of yet. Maybe the parenting is messing things up with two different collision types?
camera->SetDebugPhysicsMode(true); may help you debug a little further.
-
With your buildings you need to generate a physics shape. You can do this by going to the 'Assets' tab right clicking on the model and 'generate shape'->'polymesh'. You then go to the scene tab, select your entity->physics tab->shape file and select your generated shape.
You would look at creating a prefab from this model so you never need to do this process again for that model.
Particles are under 'Objects' tab->'Effects' in the first drop down->'Particle Emitter' for the second drop down. You now can click in the view port to drop an emitter.
Hope this helps
-
Yes 3.0
3.0 didn't come with the binaries from what I remember they need to be created by compiling. I'm still under the impression that this is the issue as in 3.0 you need to compile the project regardless if it's Lua or C++. The compiler you need then is VS 2010 instead.
There is no coding involved, you just need to load up the project in the compiler by opening your projects [projectname].sln file and hit build under debug and release then you will be able to run it in the editor.
shadmars suggestion could be it to.
These are the first places I would look, hope you get there.
-
Hmm sounds like you need to compile the project in Visual C++ 2013. If you have this installed, the .sln it's in your projects Projects\Windows\ folder. Once you build it under debug and release you should be able to run from the editor.
Is this the non steam version?
-
Id have to agree, im always needing pivots and having easier access would be nice.
-
If that's the case the bones, alignment and proportions seem great to me.
On a side note what I do these days (don't know if this is the way to go but it works for me) is not to have the arms raised in the T position rather have them more on a 45 deg angle so they are in a more natural position. This eliminates some stretching around the shoulder area I've found when you go to animate the character as you don't need to rotate it as much to get the arms to their initial stance. Like I said don't know if it's the way to go or not... probably not for what you are doing.
-
I think the animations look nice and neat
Some points:
- It's hard to tell where the animations start and stop as there is a bit of a blend period between some of them. Also could this be wasted space taking up resources when imported? I usually do a straight snap to the next animation with no space in between.
- When I import the fbx into Modo, there are some weighting issues, but I think that could be a modo fbx import issue.
- frames 12-91 idle anim, get a slight LHS leg shudder when looping (going from frame 91 to 12 and providing I have the right frames here).
Can you provide the start and end frames of each animations and I can test more thoroughly?
All in all, I thought it was pretty good.
-
Yeah Character physics is special and rotation is added as a parameter in the SetInput function.
http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/entity/entitysetinput-r706
Cheers
-
Had the same thing, see this post. you need to clamp.
http://www.leadwerks.com/werkspace/topic/9943-drawimage-issue/
-
Hi Zancie,
There are C++ users here and I for one are one of them. C++ came a while after Lua so in the future I have no doubt there will be more. The documentation has a C++ and a Lua example if you take a look. It's also quite easy to rewrite lua code into C++ if that helps.
If you have a question about something in particular just post it and more than likely someone will be happy to help!
- 1
-
How did I miss this thread? Thanks GameCreator
- 1
-
It's all good, I don't mind poking around with some testing, in fact I like it! It doesn't effect me much at the moment anyway as I'm pretty much compiling all the time in debug anyways.
Thanks anyway.
World->Update() crash
in Leadwerks Engine Bug Reports
Posted
Hi Josh,
Since updating to the latest I'm getting a crash on world->Update() here is the call stack...
Cheers!