Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: neverknown on 2004-06-29 12:19:14

Title: level-run-around?
Post by: neverknown on 2004-06-29 12:19:14
my english is bad so ill try to describe it as best as i can ..

i ve always wondered how the level-run-around works in generic..
for example: if you run around in a city and find some stairs and you decide to go them up (slaps myself, silly english >_<) it feels or looks like a bit 3D.. but the background is 2D.. how does this work in generic..

i only need a starting thought..
like.. maybe there is some grid all over the background
(invisible of course) or something like this..
Title: level-run-around?
Post by: halkun on 2004-06-29 12:27:30
It's called a "walkmesh"

There are 3D planes that are defined in each field file. The engine uses this as the "ground" and as a refrence point for the movement calculations. They are always flat or slanted at an angle (Like ramp) They are not defined as polygones but as 3d mathmatical planes set up in a marix that you can walk on (hence, "walkmesh")
Title: level-run-around?
Post by: neverknown on 2004-06-29 12:49:37
thank you mr halkun ^^

is this a common way to code such games?
or are there "better" techniques?
Title: level-run-around?
Post by: Kislinskiy on 2004-06-29 15:08:02
This is the common way to code such games.  :wink:
Title: level-run-around?
Post by: trickstar66 on 2004-06-29 16:41:32
Correct me if I'm wrong, but is this not the way the FF9 battles and everything but the world map in FF8 and FF7 done? Isn't this also how Mode7 works for sprites on GBA (Doom)?
Title: level-run-around?
Post by: Cyberman on 2004-06-30 15:30:59
A walk mesh is a 3d surface that 'contrains' a 3d object to only move in certain areas. For example in NWN all the tile sets have walk meshs. You cannot walk on some things in the tile set because they do not have a walk mesh.

All a walk mesh defines is that "you can walk on this" to the 3d engine. It has NOTHING to do with mode 7 which is actually a hangover from the Super NES and improperly used over and over and over again.  This has nothing to do with a particular graphics mode ;)

Cyb
Title: level-run-around?
Post by: trickstar66 on 2004-07-01 13:00:23
Quote
has nothing to do with a particular graphics mode

oic...
Title: level-run-around?
Post by: neverknown on 2004-07-04 17:51:43
could you give my some keywords for google so i can look for some tutorials..? my english isnt that good >_<
Title: level-run-around?
Post by: Cyberman on 2004-07-04 18:21:11
I know this might seem redundant BUT
try walkmesh
Look at this (http://www.google.com/search?q=walkmesh&sourceid=mozilla-search&start=0&start=0) to get started :)
Title: level-run-around?
Post by: neverknown on 2004-07-04 20:41:42
Quote from: Cyberman
I know this might seem redundant BUT
try walkmesh
Look at this (http://www.google.com/search?q=walkmesh&sourceid=mozilla-search&start=0&start=0) to get started :)


^^ already tried that after i read the thread one more time..
it seems i get results realted to neverwinter nights only :/
Title: level-run-around?
Post by: Cyberman on 2004-07-04 21:28:42
Quote from: neverknown
Quote from: Cyberman
I know this might seem redundant BUT
try walkmesh
Look at this (http://www.google.com/search?q=walkmesh&sourceid=mozilla-search&start=0&start=0) to get started :)


^^ already tried that after i read the thread one more time..
it seems i get results realted to neverwinter nights only :/

That's because NWN uses them heavily (and it's one of the most anoying problem with it).  However READ the NWN tutorials and you will learn about walkmeshes (believe it or not!).

Which reminds me.. anyone want to make some FF7 NWN background models? (could be a lot of fun .. ).

Cyb
Title: level-run-around?
Post by: neverknown on 2004-07-05 12:41:05
thx :D