Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Terrain Programming - Changing from one to another instantly QUESTION?!?

Author
Message
OceanJeff
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: Ocean Shores, WA
Posted: 12th May 2010 13:17
Is this possible.

Ok, you are in a terrain, and let's say you go through a stargate on a planet. Can I change the terrain around the player instantly? I've tried re-building the terrain, but it locks up the system...

HELP!

later all,

jeff c
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 12th May 2010 15:39
Can you have two terrains in the same place, then just hide one and show the other?

Niels Henriksen
19
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 12th May 2010 21:43
What if you only show the terrain the player can see?

Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.
haliop
User Banned
Posted: 12th May 2010 23:59
what you can do is :

use 2 terrains, but put them far away from eachother like
0,0,0 for the first
10000,0,0 for the second

once you "Jump" in the stargate you move your player to the other terrain, i think that is a simple solution.
OceanJeff
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: Ocean Shores, WA
Posted: 13th May 2010 00:57
Brilliant idea, sounds good! I love it!

I was thinking three dimensional, but not big enough.

Let you know how it goes.

later all,

jeff c
:'
OceanJeff
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: Ocean Shores, WA
Posted: 13th May 2010 05:00
One Problem though...

There is no command for positioning a terrain.

There also isn't a command for deleting a terrain.

Not sure where to go.

Oh well, I'll just work on what to do with one terrain for now.

Later all,

jeff c
haliop
User Banned
Posted: 14th May 2010 11:40
a terrain is the same as object.
everything applied to a 3D object can be applied to a Terrain.

therefor:

dbPositionObject(terrainId,5000,0,0);
should work

Login to post a reply

Server time is: 2024-07-07 01:24:19
Your offset time is: 2024-07-07 01:24:19