-
Posts
1,272 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Downloads
Posts posted by VeTaL
-
-
Bug-report is updated, hope Josh will fix it in the nearest future
-
Warning, achtung, внимание !!!
Take out your wifes and childs from monitors.
The first test starts:
TEntity sword = LoadModel ("medievalweapons_longsword.gmf"); EntityParent(FindChild(mi1->GetModel(),"Bip01 Spine"),sword,1);
Control: press 1-2-3 to run different animation loops.
Starring: crawler, sword.
:D
-
-
Got an idea that it would be nice to have FAQ subforum
-
Tested this and that ( http://www.leadwerks.com/werkspace/topic/2786-decals-on-surface-from-bullets/ ) and some more examples ( http://www.leadwerks.com/werkspace/topic/439-are-decals-working-in-2-3 ) - but still cant see decals
Any ideas on this?
-
Thanks, i'll test it and share results.
-
Found old thread: http://www.leadwerks.com/forum/viewtopic.php?f=1&t=5941
According to Josh, the EntityParent should work, but for me it broke the animation, so that it only animated a few frames anymore.
I'm starting to work with attaches, now just collecting info.. any news on it?
-
Continuing tutorials theme: http://www.leadwerks.com/werkspace/page/Documentation/LE2/tutorials/_/artwork/tools/
-
It was my dream for a long time, to create a usefull FAQ with solving some actual problems and examples.
Begginers would be able to find usefull info, experienced ones could refresh some knowladges here (at least, its my dream).
As i have more free time now (i already got my Masters degree), now i can spend some time on FAQ.
The main idea is to collect there all usefull threads with solutions from this and old forum.
Okay, lets start.
Programming
General
How can i get Leadwerks Engine Source?
Entity commands speed test - extremely interesting and usefull thread
Obtaining the model/mesh file names
Terrain raw file output format
Converting animated models with UU3D
Program execution speed on different PC?
Turn off console for Release build(in the bottom of the page)
C++
How can i use pak-files? Can i set a password?
Integrates Ogg Theora playing into LeadWerks
GetVertexPosition usage, example included
How to use decals? example included
Attaching equipment, example included
Determine positon of model child
Cegui initialization [example]
C#
LUA
Reading Lua Class Properties from C++
HowTo using LUA script as data file
Reading Lua Class Properties from C++
Shaders
Fix the alpha problem in leaves of certain trees
Editor
How to get vegetation to appear in the menu?
Troubleshooting
"Can't open scripts/classr" error
Terrain texture render problem
Mem Usage Grows Continuously (LUA and garbage Collector)
Alpha blending issues when planes are parented
This post will be updated, of course. Any help is wellcome
I'm trying to add at least 1-2 posts each day.
-
Thanks, macklebee and Lumooja, i'll update my first post to finish this "tutorial" as i got SetZipStreamPassword to work.
Moreover, i still have an idea of creation of FAQ with simple questions like this.
-
I saw some threads about this problem, but still cant find clear solution.
Okay, lets rock:
1) Created new project with Project Wizard in "Z:/fps", launched - thats ok.
2) Change AbstractPath to
RegisterAbstractPath("Z:/fps");
Launched - get a crach - thats ok.
3) Moved shaders.pak to Z:/fps - now i get level without textures - thats ok.
4) Created folder Z:\fps\Content\ and moved there
cobblestones.dds
cobblestones.mat
cobblestonesdot3.dds
Now i got normal level... you saw that picture hundreds time, so i wouldnt post it here
5) Now i zipped Content folder with "Store" method (also tested "Normal" and "Best" they all works fine) and without passwords. Important thing is to check ZIP format to archive. Rename Content.zip to Content.pak - this works nice.
6) Last step is to make new Content.pak with password. I made it with password "12345", then i add in engine
SetZipStreamPassword("Content.pak","12345");
And it works ok again.
7) Last step is to test different passwords for different archives.
I make pak1.pak with cobblestones.dds and cobblestones.mat with password "12345"
and pak2.pak with cobblestonesdot3.dds with password "123456"
Next is to add
SetZipStreamPassword("pak1.pak","12345"); SetZipStreamPassword("pak2.pak","123456");
And it works ok.
PS: this post is written in step-by-step style, i hope this will clear up for others in a future(when this "manual" will be finished), how to work with packages.
PPS: ONE MORE IMPORTANT THING: path should be "../Content", not "..\Content"
-
//'From Dust'
Yep, i've heard about that project. waiting for it very much
-
Maybe a tutorial or something like that?
I also faced that problem some months ago.
-
[offtopic]
Used my own personal touch there. Sorry about that.
roland, i also prefer using "_name" for private members.
[/offtopic]
-
Paulson's game include wrapper for OpenSteer, if i dont miss things.
-
imo, tournamentdan is right about multi threading
-
LoadScene uses LoadMesh, which is the best way to instance models.
You could theoretically use CopyEntity to make instances of the model too, but I think it does not work perfectly, or then I had some other issue with occlusion culling when I tested it.
So always use LoadModel to make perfectly instanced models.
LoadModel doesn't load from disk if the model is already loaded, so there is no additional disk activity either.
This is quite usefull for me... What about creation of new FAQ?
-
Well, try to add this to bugtracker. (at least, link to this thread)
If Josh would fix all last bugs and release 2.45 or 2.5 - that would be just perfect
-
//Not that anyone on the Blitz forums will care - but I am going to celebrate it (even if I do it alone).
Just let me know, i'll drink virtually with you
-
Have no idea in shaders, but maybe you can try to use old shaders pak?
-
If i were Josh, i would look closely at http://www.adrianboeing.com/pal/index.html#intro, cause this poll shows that different projects (and different people) need different physics.
Furthermore, if i would make some... well, crane simulation - i would prefer to use old good accurate Newton
-
//Increased amount of textures
extremely needed
-
Heh...
on the Leadwerks forum nobody knows about OIS.... and on the OIS forum, of course, nobody knows about Leadwerks ><
-
Good idea, but Rick is absolutely right: the problem is different scales for different instances of one model.
Moreover, i created this roll to get know, if anybody found solution, just not to invent a wheel again
Equipment attaching
in Programming
Posted
Dont think that its expected to work in this way - looking like a bug.
Added to bug-report - i think, Josh should check it ( http://www.leadwerks.com/werkspace/tracker/issue-185-5-parenting-to-bones/ )