Actions for the party

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

Actions for the party

Post by andyboy_uk »

Right I had another little thought and apologies in advance to GG as we are no doubt making endless amounts of work for him. But hey, like I said before, thats what this forum is for so here goes:-

How about a new section in the TXT files called [Party Triggers] that are evaluated when certain things happen to the party. I was thinking about things like:-

005 EVENT_PARTY_RECIEVE_ITEM 001 ACTION=(<action_commands>)

The events I was thinking of would be something like

EVENT_PARTY_RECIEVE_ITEM - If the party puts an item in the inventory of one of the characters - or picks it up (overrides any local item trigger)

EVENT_PARTY_LOOSE_ITEM - as above, but when the item anywhere outside the party , like lost/stolen or dropped

Action commands suggestions could be:-

TRIGGER_ITEM:<itemID> - forces a certain item to trigger
MOVE_ITEM_TO:<itemID>:<x>:<y>:<level> - moves a certain item somewhere else (or to limbo -1, -1, -1)
TELEPORT_PARTY_TO:<x>:<y>:<z> - zooms the party
DESTROYITEM:<itemID> - destroys an item.
TEXT:<textstring> - displayed at bottom of screen like flooritem_text
ATTACK_PARTY:<attack_method_id> - run an attack on the party once.

The events could have options too like SOUND, DELAY, etc.

With these commands in place, and also those associated with the friendly monsters, it could be the beginnings of a Dungeon master NPC system if used cleverly.

Well, it would allow an author to exchange items with an "NPC" of sorts.

[new bit]

If it was implemented with in conjuncton with the creature HOSTILE and MOVES properties mentioned in another thread then an action for ALTER_PROPERTY:<item>:<property>:<newvalue> could be added to this as well.

[/new bit]

Not sure, just a suggestion.

Anyone have any thoughts on this one?
Last edited by andyboy_uk on Wed May 14, 2003 12:43 pm, edited 1 time in total.
Regards,

Andy
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

I don't know why, I always wonder if these thigns can be done on current mechanics, call it weird

Woulds it be possible (to geroge : ) ) to have a section for items at the start of each level where you can specify one item, or one group of items, and have them cloned on every single non-wall tile on compiling?
For example, declare one single normal floor trigger for 'if party posses item x trigger event y' , this is cloned throughout the whole level, and so if the party pick up the item at any point on that level it will trigger the event

Or alternatively you could declare a floor pad and damage tile, they are cloned throguhourt the whole area, and if you have item x each step you take you are stepping on a damage tile and taking damage.
Just a thought.
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Beowwuf, just as I was beginning to like your new "aka Fuzzface" moniker, you go and change it! :P
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Lol, who knows, i may change it back : )
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

Post by andyboy_uk »

Added a new bit to the initial suggestion.
Regards,

Andy
Post Reply