Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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 | 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