![]() |
#1 |
Knight
Join Date: Jan 2008
Posts: 926
![]() |
Four types of granite walls?
I'm finally trying to add terrain (of a sort) to Neoband, but I'm wondering, why are there four types of granite walls (never mind doors) in lib/edit/terrain.txt? If I add a new type of wall, door, etc. will I have to add four versions? Or is this a thing for graphical tiles, that I can safely ignore?
|
![]() |
![]() |
![]() |
#2 | |
Prophet
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,023
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,592
Donated: $60
![]() |
With Neoband being based on 3.2.0, adding terrain is easy enough, but the difficult part is making sure it behaves correctly. Things you need to consider include
As fizzix says, it's all a bit painful, but kind of fun in a grim sort of way ![]()
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#4 |
Knight
Join Date: Jan 2008
Posts: 926
![]() |
Thanks... So I guess I won't need to add four types of e.g. coal seam?
(I take it that removing the need for multiple granite walls, etc. would be nontrivial?) BTW I notice the trap implementation requires a terrain feature for each trap type. Ick. |
![]() |
![]() |
![]() |
#5 |
Prophet
Join Date: Dec 2009
Posts: 9,024
![]() |
I believe the multiple wall types are to indicate things like "this wall is part of the border of a room" and "this wall is in a corridor". Such information is important for laying out the dungeon but is only really relevant for basic wall types.
|
![]() |
![]() |
![]() |
#6 |
Knight
Join Date: Jan 2008
Posts: 926
![]() |
Oh dear. I'd wanted to add wall types, among other things. Unless you mean "only relevant for granite/perm walls/doors."
Thanks though, I will see if I can come up with a better way of doing things. (Not that I rate my chances that high.) |
![]() |
![]() |
![]() |
#7 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,592
Donated: $60
![]() |
Quote:
At this stage of the code restructure the multiple types of granite have been removed, and traps are no longer terrain. See the restruct branch on Github if you're interested.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#8 |
Knight
Join Date: Jan 2008
Posts: 926
![]() |
Thank you and thank you. I may see about merging some code from that...
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Love the new room types | CunningGabe | v4 | 32 | April 29, 2012 18:16 |
New pit types | Nomad | Development | 81 | February 23, 2012 12:49 |
Weapon types | ekolis | Vanilla | 0 | July 3, 2010 18:14 |
Types of vaults | Wraitheist | Vanilla | 5 | September 8, 2008 02:53 |
Granite tile display in Vista | gunduzs | Vanilla | 1 | May 16, 2008 09:26 |