Gamestudio Links
Zorro Links
Newest Posts
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
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Akow, SBGuy), 1,423 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
know the size of the terrain dynamically? #420559
03/29/13 00:55
03/29/13 00:55
Joined: Nov 2007
Posts: 318
Brasil, Paraná
NeoNeper Offline OP
Senior Member
NeoNeper  Offline OP
Senior Member

Joined: Nov 2007
Posts: 318
Brasil, Paraná
someone would know how I could get the size of my terrain dynamically? size_x and size_y


Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________
Re: know the size of the terrain dynamically? [Re: NeoNeper] #420560
03/29/13 00:58
03/29/13 00:58
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Check ent_status().


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: know the size of the terrain dynamically? [Re: Superku] #420566
03/29/13 09:13
03/29/13 09:13
Joined: Apr 2008
Posts: 586
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 586
Austria
Or vec_for_min, vec_for_max.

Re: know the size of the terrain dynamically? [Re: Petra] #420603
03/30/13 00:55
03/30/13 00:55
Joined: Nov 2007
Posts: 318
Brasil, Paraná
NeoNeper Offline OP
Senior Member
NeoNeper  Offline OP
Senior Member

Joined: Nov 2007
Posts: 318
Brasil, Paraná
TANKX Superku And Petra.
using the way the Petra taught to me, worked!
Code:
vec_for_min(my.min_x, my);
	vec_for_max(my.max_x, my);
	printf("%d",(long)my.max_x*2); //its work



Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________
Re: know the size of the terrain dynamically? [Re: NeoNeper] #420635
03/30/13 15:06
03/30/13 15:06
Joined: Nov 2007
Posts: 318
Brasil, Paraná
NeoNeper Offline OP
Senior Member
NeoNeper  Offline OP
Senior Member

Joined: Nov 2007
Posts: 318
Brasil, Paraná
enjoying the post, could you give me one more information?

I there a way to re-save my terrain hmp in real time, after I modifying the mesh and skinns?


Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________

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