Re: General XML/LUA Editing Findings
Posted: 14 Jul 2010, 06:52
Lol I'm going to keep bugging you for a release now! :pUresti wrote:Sorry you must wait until my next release
Buyback makes up like 10% of Tempest!
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=65&t=2811
Lol I'm going to keep bugging you for a release now! :pUresti wrote:Sorry you must wait until my next release
<TRIGGERED_ABILITY tag="XXXXX_RULE_1" zone ="Any" dont_ask="0" layer="0">
<TRIGGER value="SPELL_PLAYED">
return SelfTriggered()
</TRIGGER>
<COST qualifier="Conditional" type="Mana" cost="{1}" />
<TARGET_DETERMINATION>
return TargetPermanentNeutralBad()
</TARGET_DETERMINATION>
<PLAYTIME>
ChooseTarget( "ChoosePermanentReturnToHand" )
</PLAYTIME>
<EFFECT>
ReturnTargetCardToOwnersHand()
ReturnThisCardToOwnersHand()
</EFFECT>
<ELSE_EFFECT>
ReturnTargetCardToOwnersHand()
PutThisCardInGraveyard()
</ELSE_EFFECT>
</TRIGGERED_ABILITY>
</CARD>
</MULTICARDS>
<3 Thank you sir!!Uresti wrote:As i am busy with my "ARTIFACTS CYCLE" DLC here is the code:ENJOY!
- Code: Select all
<TRIGGERED_ABILITY tag="XXXXX_RULE_1" zone ="Any" dont_ask="0" layer="0">
<TRIGGER value="SPELL_PLAYED">
return SelfTriggered()
</TRIGGER>
<COST qualifier="Conditional" type="Mana" cost="{1}" />
<TARGET_DETERMINATION>
return TargetPermanentNeutralBad()
</TARGET_DETERMINATION>
<PLAYTIME>
ChooseTarget( "ChoosePermanentReturnToHand" )
</PLAYTIME>
<EFFECT>
ReturnTargetCardToOwnersHand()
ReturnThisCardToOwnersHand()
</EFFECT>
<ELSE_EFFECT>
ReturnTargetCardToOwnersHand()
PutThisCardInGraveyard()
</ELSE_EFFECT>
</TRIGGERED_ABILITY>
</CARD>
</MULTICARDS>
Hehe, good luck mate!Uresti wrote:dang! details, details!!!
really?? didnt noticed that...il check it later
Maybe if we called them "wiki\Card_name(DotP_Code)" to keep it organised? I'm happy to see a system like that in place.Yanna wrote:Page could be nice to keep track of cards... Since we don't really syncrhonize efforts.
I was also thinking of "card code" pages that would reflect approved and working coding of a card.
Let's say i have a possibly working code for a card : Martial Coup. There may be some mistakes (filters left out, bad layers, etc...) so people could comment on it.
When approved, it is 'stickied' as the code reference for the card, and then for example, assigned a 'reserved' picture value so that nobody would erroneously uses.
Looks fantastic mate! I really like it. The more help the better.BTW, i created a new page on the wiki : http://www.slightlymagic.net/wiki/DOTP_Card_Tags
Some tags parameters i don't have a clue about, feel free to add some more infos !
YannA a.k.a NOVA
Which game is this for?Danielsi wrote:What is this? <general realRainFx="0.000000" />
This line is found in the saved game folder in a file called
realisticInfos.xml
It is the last line of code before the close
<general realRainFx="0.000000" />
Please don't just tell me it is something to do with the rain.