![]() |
#51 | |
Veteran
Join Date: Apr 2007
Posts: 1,936
Donated: $40
![]() |
Quote:
__________________
takkaria whispers something about options. -more- |
|
![]() |
![]() |
![]() |
#52 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,865
Donated: $60
![]() |
I thought a brief history of the data files might be helpful here. I'll describe four stages, focusing on wands:
So gradually more and more data has made its way from being hard-coded in .c and .h files to being in the user-editable-without-recompiling data files. Which is best is a matter of opinion.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#53 |
Knight
Join Date: Mar 2015
Location: Moscow, Russia
Posts: 553
![]() |
My previous message was posted just a few seconds before Takkaria's answer, so it could be lost; so I'll post it there with some addition info
![]() /rfe add: Code:
effect:TIMED_INC:DRAIN_STAT:<STAT> dice:XdX # value of debuff time:X # there is 'time' already for recharging.. this particular time means for how much turns effect would be applied Code:
effect:TIMED_INC:DRAIN_STAT:WIS dice:5d2 time:15 With this effect it would be possible to implement interesting short-term effects. Right now in most cases we should use small values of debuffs cause they all are permanent (btw it's great that lvlup cures this, great mechanics). Eg it could be interested to lower character strength -10 in certain situation for a few turns. And it's not only such 'powerful' effects like -10... Also it could be used to add some moderate stuff to make some objects more 'spicy'; eg I've made booze to have a lot of different random effects.. Among them there are effect: DRAIN_STAT: .. It would be great to have possibility to make this as temp effect - hangover hehe
__________________
http://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GlazGame — streams in English ⍽ youtube.com/StreamGuild — streams in Russian Last edited by tangar; February 7, 2019 at 09:31. |
![]() |
![]() |
![]() |
#54 |
Knight
Join Date: Apr 2009
Location: Berlin / Italy
Posts: 794
![]() |
Angband messages, as they work now, look like a nightmare for translation. Languages like German or Russian have cases, so in sentences like "the orc hits you", "you hit the orc", "you throw an arrow at the orc" the word "orc" needs to be translated in three different ways, and these should be stored separately for each monster since they may behave irregularly. So instead of singular/plural you have to store in the gamedata six or more versions of each monster name (and possibly handle other exceptions). As well as its grammatical gender, since that may affect other random bits of the sentence. Not even gettext is equipped to handle this, as far as I know (it can only switch singular/plural based on a variable number, basically).
You essentially need a full-blown DSL just for that (and the project Takkaria suggested seems to be one, essentially).
__________________
Dive fast, die young, leave a high-CHA corpse. -- You read a scroll labeled 'lol gtfo' of Teleport Level. |
![]() |
![]() |
![]() |
#55 |
Swordsman
Join Date: May 2016
Posts: 330
![]() |
So calling someone an idiot via PM is "harrassing", but incredibly scummy and insulting posts like this are tolerated? Wow, that's pretty lowly. I thought better about the moderator.
Since the moderation policy of this forum doesn't suit me at all, I'm out of here. |
![]() |
![]() |
![]() |
#56 | ||
Knight
Join Date: Mar 2015
Location: Moscow, Russia
Posts: 553
![]() |
Quote:
I didn't said anything bad directly towards you, except 'toxic' word - after you repeated offence via PM. I'm sorry for it. Also I'm sorry if I hurt your feelings with my video, but I'm Russian-speaking too and I do not see anything scummy and insulting in video which I posted. It's just my point of view, impersonal toward anyone at this forum, as I've recorded that video long time ago (2015), long time before this nasty situation. As I said before in this topic: Quote:
Kind regards, Tangar
__________________
http://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GlazGame — streams in English ⍽ youtube.com/StreamGuild — streams in Russian Last edited by tangar; February 7, 2019 at 22:55. |
||
![]() |
![]() |
![]() |
#57 | ||
Knight
Join Date: Mar 2015
Location: Moscow, Russia
Posts: 553
![]() |
Return back to this idea:
Quote:
Quote:
![]() So it depends on how often do you change stuff. If you do it from time to time - it's ok to have stuff in nice separate folders. But for daily work when you juggle tiles now and then - editing .prf files is hell. Could it be 'conditional' stuff? I mean - lets .prf files stay as they are, but if user defined particular tile in gamedata file - let's it override .prf file. But actually after Takkaria's post, I'm not sure that it was so good idea.. Another problem is that config files would become bigger, so it would be a bit harder to work with them - less space visible on the screen.. It could look like tiny problem at first, but who know what else would be added to config files in future, so maybe it's good to have each entry as 'short' as it could be, while it's possible.
__________________
http://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GlazGame — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
||
![]() |
![]() |
![]() |
#58 | ||
Knight
Join Date: Mar 2015
Location: Moscow, Russia
Posts: 553
![]() |
Angband’s objects customization
Just a tiny example of customization which is already possible within current system: Code:
name:& Flask~ of Whisky graphics:,:y type:food properties:0:5:100 alloc:40:0 to 50 effect:NOURISH dice:500 effect:TIMED_INC:CONFUSED dice:8+1d8 effect:TIMED_INC:BOLD dice:30+1d20 effect:RESTORE_STAT:CON effect:RESTORE_STAT:STR effect:DRAIN_STAT:INT dice:1 effect:DRAIN_STAT:WIS dice:1 effect:RANDOM dice:2 effect:TIMED_INC_NO_RES:PARALYZED dice:11+1d8 effect:TIMED_INC:BLIND dice:11+1d8 effect:TIMED_INC:IMAGE dice:11+1d8 effect:TIMED_INC:AMNESIA dice:11+1d8 effect:TIMED_INC:POISONED dice:8+1d8 effect:TIMED_INC:SLOW dice:11+1d11 effect:RANDOM dice:6 msg_self:*Hic*.. *Hic*.... desc:It's pretty strong and could raise your spirits. 1) drinking Whisky restore STR/CON (important for newbie players who attacked wrong monster in melee and have -5 speed for example and can't continue playing), but could make you stupid OR less wise (logical lol). 2) it makes you bold (@ Angband Online it's pretty useful, eg to fight VS Maggot who is living at -50 and could 'fear' you sometimes) 3) it makes you confused (you drunk lol) 4) it produce certain random effects (drinking booze in magical world should be more interesting than in real life) 5) it nourishing.. and in Angband Online it's very important as you can not buy food in the shops. Whiskey also could found only during adventures. Why I posting this? Just to show that working toward enhancing customization is important. So having: Quote:
Quote:
What is easier: to hardcode new objects' properties or to add them in object.txt ? For example: You have 50 objects, something like this tiny Whiskey flask, which you wish to customize with some 'checks'. What would you prefer - to hardcode it or to have them all in one place in object.txt? And what about adding 51 object? 52? 153? Having objects customization in one place - it's how it should be to move forward. Forward towards roguelike way - which is different from modern graphic RPGs with faceroll 3-buttons gameplay. Why Angband implement new objects very rare? Answer is simple - because there are low possibility of such items customization. Monsters - ok, work is going on. Classes too. Their gamedesign potential are very high already and Angband using it's 5% (or even less), so there are loads of space left for their development. Monsters and classes got loads of properties and very high 'degree of freedom' as monsters are controlled by AI and classes are enhanced by players bahaviour. But for objects, which got the only way to act - when you use them - there are lack of options. Enhancing this particular direction would bring game to the next level.
__________________
http://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GlazGame — streams in English ⍽ youtube.com/StreamGuild — streams in Russian Last edited by tangar; February 11, 2019 at 10:35. |
||
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
RST help files | fph | Development | 13 | September 6, 2011 21:08 |
Pref files | relic | Vanilla | 11 | August 9, 2011 21:40 |
Updating help files | fizzix | Vanilla | 23 | August 3, 2010 05:19 |
delete.me files | konijn_ | Development | 2 | December 8, 2009 23:43 |
edit files? | tummychow | Vanilla | 2 | September 13, 2009 21:38 |