Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 5

Author Topic: Using the tile system as a proxy to something mesh based  (Read 7529 times)

Xazo-Tak

  • Bay Watcher
  • *Camping forever*
    • View Profile
Using the tile system as a proxy to something mesh based
« on: December 29, 2015, 01:11:22 am »

Dwarf Fortress is a wonder of content generalisation in gaming, so it does seem very odd that it runs on a tile based system.
Using rudimentary meshes instead would open up so many possibilities!
Obviously, the game would be confusing and unfamiliar if it abandoned the tile system together, but it's easy enough to have it so that designations are still tile based, and tiles render based on what meshes are inside them.

Here are the things that I think become better:
-Creature behaviour becomes much more realistic, as diagonal and orthagonal movement can be made perfectly identical in terms of real distance travelled, and by giving each creature a particular position with a tile it's no longer possible to have a dozen attackers standing in one tile. With animation of creature meshes, it becomes possible to make more accurate calculations of hits in combat; so it won't be so easy to kick a standing person in the face anymore, and if you aim for someone's fourth right finger and miss you might hit something else.
-Multi-tile creatures and constructions will handle their own visual appearance, they only require meshes (Which mostly exist already) and animations.
-Mechanical stress to constructions and natural structures become possibly easier to calculate as terrain shapes can be simplified; not to mention that meshes can collapse in swinging motions as well as straight down.
-Open space can be extended enormously without hitting performance.
-Adds the possibility of dropping tile rendering altogether, which modders would really like.
-Gases such as mist and miasma no longer have to be so taxing to simulate, they can be replaced with moving points that say "at distance x from me, the density of gas y is z".

The things that would become harder would be pathfinding and water flow, but if they were made to work they would be better than they were before; the currently clear-cut definition of what movements are trivial for a dwarf and which are difficult would become blurred, so the game has to be programmed so that a dwarf will consider leaping and climbing outside of combat; as for water flow, the amount of simulation required could end up decreasing for large volumes, and simulating objects in the water being pushed by the flow could become more realistic (an object no longer has to be pushed a whole tile suddenly to be pushed by water).

Adventurer mode would probably become weird and difficult though, since only AI creatures would be able to see and navigate the mesh-based world.

Thoughts? Accusations of heresy?
Logged
How to have recursive Fun:
Have Fun
Reclaim fort
Destroy your main graveyard with a cave-in

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #1 on: December 29, 2015, 02:47:35 am »

I'm not sure what you're asking for. Something like Slaves to Armok? The system was ditched for being difficult to work with and create content for.

Maybe Armok Vision? It's a visualizer that works with the current system.
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

Xazo-Tak

  • Bay Watcher
  • *Camping forever*
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #2 on: December 29, 2015, 03:33:30 am »

I'm not sure what you're asking for. Something like Slaves to Armok? The system was ditched for being difficult to work with and create content for.

Maybe Armok Vision? It's a visualizer that works with the current system.
Something like Slaves to Armok I, but with zero focus on graphics, because the current graphics would be preserved by having it so that the symbol for something appears in each tile that something's mesh is in.
And I'd say that since the raws almost have all the information needed to make such a rudimentary mesh, it won't be too hard to create content if there's procedural animation  (All that's needed is stuff like saying where parts attach to on a part since part sizes are already given, stuff like arranging the teeth in the mouth doesn't matter outside combat, only really placing the arms high and the legs low matters).
Logged
How to have recursive Fun:
Have Fun
Reclaim fort
Destroy your main graveyard with a cave-in

Eagleon

  • Bay Watcher
    • View Profile
    • Soundcloud
Re: Using the tile system as a proxy to something mesh based
« Reply #3 on: December 30, 2015, 01:46:45 am »

Armok 1 already had zero focus on graphics. When DF first released I wanted to argue that was part of its charm, I was upset that I'd never see another update to a game that let you turn people's hearts into water with your mind, but I was veto'd by the wonderful world of roguelikes and never looked back. But the system you're describing was basically how it worked - the creature and weapon parts had primitives associated with them, they were deformed based on various attributes, and it all looked really hilariously bad but still took ages to develop because it couldn't look so bad that you didn't know what was going on.
Logged
Agora: open-source, next-gen online discussions with formal outcomes!
Music, Ballpoint
Support 100% Emigration, Everyone Walking Around Confused Forever 2044

Xazo-Tak

  • Bay Watcher
  • *Camping forever*
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #4 on: December 30, 2015, 05:45:24 am »

Armok 1 already had zero focus on graphics. When DF first released I wanted to argue that was part of its charm, I was upset that I'd never see another update to a game that let you turn people's hearts into water with your mind, but I was veto'd by the wonderful world of roguelikes and never looked back. But the system you're describing was basically how it worked - the creature and weapon parts had primitives associated with them, they were deformed based on various attributes, and it all looked really hilariously bad but still took ages to develop because it couldn't look so bad that you didn't know what was going on.
But with my proposed system, it can look that bad, because the original graphical system can still be used, by having it so that if a primitive from say, a dwarf is in a particular tile, that tile will show as having a dwarf in it.
The problem with that is that the dwarf can be in two or four tiles at once, and therefore appear as that many dwarves.
Logged
How to have recursive Fun:
Have Fun
Reclaim fort
Destroy your main graveyard with a cave-in

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Using the tile system as a proxy to something mesh based
« Reply #5 on: December 30, 2015, 05:59:46 am »

The fatal drawback with your suggestion is that the graphical simplicity will make DF even more unplayable. If a dwarf's mesh overlaps with multiple tiles, suddenly the display for that would be utterly atrocious because I won't be able to tell accurately where the dwarf is.
Sure, it'll make some development easier, but it'll be impossibly difficult to tell what is going on. Hence unplayable, and incredibly difficult to debug.
Unfortunately, if you want a nuanced 3D world you're going to need a nuanced display. The original Slaves to Armok wasn't particularly nuanced, but at least you can tell where things are. Using tiles to display the same thing simply isn't feasible.
« Last Edit: December 30, 2015, 06:02:15 am by Orange Wizard »
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

Xazo-Tak

  • Bay Watcher
  • *Camping forever*
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #6 on: December 30, 2015, 06:17:16 am »

The fatal drawback with your suggestion is that the graphical simplicity will make DF even more unplayable. If a dwarf's mesh overlaps with multiple tiles, suddenly the display for that would be utterly atrocious because I won't be able to tell accurately where the dwarf is.
Sure, it'll make some development easier, but it'll be impossibly difficult to tell what is going on. Hence unplayable, and incredibly difficult to debug.
Unfortunately, if you want a nuanced 3D world you're going to need a nuanced display. The original Slaves to Armok wasn't particularly nuanced, but at least you can tell where things are. Using tiles to display the same thing simply isn't feasible.
Perhaps there could be some rule like "if something is smaller than a tile, it must show as being in a single tile".
It might get more complicated with something long and thin, but it seems good enough.
Logged
How to have recursive Fun:
Have Fun
Reclaim fort
Destroy your main graveyard with a cave-in

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #7 on: December 31, 2015, 06:42:58 am »

To be honest, you're pretty much asking Toady to rewrite the entire game from scratch. DF was built on its tile system. The fluids and pumps were programmed for tiles. The drawbridges. The zones. Anything movement related. So much technical stuff that we can't even know the extent. It's pretty much not going to happen.
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

Xazo-Tak

  • Bay Watcher
  • *Camping forever*
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #8 on: January 04, 2016, 03:27:40 am »

To be honest, you're pretty much asking Toady to rewrite the entire game from scratch. DF was built on its tile system. The fluids and pumps were programmed for tiles. The drawbridges. The zones. Anything movement related. So much technical stuff that we can't even know the extent. It's pretty much not going to happen.
Isn't he already rewriting it from scratch?
Logged
How to have recursive Fun:
Have Fun
Reclaim fort
Destroy your main graveyard with a cave-in

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #9 on: January 04, 2016, 06:48:03 am »

To be honest, you're pretty much asking Toady to rewrite the entire game from scratch. DF was built on its tile system. The fluids and pumps were programmed for tiles. The drawbridges. The zones. Anything movement related. So much technical stuff that we can't even know the extent. It's pretty much not going to happen.
Isn't he already rewriting it from scratch?
No?

The changes you speak of also mean DF cannot be represented by tiles, which kind of kills a whole lot.
« Last Edit: January 04, 2016, 06:50:16 am by Bumber »
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

Sorg

  • Bay Watcher
    • View Profile
    • EnglishWithCoffee
Re: Using the tile system as a proxy to something mesh based
« Reply #10 on: January 04, 2016, 06:49:12 am »

Isn't he already rewriting it from scratch?
Um... no?

edit: damn, ninja'd :P
Logged
Intelligent is a strong word to use around DF.
you're lucky it wasn't an adventurer.  I've heard they can bash your skull in by throwing water at you.  UNDERWATER

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #11 on: January 05, 2016, 04:14:48 am »

To be honest, you're pretty much asking Toady to rewrite the entire game from scratch. DF was built on its tile system. The fluids and pumps were programmed for tiles. The drawbridges. The zones. Anything movement related. So much technical stuff that we can't even know the extent. It's pretty much not going to happen.
Isn't he already rewriting it from scratch?

14 years of work basically down the tube because...?


not sure where you got that

Xazo-Tak

  • Bay Watcher
  • *Camping forever*
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #12 on: January 05, 2016, 07:00:11 pm »

The changes you speak of also mean DF cannot be represented by tiles, which kind of kills a whole lot.
I already explained how it could still be represented by tiles, and in fact would massively simplify multi-tile creatures.

14 years of work basically down the tube because...?


not sure where you got that
64-bit version.
The biggest things that have to be redone to be disposed of tile-based simulation are physics simulation and pathfinding, and doing that rewrite would be the perfect time for that.
« Last Edit: January 05, 2016, 07:03:15 pm by Xazo-Tak »
Logged
How to have recursive Fun:
Have Fun
Reclaim fort
Destroy your main graveyard with a cave-in

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Using the tile system as a proxy to something mesh based
« Reply #13 on: January 05, 2016, 07:04:54 pm »

64-bit is not a complete rewrite.

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Using the tile system as a proxy to something mesh based
« Reply #14 on: January 05, 2016, 07:07:06 pm »

And even if it was, it'd still be more work to rewrite DF to be an entirely different game than it was to begin with.
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.
Pages: [1] 2 3 ... 5