It is currently 18 Jul 2025, 20:32
   
Text Size

Odric, Master Tactician - Possible to code?

Moderator: CCGHQ Admins

Odric, Master Tactician - Possible to code?

Postby azq » 05 Nov 2013, 16:54

Hello all!

I was trying my hand at coding cards (thanks Firemind for the web generator!) and so far I "created" 4 cards, Woolly Thoctar, Wild Nacatl, Loam Lion and Bomber Corps. Not exactly created because their effects are pretty similar to other creatures, but I wanted a Naya Zoo and my son wanted a battalion. He also wants Odric, Master Tactician for his deck, but I do not believe it is possible to code this card, so I'm asking you guys if it is.

Anyone knows or tried?
azq
 
Posts: 9
Joined: 04 Nov 2013, 00:54
Has thanked: 1 time
Been thanked: 1 time

Re: Odric, Master Tactician - Possible to code?

Postby thefiremind » 05 Nov 2013, 17:07

azq wrote:He also wants Odric, Master Tactician for his deck, but I do not believe it is possible to code this card, so I'm asking you guys if it is.

Anyone knows or tried?
GrovyleXShinyCelebi tried (here's the post), but unfortunately SetBlockController is broken in DotP2014 and doesn't allow to select any creature as a blocker. One would think that the engine allows to code more and more things while the DotP versions go on, but sometimes it takes a few steps backwards. SetBlockController is a victim of this.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Odric, Master Tactician - Possible to code?

Postby azq » 05 Nov 2013, 17:36

Ok, thanks Firemind. I did a forum search for Odric but got nothing back, maybe I was in the wrong section.

Thanks for the clarification.
azq
 
Posts: 9
Joined: 04 Nov 2013, 00:54
Has thanked: 1 time
Been thanked: 1 time

Re: Odric, Master Tactician - Possible to code?

Postby MC Brodie » 05 Nov 2013, 17:39

Did it ever work? I remember in 2013 multiplayer games the game would always freeze anytime someone would try to use this ability. I never tried in a single player game. Maybe they just removed it since they couldn't resolve this issue.
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
MC Brodie
 
Posts: 310
Joined: 01 Jun 2013, 00:10
Has thanked: 44 times
Been thanked: 34 times

Re: Odric, Master Tactician - Possible to code?

Postby thefiremind » 05 Nov 2013, 19:05

MC Brodie wrote:Did it ever work? I remember in 2013 multiplayer games the game would always freeze anytime someone would try to use this ability. I never tried in a single player game.
In single player it was working just fine, I used the same function for Master Warcraft.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Odric, Master Tactician - Possible to code?

Postby damienx45 » 10 Nov 2013, 00:42

hery firemind what about using the same ability from this card to try and code odric

Ulvenwald Tracker

Target creature you control fights another target creature. (Each deals damage equal to its power to the other.)
User avatar
damienx45
 
Posts: 69
Joined: 07 Mar 2013, 00:19
Has thanked: 4 times
Been thanked: 0 time

Re: Odric, Master Tactician - Possible to code?

Postby thefiremind » 10 Nov 2013, 00:58

damienx45 wrote:hery firemind what about using the same ability from this card to try and code odric

Ulvenwald Tracker

Target creature you control fights another target creature. (Each deals damage equal to its power to the other.)
It wouldn't be combat damage, the creatures wouldn't be in combat, attack and block triggers wouldn't trigger... :roll:
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Odric, Master Tactician - Possible to code?

Postby damienx45 » 16 Nov 2013, 01:26

hey firemind why not try and take odric from dotp 2013 wad and study the code from that card, maybe there might be a way to utilize his 2013 .xml code for a 2014 version.there has to be some kind of code string in the 2013 version that can help figure out a way for you to make a 2014 version of Odric. i mean its just a thought.
User avatar
damienx45
 
Posts: 69
Joined: 07 Mar 2013, 00:19
Has thanked: 4 times
Been thanked: 0 time

Re: Odric, Master Tactician - Possible to code?

Postby wtb300 » 16 Nov 2013, 02:09

http://www.slightlymagic.net/forum/viewtopic.php?f=109&t=12481

Odric, Master Tactician is included in the 2013 to 2014 mod at the link above. i havnt tested it myself but its there.

Edit- Tested and not working. script log reads

[lua] [string "ODRIC_MASTER_TACTICIAN_99259670_TITLE (INTERVENING_IF)~0x0000023e"]:4:
call parameter mismatch - too many or too few a parameter count declared, method Add in class __Filter

sry bud
wtb300
 
Posts: 46
Joined: 02 Nov 2013, 21:04
Has thanked: 5 times
Been thanked: 0 time

Re: Odric, Master Tactician - Possible to code?

Postby thefiremind » 16 Nov 2013, 10:24

damienx45 wrote:hey firemind why not try and take odric from dotp 2013 wad and study the code from that card, maybe there might be a way to utilize his 2013 .xml code for a 2014 version.there has to be some kind of code string in the 2013 version that can help figure out a way for you to make a 2014 version of Odric. i mean its just a thought.
There's not much to study, in DotP2013 the SetBlockController function works and in DotP2014 it doesn't. End of the story.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Odric, Master Tactician - Possible to code?

Postby damienx45 » 16 Nov 2013, 18:46

why not switch out the part thats causing the problem with a similar ability like using the ability from Prized unicorn its basically the same thing,just with odric you get to chose who you creatures block, while prized unicorn everything has no choice but to block.its the same priciple just alittle different in the wording and code.
User avatar
damienx45
 
Posts: 69
Joined: 07 Mar 2013, 00:19
Has thanked: 4 times
Been thanked: 0 time

Re: Odric, Master Tactician - Possible to code?

Postby thefiremind » 16 Nov 2013, 19:26

damienx45 wrote:its the same priciple just alittle different in the wording and code.
It's not the same principle at all: choosing the creatures that block and how they block means clicking on the blocker and then on the creature to block, while Prized Unicorn gives no choice to anybody.
I don't want to be rude, but really, you could go on arguing about this forever and we still wouldn't make even one step ahead... we can't do everything we want just by mixing the code, and if you don't believe me, then you should learn to mod DotP and try by yourself.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times


Return to 2014

Who is online

Users browsing this forum: No registered users and 6 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 6 guests

Login Form