Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,119 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
new_ need_some_help #222797
08/21/08 01:36
08/21/08 01:36
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
hello,
My name is renny and I just downloaded c-lite. I tryed to make a small world to load in to 3DGS.
this is the code I found for loading a world in to the program
CODE:
////////////////////////////////////////////////////////////////////////////
// small.c - small lite-C example
////////////////////////////////////////////////////////////////////////////
#include <acknex.h> // include these predefined, needed files in our project
#include <default.c>

void main()
{
// Load the level named "small.hmp"
level_load("small.hmp");
// Now create the "earth.mdl" model at x = 10, y = 20, z = 30 in our 3D world
ent_create("earth.mdl", vector(10, 20, 30), NULL);
// NULL tells the engine that the model doesn't have to do anything
}

OK, my problem is I have no way of making my world in to .hmp formatt.

I have 3D world studio, gamespace,lightwave9 and more, but I can not find hmp formatt.

even the modeling program that comes with 3DGS does not export in that formatt (.hmp)



So what I need is to find out how I can make my maps have .hmp formatt?

Thank you all

renny laugh


I have A7 Commercial .............. Now I just need to learn how to use it

Re: new_ need_some_help [Re: sadsack] #222798
08/21/08 01:37
08/21/08 01:37
Joined: Aug 2008
Posts: 16
J
justgamefreak Offline
Newbie
justgamefreak  Offline
Newbie
J

Joined: Aug 2008
Posts: 16
change it as wmb

level_load("small.wmb");

Last edited by justgamefreak; 08/21/08 01:38.
Re: new_ need_some_help [Re: justgamefreak] #222801
08/21/08 01:49
08/21/08 01:49
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Change what???? if I have a model and it is mdl formatt how do I change it to a wmb formatt???


I have A7 Commercial .............. Now I just need to learn how to use it

Re: new_ need_some_help [Re: sadsack] #222803
08/21/08 01:54
08/21/08 01:54
Joined: Aug 2008
Posts: 16
J
justgamefreak Offline
Newbie
justgamefreak  Offline
Newbie
J

Joined: Aug 2008
Posts: 16
replace in your codes

level_load("small.hmp");

to

level_load("small.wmb");

thats all

Last edited by justgamefreak; 08/21/08 01:55.
Re: new_ need_some_help [Re: justgamefreak] #222804
08/21/08 02:01
08/21/08 02:01
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Well I just made a small world in 3Dworld studio and export it as an .x file.
now how do I load that in as a level??


I have A7 Commercial .............. Now I just need to learn how to use it

Re: new_ need_some_help [Re: sadsack] #222805
08/21/08 02:02
08/21/08 02:02
Joined: Aug 2008
Posts: 16
J
justgamefreak Offline
Newbie
justgamefreak  Offline
Newbie
J

Joined: Aug 2008
Posts: 16
replace in your codes

level_load("small.hmp");

to

level_load("small.x");

(not sure about that if 3dgs supports .x or you need to change it wmb. but try as i told first)

Re: new_ need_some_help [Re: justgamefreak] #222807
08/21/08 02:11
08/21/08 02:11
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
I have tryed all of that stuff. all I get is a black screen.
CODE:
////////////////////////////////////////////////////////////////////////////
// small.c - small lite-C example
////////////////////////////////////////////////////////////////////////////
#include <acknex.h> // include these predefined, needed files in our project
#include <default.c>

void main()
{
// Load the level named "world.hmp"
level_load("world.hmp");
// Now create the "earth.mdl" model at x = 10, y = 20, z = 30 in our 3D world
//ent_create("worl.x", vector(10, 20, 30), NULL);
// NULL tells the engine that the model doesn't have to do anything
}

I was hoping that this program realy worked.
Thank roe your help and time
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: new_ need_some_help [Re: sadsack] #222808
08/21/08 02:13
08/21/08 02:13
Joined: Aug 2008
Posts: 16
J
justgamefreak Offline
Newbie
justgamefreak  Offline
Newbie
J

Joined: Aug 2008
Posts: 16
you problem is not about model, its about world try this;

Code:
#include <acknex.h> 
#include <default.c>

void main()
{

level_load("small.x");

ent_create("earth.mdl", vector(10, 20, 30), NULL);

} 


Last edited by justgamefreak; 08/21/08 02:14.
Re: new_ need_some_help [Re: justgamefreak] #222814
08/21/08 02:22
08/21/08 02:22
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
well (small) is not the name on the 3D model (world) But no matter what the name of the model is, it will not load.

Now one think I don't know, do I have load the earth in the program to make the level load in?
I don't at this time have a earth model, I can make one, but it should not have to be loaded in for the world to show up in the program.
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: new_ need_some_help [Re: sadsack] #222815
08/21/08 02:26
08/21/08 02:26
Joined: Aug 2008
Posts: 16
J
justgamefreak Offline
Newbie
justgamefreak  Offline
Newbie
J

Joined: Aug 2008
Posts: 16
then first comment model and try to load only world;

Code:
#include <acknex.h> 
#include <default.c>

void main()
{

level_load("small.x");

//ent_create("earth.mdl", vector(10, 20, 30), NULL);

} 


Last edited by justgamefreak; 08/21/08 02:27.
Page 1 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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