![]() |
#1 |
Veteran
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,427
![]() |
back porting O-variants?
So I've decided to stop thinking about making a variant & start poking around in the code. The plan is to rebuild O, FA & sang from modern V as 1st stand-alones then spliced together (so you'll be able to play sang on the FA maps or toggle on the different monster lists). So the obvious problem is I don't know how to code. This means how far I get depends on how much copy & pasting I can get away with. Anyway got plenty of spare time, so will take a look. Also as Nick is still around of course it'll also depend on his current plans for O & FA.
Anyway for now I'm just opening this thread so I can ramble, ask questions & people can comment. Some plans: keep rune id (perhaps togglable with classic id). Vanilla curses & traps. O-drops hopefully with a toggle for better drop rates. FA monster names where applicable. Most things I think will default to V just for ease of coding. |
![]() |
![]() |
![]() |
#2 |
Knight
Join Date: Jan 2017
Posts: 862
![]() |
Sounds awesome, I think a lot of people have talked about doing something like this but now it is your thread and your responsibility.
![]() |
![]() |
![]() |
![]() |
#3 |
Prophet
Join Date: Dec 2009
Posts: 9,024
![]() |
Good luck! You're looking at a fair amount of work, especially I suspect for Sangband.
|
![]() |
![]() |
![]() |
#4 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,912
Donated: $40
![]() |
It's a massive undertaking. V has changed enormously: file names, variable names, functions, data structures, you name it. And then there are all the additions and refactorings. And I don't think diff3 will work very well.
|
![]() |
![]() |
![]() |
#5 |
Knight
Join Date: Jul 2009
Location: Prague,Czech Republic
Posts: 909
![]() |
If you manage to recreate even just one of those variants (I'd expect O to be least-bad, because you don't need to mess with skills or with wilderness) on a modern V base, you'll have done a great thing. Best of luck!
|
![]() |
![]() |
![]() |
#6 |
Prophet
Join Date: Dec 2009
Posts: 9,024
![]() |
O is definitely the one I'd start with, since the main changes are in how combat works and what item stats are. Combat rules are fairly localized within the game code, and item stats can be changed without any code at all.
Plus, S uses O-style combat (I forget if NPP does as well), so you'd want to build it on top of O anyway. |
![]() |
![]() |
![]() |
#7 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,592
Donated: $60
![]() |
First, my plans. I had none for O (and have never been involved with S). For FA, at some stage I was going to take current Vanilla, and build a new version of FA on top of it, roughly as you are talking about. The things I consider core for that are the dungeons and wilderness, and the First Age bits of monsters, artifacts, ego items and races. Many other aspects - monster AI, classes, specialties, even combat system - I am undecided on.
In fact, while I have imported some things into V from O/FA (cone-shaped breaths, for example), they have mostly not come in unchanged. Most of the new features I have brought into V (eg traps, ID, curses) are informed by O/FA, but I have tried to rethink them rather than slavishly copy. Now, obviously, you can do this however you want. My suggestion would be to keep updating your codebase to keep it in line with current V, so at every stage it's current Angband plus your changes. Note that the file lib/gamedata/world.txt has a list of all the dungeon levels, which I planned expand to give an FA style world map. There is a level structure in game-world.h which has up and down fields, which will need north, east, south and west added. This has rambled a bit, and there is more I could say, but I'll stop here. Good luck!
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#8 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,592
Donated: $60
![]() |
Also, I should have said, don't feel constrained by anything I may be planning to do. Do what interests you. My track record indicates I'll end up stealing bits of it
![]()
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#9 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,912
Donated: $40
![]() |
One last thing: If you do this, make sure to use (git) source control right from the start. It makes it much easier to bring in other closely related variants thereafter, via headless merge.
|
![]() |
![]() |
![]() |
#10 |
Veteran
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,427
![]() |
I think I'll start with bringing across the monster list from O & trying to get things like bronze dragons working. Maybe I'll wait for a stable class feature release, that way it'll have necromancers, druids & shield bash there.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Some glitches encountered while porting new features to my variant | PowerWyrm | Development | 1 | June 9, 2011 15:08 |
Back to Z once again :) | Svladd Cjelik | Variants | 1 | September 7, 2010 16:52 |
Porting Angband to Flash 10 | andrewdoull | Vanilla | 0 | November 23, 2008 07:04 |
Porting questions (80 column limit and terminals) | abszero | Vanilla | 15 | April 11, 2008 10:26 |
Porting Angband to Facebook? | NorthernFalcon | Vanilla | 2 | January 22, 2008 09:37 |