Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (EW_bytes), 22,194 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 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,145
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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