Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old March 24, 2020, 12:19   #1
tangar
Knight
 
tangar's Avatar
 
Join Date: Mar 2015
Posts: 660
tangar is on a distinguished road
Lightbulb New objects in the dungeon - barrels, crates, statues, altars, obelics, etc

Angband interactive objects

In my variant, which is based at PWMAngband (which is based at latest V) - I'm adding new 'monsters', which will work like an 'objects' - barrels, crates, statues, altars, obelics, etc. They will have ~ such config:

Code:
name:wooden crate
base:hybrid
color:y
speed:10
hit-points:1
hearing:1
armor-class:0
sleepiness:0
depth:10
rarity:1
weight:0
experience:0
flags:NEVER_BLOW
flags:FORCE_SLEEP | NEVER_MOVE | STUPID | EMPTY_MIND
flags:COLD_BLOOD
flags:NO_CONF | NO_SLEEP | NO_FEAR | DROP_40
desc:Crude old wooden crate. Small beetle sits on it's lid.
So you could smash them and get a treasure (sometimes).

It's cool, but there are some problems come with such implementation:
1) as this objects appears as 'monster' - they interfere with monster's population and exp gain in the dungeon; they take place of regular monsters which breaks game balance a bit
2) it's not possible to assign to this objects some interesting effects. For example, barrel could explore (mmm.. Diablo barrels), altar could strict you with a lightning, from the crate which you smashed could appear scorpion or snake, etc. And without such effects it's too EZPZ way to get a treasure, which breaks item/gold income balance.

I see certain workaround with EFFECTS - to assign spells to monster-object (mobject) with very low probability, eg:
Code:
spell-freq:100
spell-power:1
spells:S_ANIMAL | S_MONSTER | S_SPIDER
..which together with very small 'monster' speed could work somehow. But still, it won't solve all troubles.. and it's not possible to bind EFFECTS on monster's death.

Yet another workaround is to put mobject to deep sleep (255), give him normal speed and spell-freq:1. But it will ruin aggro players, and shrieks will create a real bedlam

It will be great if V devs could consider to create a new type of 'mobject' in V which will not interfere with monsters and will have EFFECT bahaviour - like traps, but no traps

The minimalitic solution (without adding new 'mobject' type) could be just to add new flag to monsters which will generate certain action on monster's death. It could also enhance some other monsters to good (expoding golems could be fun.. remembering dolls from D2 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; March 24, 2020 at 13:00.
tangar is online now   Reply With Quote
Old March 24, 2020, 16:54   #2
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,299
wobbly is on a distinguished road
Is there a particular reason you want to do this as a monster, rather then a chest?
wobbly is offline   Reply With Quote
Old March 24, 2020, 17:11   #3
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,299
wobbly is on a distinguished road
Quote:
Originally Posted by tangar View Post
It will be great if V devs could consider to create a new type of 'mobject' in V which will not interfere with monsters and will have EFFECT bahaviour - like traps, but no traps
I suspect what you want is more like a glyph/trap then a monster. At some stage I'll look at how hard it is to make a glyph that works at distance, but unless you can compile you'll have to convince Powerwyrm or Nick to get it in your variant.
wobbly is offline   Reply With Quote
Old March 24, 2020, 17:30   #4
tangar
Knight
 
tangar's Avatar
 
Join Date: Mar 2015
Posts: 660
tangar is on a distinguished road
Thanks for a suggestion! It's yet another good workaround. But there are reasons why mobjects could be better:

1) chests are hardcoded, it's not possible to customize them in

- terms of loot, eg mobs got
DROP_20/40/60, ONLY_GOLD, DROP_1 etc flags

- in type of behaivour, eg altars or statues could help surrounding monsters (servants)

2) all this objects - barrels, crates, statues, altars, obelics, etc - are fun to smash, destroy them in pieces to ge the loot.. You know - this feeling in Diablo when you smash barrel

But it's good idea to enhance chests with some more objects, thanks!
__________________
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
tangar is online now   Reply With Quote
Old March 24, 2020, 20:26   #5
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 874
fph is on a distinguished road
A great part of Vanilla is already walking around stealthily at depths where you don't belong and nabbing objects on the ground.
If you add loot pinatas to the game it might get even more extreme.
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Old March 24, 2020, 20:45   #6
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 8,242
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by tangar View Post
chests are hardcoded, it's not possible to customize them in
Thanks for pointing this out. Clearly chests should be in a datafile, but somehow I've failed to realise that before now.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old March 25, 2020, 18:35   #7
tangar
Knight
 
tangar's Avatar
 
Join Date: Mar 2015
Posts: 660
tangar is on a distinguished road
Quote:
Originally Posted by fph View Post
A great part of Vanilla is already walking around stealthily at depths where you don't belong and nabbing objects on the ground.
If you add loot pinatas to the game it might get even more extreme.
Yeah! Especially if these pinates won't be harmful, but actually will be able sometimes to summon something bad or cast lightning or two (gift from ancient gods!)

Quote:
Originally Posted by Nick View Post
Thanks for pointing this out. Clearly chests should be in a datafile, but somehow I've failed to realise that before now.
It will be splendid to have chest customization! Then certain 'chest'-type objects, for example, could include altars at which you could kinda 'prey' to receive something good/bad (I mean - it will be possible to add such objects, if chests mechanics will be unhardcoded)
__________________
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
tangar is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PosChengBand - Statues Red Sky Grishka Variants 2 August 18, 2017 21:28
Why inscribe objects? joelsanda Vanilla 14 October 27, 2011 20:59
You sense the presence of objects! fruviad Vanilla 1 September 7, 2011 18:22
[FA] Changes to wieldable objects Nick Variants 6 January 22, 2009 06:23
Z240 Question on objects APWhite Variants 0 December 27, 2008 00:13


All times are GMT +1. The time now is 23:35.


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