Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Development (http://angband.oook.cz/forum/forumdisplay.php?f=10)
-   -   iVanilla - no selling, ranged trap det, spell balances etc. (http://angband.oook.cz/forum/showthread.php?t=3720)

ewert October 7, 2010 14:40

iVanilla - no selling, ranged trap det, spell balances etc.
 
Okay, messing around with github a lot still, but think now have gotten the hang of it for branching etc. enough to work with it somewhat okay. Did delete it a few times to start from clear to figure things out. =P

http://github.com/ewert/angband/tree/ivanilla

I'm trying to upload a working .exe there so people can easily test it, but no luck with Win7 / Opera or Win7 / IE. Beats me why not, flash or http version of uploading, no dice.

Anyways, currently there is no selling option made. It replaces no_stores, takes away d/s option from all but home in stores, and increases gold drops based on vague "I think sort of like this could work"-way and one nosell/nobuy character I played. That char had plenty of gold in the end, so I increased gold drops more at low levels in a non-linear curve...

I can test this version as I finally got a working branch of the master made, so will move on to spell balances next and then ranged trap detection.

Magnate October 7, 2010 15:28

Congrats! You beat me to posting the first branch with gameplay changes - serves me right for caving in and getting Civ V!!

Therem Harth October 7, 2010 17:18

I like this. It looks more interesting and much less hacky than my own attempt.

Suggestions for the future...

- An "always unusual rooms" feature would be cool. (I just implemented a very primitive version in Strawberry, and it kind of works - generates pits, nests, or lesser vaults on almost every level.)

- Vanilla seems to lack crowd combat for warriors. Adding that a la O would be nice. Maybe for rangers and paladins too, at a higher level?

ewert October 7, 2010 18:36

I think dungeon and room generation will go into more complex code mechanics, I have only a rudimentary straightforward type of coding knowledge in C so out of my depth. Crowd combat will be part of fractional blow systems for melee guys (hits dont expend full 100 energy if monster dies beforehand, I checked it out once and I could hack it, but ... most want fractional blows to also look in the low stat problems where the jump from 1 hit to 2 is too big a jump).

Also I will streamline pseudo/id axis as well based on classlevel, ending with instant id on pickup in the end ...

Derakon October 7, 2010 18:43

For fractional blows, just make every melee attack only use one blow and only use as much energy as max (100, 100 / (STR mod + DEX mod) * (weapon weight mod))

fizzix October 7, 2010 19:06

Quote:

Originally Posted by Derakon (Post 40813)
For fractional blows, just make every melee attack only use one blow and only use as much energy as max (100, 100 / (STR mod + DEX mod) * (weapon weight mod))

I think there's a slightly better approach which is to 'attack until either you have used a full turn worth of blows or you are disturbed.' You can even change it to attack until disturbed and completely eliminate hack and back / pillar dancing tactics. Having to reattack after each blow is a *ton* of extra keystrokes.

d_m October 7, 2010 19:20

Quote:

Originally Posted by fizzix (Post 40814)
I think there's a slightly better approach which is to 'attack until either you have used a full turn worth of blows or you are disturbed.' You can even change it to attack until disturbed and completely eliminate hack and back / pillar dancing tactics. Having to reattack after each blow is a *ton* of extra keystrokes.

I don't think eliminating hack and back for melee but leaving it for ranged is a good idea.

I think a simple implementation is best: if you have 4 blows/round, you attack until you've used 4 blows or until your target is dead. Then you lose (# blows used) / 4 of the energy you'd use for a full round of attacks.

I can imagine fancier approaches, but I think that one would help make melee more interesting without requiring too much revision.

Derakon October 7, 2010 19:22

sCthangband had one-move one-blow fractional blows, and I don't remember it being a big problem movement wise. But yeah, that was mainly meant to be a simple "how to calculate energy required for a single blow" expression. What you do with it after than is up to you.

Do we have any plans to move monsters to fractional blows too? sCthangband had that; IIRC how it worked was that monsters had a movement speed and an attack speed, and then a selection of possible melee attacks they could use, which were selected at random. So a nine-headed hydra would have an attack speed of 9x base and a movement speed of 2x base, and its bites would randomly burn or poison.

d_m: the issue I have with your approach is that it leaves in the massive jump in power between 1 blow/round and 2 blows/round. Ideally you should be able to use any amount of energy per blow from e.g. 150 (for a level-1 mage trying to use Grond) to 12 (for the warrior with ridiculously lucky randarts).

d_m October 7, 2010 19:48

Quote:

Originally Posted by Derakon (Post 40816)
d_m: the issue I have with your approach is that it leaves in the massive jump in power between 1 blow/round and 2 blows/round. Ideally you should be able to use any amount of energy per blow from e.g. 150 (for a level-1 mage trying to use Grond) to 12 (for the warrior with ridiculously lucky randarts).

Yeah, I guess I had forgotten that eliminating the break points was the thing people wanted. You're right that my plan doesn't help that at all. The thing I was trying to do was make melee a little more flexible (a la archery) at dealing with many small targets.

PowerDiver October 7, 2010 20:13

Quote:

Originally Posted by d_m (Post 40815)
I don't think eliminating hack and back for melee but leaving it for ranged is a good idea.

I think a simple implementation is best: if you have 4 blows/round, you attack until you've used 4 blows or until your target is dead. Then you lose (# blows used) / 4 of the energy you'd use for a full round of attacks.

IMO when you attack, you should continue attacking until disturbed. The same for archery [with the same ammo]. If you do not have enough energy left, that counts as a disturb.

You need to have both energy over 100 and energy >= max {all monsters' energies} for it to be your turn.

So suppose you have 4 blows, which means 25 energy per blow. If you somehow start at 130 energy, you get a blow and are down to 105 energy. Then, if 105 is high enough you get another blow immediately, else some monster gets its turn. Repeat until everyone is below 100, and then increment the game turn counter and add energy and continue.

This means that with 4 blows against a double speed opponent, you generally alternate two blows in between its turns rather than getting 4 blows and then it getting two moves.

There are obviously lots of approaches with different plusses and minuses. I'm not saying this is necessarily best, but it is my favorite.


All times are GMT +1. The time now is 14:50.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.