Custom Query (105 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (19 - 21 of 105)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Owner Reporter Resolution Summary
#42 Alloc Alloc fixed BSL: sprintf with floats not working
Description sprintf does not support floats.
#43 s10k Paradox-01 duplicate xmlTools feature request: conditions-based replace command
Description Sometimes the replace command is not precise enough.

We had two incidents where it would be useful to have a more powerful version of that command.

1) Incoming from the [http://wiki.oni2.net/Talk:XmlTools wiki]. (Changing content in object collection(s).)
2) And ticket:41. (Changing content in ONGS.)

There are probably many more situations you can think of, like in particle where you can have multiple emitter, etc.

@ReplaceValueInSection Section "name" ParentTag "name" Tag "tame" ConditionParentTag "name" ConditionTag "name" ConditionValue "name/value"

Note 1: Section is here just another word for GrandparentTag.
Note 2: Maybe the ConditionValue should also allow for a "*" to replace any old content.

----

Using the examples again, that's how I imagine the solution for ...

Example 1

{{{
@ReplaceValueInSection Section "CHAR" ParentTag "Scripts" Tag "Spawn" ConditionParentTag "OSD" ConditionTag "Flags" ConditionValue "IsPlayer"

<xml>
<Spawn>load_prone_mode_logic</Spawn>
</xml>
}}}

Example 2
{{{
@ReplaceValueInSection Section "AutoPrompts" ParentTag "ONGSAutoPrompt" Tag "LastAutopromptLevel" ConditionParentTag "ONGSAutoPrompt" ConditionTag "SubtitleName" ConditionValue "autoprompt_weapon"

<xml>
<LastAutopromptLevel>19</LastAutopromptLevel>
</xml>
}}}

Is that feature desirable and possible to create?


.. edit test ..
#46 Alloc Iritscen fixed ai2_shownames causes Blam!
Description Not sure if it's just this cruddy machine I'm on, but in Windows 7, using the latest DLL, typing "ai2_shownames=1" crashes Oni.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Note: See TracQuery for help on using queries.