Author Topic: level-run-around?  (Read 4825 times)

neverknown

  • Guest
level-run-around?
« 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..

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
level-run-around?
« Reply #1 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")

neverknown

  • Guest
level-run-around?
« Reply #2 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?

Kislinskiy

  • Guest
level-run-around?
« Reply #3 on: 2004-06-29 15:08:02 »
This is the common way to code such games.  :wink:

trickstar66

  • *
  • Posts: 224
    • View Profile
    • http://radicalgarbage.250free.com
level-run-around?
« Reply #4 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)?

Cyberman

  • *
  • Posts: 1572
    • View Profile
level-run-around?
« Reply #5 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

trickstar66

  • *
  • Posts: 224
    • View Profile
    • http://radicalgarbage.250free.com
level-run-around?
« Reply #6 on: 2004-07-01 13:00:23 »
Quote
has nothing to do with a particular graphics mode

oic...

neverknown

  • Guest
level-run-around?
« Reply #7 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 >_<

Cyberman

  • *
  • Posts: 1572
    • View Profile
level-run-around?
« Reply #8 on: 2004-07-04 18:21:11 »
I know this might seem redundant BUT
try walkmesh
Look at this to get started :)

neverknown

  • Guest
level-run-around?
« Reply #9 on: 2004-07-04 20:41:42 »
Quote from: Cyberman
I know this might seem redundant BUT
try walkmesh
Look at this to get started :)


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

Cyberman

  • *
  • Posts: 1572
    • View Profile
level-run-around?
« Reply #10 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 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

neverknown

  • Guest
level-run-around?
« Reply #11 on: 2004-07-05 12:41:05 »
thx :D