Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 662 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
DirectX file format for static mesh with ent_create and WED #256083
03/14/09 15:25
03/14/09 15:25
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline OP
Expert
slacer  Offline OP
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
If ent_create() could load DirectX files directly, it would be easier for our players to create/import their own mods.

While this forum is filled with GameStudio users which want to learn how to work with GameStudio and WED/MED, some of our customers don't even know GameStudio exists.

To allow them to simply throw their lowpoly "CoolCar.x" from TurboSquid into the models folder to be able to select the new car in the game and have even more fun than before - this would be "Great!!" (we could create a magical autoscale function to get the model into the right size.)


In D3DSample06.c is an example about how to load your own .x file into the game engine. Missing is only the part to create an empty ENTITY* object and connect all the missing peaces to this entity.

In order to make collision possible with this construction I would like you to do this task. (enhancing ent_create)

It would help if it is just for models without bones, animations, etc.
If you give us more - no problem smile
But a single frame with texture and collision option is what I ask for.

-- slacer

Re: DirectX file format for static mesh with ent_create and WED [Re: slacer] #256586
03/17/09 17:07
03/17/09 17:07
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
You can create .X model entities, at least theoretically. However, this was rarely used or tested. .X is not a good format. So try it at your own risk.

Re: DirectX file format for static mesh with ent_create and WED [Re: jcl] #256593
03/17/09 17:46
03/17/09 17:46
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
.x indeed sucks.
I tried using x models in another game engine and always somethign was wrong. i tried dozens of free tools, and finally gave up.

My workaroudn was writing a fully featured MDL5 importer for this engine. That worked great laugh

Re: DirectX file format for static mesh with ent_create and WED [Re: jcl] #256634
03/17/09 20:30
03/17/09 20:30
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline OP
Expert
slacer  Offline OP
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
Originally Posted By: jcl
You can create .X model entities, at least theoretically. However, this was rarely used or tested. .X is not a good format. So try it at your own risk.


I did not know it was possible to use ent_create with .x files all the time, because it was not mentioned in the manual.
If it is a bad format I should ask for another file format like .3ds.

Which "open" file format would you suggest to use besides mdl in order to let the player create or modify game assets and import them without MED?

To publish a kind of MED-lite with the game would be a nice option wink


-- slacer

Re: DirectX file format for static mesh with ent_create and WED [Re: slacer] #256667
03/18/09 07:21
03/18/09 07:21
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
3DS is fine. For bones, use FBX. But your end user will need MED anyway for importing models. Almost always, models must be transformed, scaled, or some material adjusted for using them in the engine, and MED is ideal for that.

You need not publish a MED lite. Instead, you're supposed to give your end users a link to our page or to the lite-C download. That includes MED and is free.

Re: DirectX file format for static mesh with ent_create and WED [Re: jcl] #256686
03/18/09 11:02
03/18/09 11:02
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline OP
Expert
slacer  Offline OP
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
Quote:
You need not publish a MED lite. Instead, you're supposed to give your end users a link to our page or to the lite-C download. That includes MED and is free.


Great smile
Since I use the pro edition, I did not care about what is included with lite-c.

Thank you

Re: DirectX file format for static mesh with ent_create and WED [Re: slacer] #256731
03/18/09 16:55
03/18/09 16:55
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Fragmotion can import .x format and export to GS with animations.
The only thing is that the end result is a huge file pending on the amount
of animations I guess.

It is also very cheap to register.


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus

Moderated by  aztec, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1