All pages

All pages of octgn

Item Extract Created Updated
action_definition Actions are probably the most complicated part of a game definition. Actions define procedures that can be executed by the players by right-clicking on a group or card. ======Action Definition There are two kind of actions: Group actions and Card actions 1 year ago (12/6/10 11:22 PM) octgndev 1 year ago (12/6/10 11:22 PM) octgndev
action_tags =====Action Tags ====Add and remove markers The ~~~~ tag pops up a dialog to select a new marker type, which will be added to cards. This tag contains a card selector child tag, which selects the cards to which the markers are added. If the ~~i 1 year ago (5/29/10 8:56 PM) Anonymous 1 year ago (5/29/10 8:56 PM) Anonymous
boolean_conditions =====Boolean Tags The following tags are used to specify boolean conditions inside control structures like the if-then-else. ====And The ~~~~ tag contains any number of boolean tags and combines them with the AND operation (ie. the result is true on 3 years ago (10/5/08 10:46 AM) octgndev 3 years ago (10/5/08 10:46 AM) octgndev
card_selectors =====Card Selectors ====Current Card When executing a card action (as opposed to a group action), the tag ~~~~ refers to the card, whose action is being executed. ====All in group The ~~~~ tag selects all cards in the specifi 2 years ago (3/14/10 8:39 PM) Anonymous 2 years ago (3/14/10 8:39 PM) Anonymous
counter_definition Counters are numeric fields used to keep track of game statistics. They can either be separate to every player or shared among them. ======Definition Format The ~~~~ tag defines a Counter by specifying the following attributes: * ~~name~~ (The n 2 years ago (3/14/10 8:49 PM) Anonymous 2 years ago (3/14/10 8:49 PM) Anonymous
deck_file_format__o8d_ Deck files (.o8d) are simple XML files. //TODO: describe the file format, maybe provide an XSD? Please take note that you can omit the ids if the card names are exact.// 3 years ago (9/30/08 11:28 PM) octgndev 3 years ago (9/30/08 11:28 PM) octgndev
feature_requests ====List Your Requested Feature * Would it be possible to have an in game link to a (searchable?) current rulebook? I have not played MtG in years and am unfamiliar with much of the new abilities. From past experiences, i usually run across a few question 3 years ago (1/17/09 1:53 AM) Anonymous 3 years ago (1/17/09 1:53 AM) Anonymous
game_definition__o8g_ Games are defined by o8g files. Those are [[Open Packaging Conventions]] containers. ======Package contents The package relationships must link to the [[XML game description]]. The type of this relationship must be ~~ http://schemas.octgn.org/game/defini 1 year ago (12/6/10 10:47 PM) octgndev 1 year ago (12/6/10 10:47 PM) octgndev
group_definition Groups are collections of cards like a player's Hand, Draw Deck or Discard Pile. They can either be separate to every player or shared among them. Every Group can be collapsed into a small icon to give more space to the other groups. Though a player's ha 3 years ago (10/1/08 11:58 AM) Kempeth 3 years ago (10/1/08 11:58 AM) Kempeth
how_to_migrate_an_xml_scripts_base_o8g_to_python ======Migrating XML-scripts to Python For a limited time (starting with 0.9, probably ending with 0.10 or 0.11), one can mix XML-scripts and Python as much as desired. But it is important to get rid of the XML scripts as support for those is going to be 1 year ago (12/7/10 10:20 PM) octgndev 1 year ago (12/7/10 10:20 PM) octgndev
octgn_data_access ======Accessing OCTGN Data from .NET software OCTGN data access has been put in an assembly that you may use in your own .NET projects. =====Required files http://www.octgn.net/octgn-client/Octgn.Data.dll the data access .NET assembly. http://www.octgn 2 years ago (6/27/09 8:52 PM) octgndev 2 years ago (6/27/09 8:52 PM) octgndev
octgn_python_api_reference ======OCTGN Python API =====Important Guidelines As of OCTGN 0.9, the Python scripts do not enforce controlship on the object they manipulate. It is not safe to change the state of cards or groups you don't control, even though the script would let yo 1 year ago (12/9/10 6:48 PM) octgndev 1 year ago (5/1/11 10:31 PM) octgndev
open_packaging_conventions [[Game definition (o8g)]] and [[Set definition (o8s)]] are packaged using Open Packaging Convention (OPC). This is a standard format, you can find more information about it by using Google. =====OPC Basics An OPC file is in fact a ZIP file in disguise. Y 2 years ago (11/20/09 11:11 PM) Anonymous 2 years ago (11/20/09 11:11 PM) Anonymous
patch_file_format__o8p_ ======Patch file format (o8p) OCTGN can load .o8p files and apply them to set files (.o8s) to update them (e.g. fix pictures, rules, typos, etc.) The main advantage of that system is that sets can be quite big and many. A patch provides a convenient way t 1 year ago (6/13/10 2:03 PM) Anonymous 1 year ago (6/13/10 2:03 PM) Anonymous
scripting_in_python ======Scripting in Python It is possible to directly interact with game elements from scripts written in Python. =====See also [[How to migrate an XML-scripts base o8g to Python]] [[OCTGN Python API reference]] [[Game definition (o8g)]] and [[Xml game d 1 year ago (12/6/10 10:42 PM) octgndev 1 year ago (12/6/10 10:42 PM) octgndev
set_definition__o8s_ Sets of cards (.o8s) are [[Open Packaging Conventions]] containers. =====Package contents The package relationships are: * //(required - only one)// The [[XML set description]], whose type is ~~ http://schemas.octgn.org/set/definition ~~. * //(optionnal) 3 years ago (9/30/08 11:29 PM) octgndev 3 years ago (9/30/08 11:29 PM) octgndev
start ======OCTGN 2.0 - Technical Reference Welcome to the online technical reference for everything related to OCTGN 2.0. This place is mainly community-driven, so please contribute everything you know! OCTGN 2.0's lead developer, jods, tries to ensure that 1 year ago (12/6/10 10:20 PM) octgndev 1 year ago (12/6/10 10:20 PM) octgndev
xml_game_description The game description is expressed in XML. The corresponding XML schema definition is available here: http://octgn.net/octgn-client/Game.xsd ======File Structure * Scripts Declaration * Card Definition * Table Definition * Player Definition * Share 1 year ago (12/6/10 11:05 PM) octgndev 1 year ago (1/30/11 8:47 PM) octgndev
xml_set_description The main description of a set is an XML file. The XSD schema definition for sets is available here: http://octgn.net/octgn-client/CardSet.xsd //TODO: Describe the format in a more friendly way than just providing XSD// // unique id's for sets and cards 3 years ago (12/18/08 3:32 PM) Anonymous 3 years ago (12/18/08 3:32 PM) Anonymous
_xml_rels__o8s_ 2 years ago (12/30/09 10:01 PM) Anonymous 2 years ago (12/30/09 10:01 PM) Anonymous