Global conditions and values

  • #1, z LebosteinFriday, 03. March 2017, 12:34 hodinky 8 years ago
    Conditions and values can be defined inside
    - scenes (SceneConditions, SceneValues)
    - scene objects (ObjectConditions, ObjectValues)
    - characters (CharacterConditions, CharacterValues)
    - items (ObjectConditions, ObjectValues)
    - interfaces (InterfaceConditions, InterfaceValues)

    Why I can not define conditions and values on game level? Would be nice to can create "global" conditions and values, not assigned to a specific item. At the moment I add all my global conditions and values to my main character. But sometimes this is confusing...

    Inside the xml there is one globally conditions list only (tableID=10). The only thing to add is a assignment like GameConditions...

    Zabiják klíčů

    621 Posts


  • #2, z afrlmeFriday, 03. March 2017, 13:37 hodinky 8 years ago
    I add general global conditions/values to a placeholder character. Any conditions/values that are associated with a specific scene I add them to the scene conditions/values section.

    I rarely ever add conditions/values to the relevant scene object or character as it's too much hassle trying to find them. The same goes for called by other action blocks as every single action is listed (includes general commands) when you look through scene object option instead of scene - it would be nice if they were split into easier to read groups rather than all clumped together as one massive list.

    https://i.gyazo.com/9ea74e5e63cb2b88e62b093a63c8e77f.png

    Sometimes I have to access scene objects as I like to allow people to use left click or right click for scene objects that can only be examined & instead of adding the same actions to both action blocks I find it better to just link to whichever action block I created first.

    https://i.gyazo.com/2c07e041d24b086ce61a6a943b56b482.png

    Anyway, yeah... so here's where I add my global game conditions/values.

    https://i.gyazo.com/92d5a6825f4296cfda221e0e58ddbae6.png

    Alternatively, you could create a placeholder scene instead (make sure you create it as a menu type scene).

    But yes I get where you are coming from in regards to having a dedicated global conditions/values section in the game tab (cog icon).

    Imperátor

    7285 Posts

  • #3, z sebastianFriday, 03. March 2017, 14:36 hodinky 8 years ago
    Conditions and values can be defined inside
    - scenes (SceneConditions, SceneValues)
    - scene objects (ObjectConditions, ObjectValues)
    - characters (CharacterConditions, CharacterValues)
    - items (ObjectConditions, ObjectValues)
    - interfaces (InterfaceConditions, InterfaceValues)

    Why I can not define conditions and values on game level? Would be nice to can create "global" conditions and values, not assigned to a specific item. At the moment I add all my global conditions and values to my main character. But sometimes this is confusing...

    Inside the xml there is one globally conditions list only (tableID=10). The only thing to add is a assignment like GameConditions...

    technically all conditions are "global" per definition and are accessible everywhere. they are all available in the conditions table as you already discovered (table ID 10). The thing is that each condition also has a additional field which let the engine assign these conditions (and also values) to a specific object (scene , interface , character , etc).  I guess this is for optimization when the engine needs to lookup/write a condition and knows with which additional fields it can isolate all unneccessary entries to be faster.

    As AFRLme mentioned you could create some kind of dummy object where you put your game relevant values/conditions. Its up to the "programmer" where to sort his/her conditions/values/etc and adding such an object would do the same  as you asked for.

    Kapitán

    2346 Posts