PDA

View Full Version : Important Question!



-[DRaGoNFLy]-
02-17-2006, 08:26 AM
First the question, and then I will tell you what, why, when and where.

Question: (hold on tight)

Could it be possible to make a 'mod' for Lightwave so you can export models AND there movements to C++.
I would like to create a mod by myself with Lscript but I first need to know:
-How are the models saved?
-Is there a way to save them animations?
Second I want to know:
-Is there a programm that looks a bit like this? (I would like to examine that one)

I would really apreciate any help!

Now the explanation for this question:

I'm into C++'ing lately and become very good at it. I've already made some txt-based games that work very well with everything on it.
Now I want to make models in LW (envoirements, caracters, etc.) so I can get them into C++ but to do that I need to create a programm with Lscript (I want to use Lscript because I think: If I use Lscript I may find a easy way to also get all the 'movements' C++ useable.
I've also posted this one in the Lscripting section... (because I don't know where I can get the most help on this.)

I apreciate all help!

(I'll update when I think I've forgot something.)
(and sorry for my crappy english :) )

thx in advance!

Adrian Lopez
02-17-2006, 03:54 PM
The Lightwave SDK (http://www.newtek.com/lightwave/developers.php) will allow you to create an export plugin to extract meshes and animation curves from Lightwave and save them in whatever format you require. The SDK is too complex to describe in a single post, but the SDK docs are available here (http://www.newtek.com/lightwave/developer/LW80/8lwsdk/docs/index.html).

Pay special attention to the Globals (http://www.newtek.com/lightwave/developer/LW80/8lwsdk/docs/globals.html) section as well as to the Mesh Info (http://www.newtek.com/lightwave/developer/LW80/8lwsdk/docs/meshinfo.html) structure.

-[DRaGoNFLy]-
02-18-2006, 01:33 PM
yess! thx adrian!