Gamestudio Links
Zorro Links
Newest Posts
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,519 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to create a terrain in lite-c #119504
03/26/07 20:46
03/26/07 20:46
Joined: Mar 2007
Posts: 18
J
jreuschel1 Offline OP
Newbie
jreuschel1  Offline OP
Newbie
J

Joined: Mar 2007
Posts: 18
How do i Create a terrain with lite-c?

I try ent_create("terrain.hmp",vector(0,0,0),NULL);

the compiler sems to skip this line if it is to create a .HMP, but not if it is .MDL

also level_load("terrain.hmp"); does work..... can you use only one HMP per level?

any help?

Re: How to create a terrain in lite-c [Re: jreuschel1] #119505
03/27/07 00:17
03/27/07 00:17
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
ent_create("testTerrain.hmp", nullvector, 0);

works for me

Re: How to create a terrain in lite-c [Re: HeelX] #119506
03/27/07 09:54
03/27/07 09:54
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
level_load("terrain.hmp") works also - but of course, the "terrain.hmp" file must already exist. You can create it with MED. The functions won't create a terrain when the file is not found.

See the examples in the work folder, there are some with terrain.


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