Made enhancements to the aGoT OCTGN Game Definition

By dcdennis, in 1. AGoT General Discussion

For anyone who wants it, i made a bunch of enhancements to the agot game def. for OCTGN.

The file can be installed right over the old definition and can be downloaded here.

EDIT: I should also note that it does not matter if your opponent has this new definition or not. There are no compatibility issues other than with the draw cap counter (discussed below).
http://www.mediafire.com/?07wbzt1174at9yj

New features discussed here and pasted below:
http://www.agotcards.org/talkboard/v/187

Note: Before I started work there were no shortcuts that used Alt+[anything] so that is how I implemented mine so as not to step on anyone's toes or disrupt how anyone is currently playing. This may lead to some initial mistakes when using the new shortcuts because some keys are now double bound based upon modifier. By this I mean for example CTRL+M will still execute a Mulligan as it always has, however ALT+M now shows a Military Challenge indicator in the text box. I wanted to use M for this because it is the most logical letter. However I have taken care of any risk of accidental mulligans by adding a confirmation message when you attempt to mulligan (which probably should have been there already).

Most of the new shortcuts simply send text messages to the chat window, however since they are coming from the system and not the player, they were not showing up in bold font. To make them more noticeable I added ** and CAPS to each message.

Example: For ALT+T you will see - "**I'M DONE. YOUR TURN**".

NEW THINGS ADDED - ignore the numbering, that is just the order in which they were suggested.

7. Draw Cap Counter
- Implemented next to Gold/Power counters.
- Disclaimer: If your opponent does not have the new game definition file installed, he will not see the draw counter on your tab, nor will he see the text chat messages that using the draw counter generates.

4. Power/Military/Intrigue Challenge Announcement Shortcuts
- Alt+M // Alt+P // Alt+I, also available if you right click on the game surface in the menu.

10. Added confirmation message when mulligan is triggered so you don't do it by mistake.

11. Added Shortcut for Random Discard from Hand
- F12

2. A way to discard many cards at once from deck.
- Implemented this with menu option on Deck Right Click, and by ALT+D which will prompt you with a dialogue of how many you want to discard (much like Draw Many). You will then discard the amount specified and each card discarded will show up individually in the chat log in addition to a total.
- If you select an amount greater than the number of cards available, you will see a note as such in the text box.

1. Buttons/Shortcuts to announce common phrases:
- Unopposed
ALT+U

- Declare Opposed/Defend
ALT+O

- Hold on! I have an action!
- Hold on! Illegal move!
ALT+H - These two were combined into one announcement.

- I'm done, your turn.
ALT+T

3. A way to re-shuffle discard pile back into deck all at once.
- ALT+R or menu option on the discard pile. This will ask for confirmation first since it is a pretty drastic action.

12. Add a Scoop function
- clears play field and puts all cards back to starting spots. deadpile/discardpile/current hand back into deck, plots back in plot deck and house card/agenda back in hand. This is good if you want to rematch with same decks so you both don't have to re-load your decks again. this also has a confirmation msg first.
- ALT+S or table rightclick menu.

These are awesome, Dennis, thank you

OrangeDragon said:

These are awesome, Dennis, thank you

/bows

OrangeDragon said:

These are awesome, Dennis, thank you

wait, how'd you know my name? are you watching me?

I think I have the same shirt; where'd you get yours?

dh098017 said:

OrangeDragon said:

These are awesome, Dennis, thank you

wait, how'd you know my name? are you watching me?

We're all watching you, Dennis Harrison! LOL Seriously though, nice work on the upgrade for OCTGN! We'll have to play a game soon!

Bump. If anyone finds any bugs, let me know.

dh098017 said:

Bump. If anyone finds any bugs, let me know.

I haven't tried it yet, but just curious as to if the scoop functionality supports having non-agenda, non-house cards in your opening hand. For example, with the maester agenda, I like to put my chains in the "agenda" category in OCTGN's deckbuilder so that when the game starts, I don't have to cycle through my deck to find them. Would it put them back into the deck, or back into my hand correctly? It's actually cool either way - that is some sick functionality that was desperately needed, but I'm just curious.

The short answer is no, it doesnt. The only way to do that would be to check the card trait for 'chain' and put it in hand, but then it would do that for anyone using chains whether they are maester or not. If you want to manually change the card type in your set definition for each chain from attachment to agenda then it would work, but if you have 3x of the same chain it will put all 3 in your hand.

bumpskies. hope everyone is enjoying the new features.

dh098017 said:

The short answer is no, it doesnt. The only way to do that would be to check the card trait for 'chain' and put it in hand, but then it would do that for anyone using chains whether they are maester or not. If you want to manually change the card type in your set definition for each chain from attachment to agenda then it would work, but if you have 3x of the same chain it will put all 3 in your hand.

It is probably possible to check for the existence of "The Maester's Path" agenda card and then put all Chain attachments into that players hand based on that condition. They could put the chains they don't want to attach back into the deck. That is if you wanted to make it a fun enhancement attempt! :-)

Can't you put any card into the agenda category on OCTGN? Does that work?

Infernarl said:

Can't you put any card into the agenda category on OCTGN? Does that work?

yup, and that would work perfectly.

dh098017 said:

Infernarl said:

Can't you put any card into the agenda category on OCTGN? Does that work?

yup, and that would work perfectly.

That's what I do, and is what I was trying to ask about. :) I wasn't sure if it went based on type as stored in the card info, or type as stored in the deck info, ya know?

I like the new enhancements, although they're taking some getting used to (I used to fly through test games with multiple hands and mulligans and stuff, and putting the draw many one spot up now screws my mojo, but that's okay. :P ).

Nice job dude.

WolfgangSenff said:

dh098017 said:

Infernarl said:

Can't you put any card into the agenda category on OCTGN? Does that work?

yup, and that would work perfectly.

That's what I do, and is what I was trying to ask about. :) I wasn't sure if it went based on type as stored in the card info, or type as stored in the deck info, ya know?

I like the new enhancements, although they're taking some getting used to (I used to fly through test games with multiple hands and mulligans and stuff, and putting the draw many one spot up now screws my mojo, but that's okay. :P ).

Nice job dude.

Again, nice job Dennis. A big help. A couple questions & a couple suggestions:

Can the game check when it does a scoop or a mulligan to be sure and separate the house/agendas/plots into the right piles?

Instead of "End of Turn" have a shortcut for: "Do you have an action/response?" "I pass my action/response, do you?" "Shadows action/pass shadows" and "Challenge win to me/you" "Dominance to me/you."

I think the first two would help avoid waiting for a cancel and to prompt your opponent in the middle of marshalling and for the pre-challenge & pre-stealth action windows.


Luke

The scoop should do that auotmatically (house/agenda to hand, dead/discard/table/currentHand back to deck). If you find a deck/situation where it doesnt, send me some info and i'll see if i can debug. Also, the text notifications are REALLY easy and quick to do. So if we want to collect a list of new ones that we want with exact text and preferred hotkeys i can add them and put out a new release.

dh098017 said:

The scoop should do that auotmatically (house/agenda to hand, dead/discard/table/currentHand back to deck). If you find a deck/situation where it doesnt, send me some info and i'll see if i can debug. Also, the text notifications are REALLY easy and quick to do. So if we want to collect a list of new ones that we want with exact text and preferred hotkeys i can add them and put out a new release.





Maester_LUke said:

dh098017 said:

The scoop should do that auotmatically (house/agenda to hand, dead/discard/table/currentHand back to deck). If you find a deck/situation where it doesnt, send me some info and i'll see if i can debug. Also, the text notifications are REALLY easy and quick to do. So if we want to collect a list of new ones that we want with exact text and preferred hotkeys i can add them and put out a new release.



I figured out the scoop problem, I was just running test draws, and if you haven't moved your house card/agenda out of your "hand," they get tossed back into your hand. As for plots, it would appear that there are certain cards that get dumped into your house deck. Loyalty Money Can Buy, for example.

I'm spending a long time in the car today, and I'll think about actually wordings for the short cuts. Do you have a full list of all of them, and what's available/remaining?

For scoop, yes this is correct. The logic to put your current hand back into your deck happens before the table cards are checked, otherwise if i scooped the table cards first, your agenda and house would be put to hand, then the logic to put hand into deck would happen and they'd end up there anyways. Generally people aren't scooping right off the bat with house and agenda in hand so i didn't bother with the extra work to filter the hand cards.

As far as the loyalty money can buy issue i have no answer for that. the only thing i can think of is perhaps your QoD set doesnt have that card tagged as a plot. I just checked mine and it is scooped to plot deck. anyone else having trouble with scoop? more info would be great to see if we can find the problem.

I do not have a list of 'to do' hotkeys. Everything people originally requested made it into the release. Feel free to collect more and post em here if you wish. They literally only take about 5mins each so can take care of that real easy.

bump for new cp release.

Hey dennis! I already told you this but i love your shortcuts idea, they really smooth up the gameplay.

Now, before playing aGoT i played Magic on OCTGN and got used to the shortcut distribution there which lets you press all the keys with your left hand freeing up your right hand for exclusive use of the mouse. I started poking around the def file to see if i could change the keys more to my liking and after some time of trial and error i managed to do it so i tough i mind as well share it to anybody that's interested and i think it would be better to post it here so people only have to come to one place when they are looking for the enhanced definitions, hope you dont mind happy.gif .

Here is the link

http://www.mediafire.com/download.php?cwly8qfpt1pefcz

And here are the changes

- Added alternate front image for cards that are loading or missing.

- Added a Hand counter to the players tab so you can see how many cards your opponents have without clicking.

- Added shortcuts for:

- Increase Power on player tab: Ctrl + 1

- Reduce Power on player tab: Ctrl + Shift + 1

- Increase Gold on player tab: Ctrl + 2

- Reduce Gold on player tab: Ctrl + Shift + 2

- Increase Draw Cap on player tab: Ctrl + 3

- Reduce Draw Cap on player tab: Ctrl + Shift + 3

- Changed shortcuts:

- Increase Power on hovered card: Ctrl + 1

- Reduce Power on hovered card: Ctrl + Shift + 1

* Note that this 2 options will also add or remove the power from the player tab, so ideally you will only need to modify the power on your cards and it will automatically be tracked on your Power counter *

- Increase Gold on hovered card: Ctrl + 2

- Reduce Gold on hovered card: Ctrl + Shift + 2

- Stand all cards: F1

- Randomly discard a card from your hand: F3

- Randomly discard many cards from your hand: F4

- Initiate Military challenge: Ctrl + Q

- Initiate Intrigue challenge: Ctrl + E

- Initiate Power Challenge: Ctrl + R

- Announce unopposed: Ctrl + Z

- Announce opposition: Ctrl + X

- Hold on please!: Ctrl + C

- Done with turn: Ctrl + A

- Flip card: Ctrl + F

- Kneel/Stand card: Ctrl + G

- Scoop the table for a rematch: Ctrl + Shift + S

I think that's about it: I'm still getting used to the changes myself, standing all my cards when i want to add power is a big one, but i have found to i'm using the shortcuts more often than before. Feedback is appreciated, i'm still not sure about some of the shortcuts.

I still can't shake the feeling i'm intruding on your thread dennis, if you would prefer that i post this in a new one let me know.

no prob from me :) whatever gets more people into the community makes me happy. now if only we had a shortcut that prevented ragequitting :)

Having different shortcuts throughout multiple game def versions can add confusion. I've played with people that are playing on octgn for the first time and I end up helping them learn how to use it by showing them all the shortcuts. It'll become more tedious to help by having different shortcut lists.

Bomb said:

Having different shortcuts throughout multiple game def versions can add confusion. I've played with people that are playing on octgn for the first time and I end up helping them learn how to use it by showing them all the shortcuts. It'll become more tedious to help by having different shortcut lists.

I see your point but remember that all the shortcuts can be seen in game next to their function on the right click menus so you only need to let them know about that, most likely they will learn the shortcuts on their own after a few games. Also i would think that a new player will download gualdo's def first and then find this ones and if a friend gave them the files well i bet he will be a good guy and show him how to play too.

dcdennis said:

now if only we had a shortcut that prevented ragequitting :)

I would have used it today (though it wasn't ragequitting)

Small Update:

- Added an alternate image for cards loading up so you never have to wonder again if the card you can't see is in shadows or simply missing.

Download here: http://www.mediafire.com/download.php?cwly8qfpt1pefcz