Subject: "Wield command ANSI standard" Previous topic | Next topic
Printer-friendly copy Email this topic to a friend CF Website
Top General Discussions Gameplay Topic #17084
Show all folders

DwoggurdSat 17-Mar-07 02:59 PM
Member since 20th Jan 2004
668 posts
Click to send email to this author Click to send private message to this author Click to add this author to your buddy list
#17150, "Wield command ANSI standard"


          

Preface: Metacommands are used in this specification. The way they are mapped on the real wield syntax is another matter and it is not considered here.
Also, I don't expect that you will throw away anything that is already written (I'm a programmer myself, hehe) and will immedately start implementation of this specification. However, it may still be a good decision, though ANSI standards tend to be never fully implemeted.
After all, Zulg, you've asked players' opinion so you can only blame yourself

Purpose: Design very predicatble wield behaviour with well defined results. Consider held items, wand, weapons and shields using the same approach. Keep the whole thing simple and flexible at the same time.

Wield metacommands:
primary <one-handed weapon or two-handed weapon>- Wield an object in the primary hand or two-handed weapon in both hands for non-giants.
offhand <one-handed item> - Wield an object in offhand.
both <two-handed weapon> - Wield two-handed weapon. This command works with both slots. For everybody except giants it will be equivalent of using primary command on a two-handed weapon. For giants: primary two-handed wields the weapon into the primary slot while this command force-wields this weapon as two-handed.
remprimary - Remove your primary weapon. No parameters. Perhaps should work even if you are blind.
remoffhand - Remove offhand.
remboth - Remove all wielded items. Similar to "throwdown".

Possible outcomes:
Every command produces one of two possible results: success or failure.
Success:
For wielding one-handed items: (primary for a one-handed weapon and also two-handed wepon for giants or offhand for a one-handed item) an item, specified as a parameter is put into the pointed slot. The item that previusly was there is removed. Other slot is not touched. Note: primary and offhand commands consider a two-handed weapon as one-handed for giants.
For wielding two-handed weapons: (both command for giants, primary or both commands for other races) A weapon is wielded as two-handed and autoremoves any items that were held in both slots.
Remove one-handed items: (remprimary for a one-handed weapon remoffhand for a one-handed item) Emptifies the specified slot.
Remove two-handed items: (remprimary or remoffhand while wielding a two-handed weapon) Emptifies both slots.
Remove all items: (remboth) Emptifies both slots. Works for one-handed items and two-handed weapons.
Failure:
It's guaranteed that nothing changes in the current status of both slots. No items removed, nothing is swapped.

Reasons for wield failures:
Everything that would lead to the inconsistent slot combination or can't be performed because of other reasons.
Possible reasons for wield failure include but not limited to:
- inconsistent slot combination.
- weight.
- race/class/alignment restrictions.
- blindness (potions can still be wielded).
- a cursed weapon that already occupy the specified slot.
- broken arms.


Possible future changes:
Combo command.
This command allows combine several atomic comand and execute them as a whole in one pulse.
For example:
Combo remboth, primary sword, offhand dagger - In one pulse removes all weapons and duel-wield sword/dagger combination. The combo command is succesful if any of atomic command is successful. In other case, the combo comand fails and nothing is changed.
Notice: that having a such command makes autoreplacement feature of atomic commands obsolete because it costs "nothing" to remboth before wielding new items.
However that may lead to some balance changes and make some legacies less powerful so it should be thoroughly considered.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote

HOT TopicHow do you want wield to react? [View all] , Zulghinlour, Wed 14-Mar-07 10:41 PM
Reply Dual wield helpfile looks outdated, DurNominator, 21-Mar-07 06:46 AM, #31
Reply Has this gone live?, Tac, 20-Mar-07 08:13 AM, #24
Reply No, it has not., Zulghinlour, 20-Mar-07 10:39 AM, #25
     Reply FNCR, Zulghinlour, 20-Mar-07 08:43 PM, #26
          Reply Cool thanks! nt, Tac, 20-Mar-07 09:01 PM, #27
          Reply RE: FNCR, Isildur, 20-Mar-07 11:52 PM, #29
Reply Wield command ANSI standard, Dwoggurd, 17-Mar-07 02:59 PM #11
Reply RE: Wield command ANSI standard, Gabe, 19-Mar-07 10:13 AM, #12
Reply Heh, Dwoggurd, 19-Mar-07 12:15 PM, #13
     Reply RE: Heh, Gabe, 19-Mar-07 12:20 PM, #14
     Reply Problem is, Dwoggurd, 19-Mar-07 03:30 PM, #17
          Reply RE: Problem is, Gabe, 19-Mar-07 08:43 PM, #19
               Reply You may notice, Dwoggurd, 20-Mar-07 03:35 AM, #22
     Reply RE: Heh, Valguarnera, 19-Mar-07 01:07 PM, #15
          Reply Actually, Dwoggurd, 19-Mar-07 03:21 PM, #16
          Reply Some implementaion notes, Dwoggurd, 19-Mar-07 03:39 PM, #18
Reply Nice idea, however it needs one more additional command..., DurNominator, 20-Mar-07 01:31 AM, #20
Reply Answers, Dwoggurd, 20-Mar-07 03:33 AM, #21
Reply Clarification, Dwoggurd, 20-Mar-07 04:26 AM, #23
     Reply RE: Clarification, Zulghinlour, 20-Mar-07 09:35 PM, #28
          Reply Re, Dwoggurd, 21-Mar-07 05:05 AM, #30
Reply I would prefer, Dwoggurd, 15-Mar-07 11:30 AM, #3
Reply RE: I would prefer, Zulghinlour, 15-Mar-07 05:08 PM, #4
     Reply Re, Dwoggurd, 16-Mar-07 05:34 AM, #5
          Reply While a stochastic dual wield function would be fun,, Marcus_, 16-Mar-07 07:19 AM, #6
          Reply RE: Re, Isildur, 16-Mar-07 10:34 AM, #7
               Reply Say no to AI, Dwoggurd, 16-Mar-07 11:51 AM, #8
                    Reply RE: Say no to AI, Isildur, 16-Mar-07 01:17 PM, #9
                         Reply yes, Dwoggurd, 16-Mar-07 01:42 PM, #10
Reply RE: How do you want wield to react?, Isildur, 14-Mar-07 11:56 PM, #1
     Reply I don't care either way, Zulghinlour, 15-Mar-07 10:27 AM, #2
Top General Discussions Gameplay Topic #17084 Previous topic | Next topic