Gamestudio Links
Zorro Links
Newest Posts
Max Number of Strategies in /Strategy folder
by Martin_HH. 06/16/26 11:13
Z9 getting Error 058
by jcl. 06/16/26 09:51
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
Zorro 3.01 recoded MMI function issue
by 11honza11. 06/13/26 11:40
Stooq now requires an API key
by AndrewAMD. 06/11/26 17:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Lapsa, Martin_HH, 1 invisible), 1,168 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ent_terrainsave() #365161
03/23/11 19:49
03/23/11 19:49
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline OP
Serious User
Dark_samurai  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Hi,

the new function ent_terraincreate() is great! But I'm missing a function that stores a terrain into a .hmp file.
I would do it for my own, but I got stuck when it came to calculating the lightnormalindex out of the lightnormals table.

Example:
Code:
ENTITY* TerrainEnt = ent_terraincreate(NULL, nullvector, 100, 100, 20);
//Maybe some deforming, painting or adding a new skin
//Let's save changes:
ent_terrainsave(TerrainEnt, "NewTerrain1.hmp");



Or a function for calculating the lightnormalindex would also make the task a lot easier.

Thanks!


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: ent_terrainsave() [Re: Dark_samurai] #365162
03/23/11 19:55
03/23/11 19:55
Joined: Apr 2008
Posts: 650
Sajeth Offline
User
Sajeth  Offline
User

Joined: Apr 2008
Posts: 650
ent_terrainsave would be the best feature since the implementation of lite-c.


Teleschrott-Fan.
Re: ent_terrainsave() [Re: Sajeth] #365318
03/25/11 09:07
03/25/11 09:07
Joined: Jul 2000
Posts: 28,106
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,106
Frankfurt
You can do that with the MDL SDK. It contains HMP save functions.

Re: ent_terrainsave() [Re: jcl] #365409
03/26/11 12:26
03/26/11 12:26
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline OP
Serious User
Dark_samurai  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Thanks for your answer!

This SDK is exactly what I need. I didn't knew that there exists something like that.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version

Moderated by  aztec, Spirit 

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