Talk:XmlTools: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
(elaboration)
Line 40: Line 40:
Would this be a correct syntax (or whatever coder call this) ? --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 12:36, 24 April 2013 (CEST)
Would this be a correct syntax (or whatever coder call this) ? --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 12:36, 24 April 2013 (CEST)


:Feature requests, like bug reports, are also better placed on bugs.oni2.net ^_^ --[[User:Iritscen|Iritscen]] ([[User talk:Iritscen|talk]]) 13:59, 24 April 2013 (CEST)
:Feature requests, like bug reports, are also better placed on bugs.oni2.net ^_^ It's a better system for tracking and discussing ideas, and Script will get emails for new requests that are filed. --[[User:Iritscen|Iritscen]] ([[User talk:Iritscen|talk]]) 13:59, 24 April 2013 (CEST)

Revision as of 12:17, 24 April 2013

ideas

section- and condition-based replacements

A character collection has many characters...

But what if I only want to replace a value from the player character?


Example:

      <CHAR Id="3860">
          <Header>
              <Flags></Flags>
              <Position>-543.22 159 -630.0954</Position>
              <Rotation>0 180 0</Rotation>
          </Header>
          <OSD>
              <Flags>IsPlayer NotInitiallyPresent</Flags>
              <Class>konoko_generic</Class>
              <Name>konoko</Name>
              <Weapon>w1_tap</Weapon>
              <Scripts>
                  <Spawn></Spawn>
                  <Die>you_lose</Die>
                  <Combat></Combat>
                  <Alarm></Alarm>
                  <Hurt></Hurt>
                  <Defeated></Defeated>
                  <OutOfAmmo></OutOfAmmo>
                  <NoPath></NoPath>
              </Scripts>
              <AdditionalHealth>0</AdditionalHealth>
             [...]
      </CHAR>
@ReplaceValueInSection Section "CHAR" ParentTag "Scripts" Tag "Spawn" ConditionParentTag "OSD" ConditionTag "Flags" ConditionValue "IsPlayer"
<xml>
   <Spawn>load_prone_mode_logic</Spawn>
</xml>

Would this be a correct syntax (or whatever coder call this) ? --paradox-01 (talk) 12:36, 24 April 2013 (CEST)

Feature requests, like bug reports, are also better placed on bugs.oni2.net ^_^ It's a better system for tracking and discussing ideas, and Script will get emails for new requests that are filed. --Iritscen (talk) 13:59, 24 April 2013 (CEST)