Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 622 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Terrain Generator #93604
10/08/06 10:46
10/08/06 10:46
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
In the Wiki there is a snippet for generating terrain HMP files using DLL and C-Script (http://www.coniserver.net/wiki/index.php/HMP). I got it working, and generating a nice small terrain. But when I make it large it only changes the X verts and the result is that it looks like a long line for a terrain.

There is this line of code that links to a function you have to create yourself, and the comment tells you what to do. But I don't get it, I don't know how to change the terrain's Y vertices?

Code:

Terrain_GetSize(terrain, Terrain_Info); //get Size (Num Verts X / Tri Size X/Y) via a help function



Someone please help me, all I want is to change the size of the entire terrain and not just the X size.

Re: Terrain Generator [Re: sheefo] #93605
10/08/06 16:29
10/08/06 16:29
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
OK, I've worked out that when I put it as 32 it becomes square 32x32 but when I make it 64 it becomes 64x16.

You can't set the width and the height individually, it's just one variable so I have no idea how it works. Please will someone help?


Moderated by  HeelX, rvL_eXile 

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