Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
2014




[REL] ObjectDC functions v1.1
Moderator: CCGHQ Admins
3 posts
• Page 1 of 1
[REL] ObjectDC functions v1.1
by RiiakShiNal » 14 Sep 2014, 17:00
Apparently, I never made a release thread for the ObjectDC functions, so now that they are being updated I should probably go ahead and make the thread.
Description:
This mod contains no cards, but does contain functions that are quite useful for certain cards and for other larger frameworks (for example Manual Mana and the Defending Player functions inside of the Core Fixes). Basically the mod allows for a data chest to be created for a single card object and be referenced by other abilities both on that card and from other cards. The chest is cleared on changing zones (like it did in DotP 2013), but can now be protected for 1 zone change at a time. In DotP 2013 WotC and Stainless had provided this functionality in the base game engine, but they removed it in DotP 2014, this mod aims to give the functionality back to modders.
Download:
Documentation:
Last Update:
Description:
This mod contains no cards, but does contain functions that are quite useful for certain cards and for other larger frameworks (for example Manual Mana and the Defending Player functions inside of the Core Fixes). Basically the mod allows for a data chest to be created for a single card object and be referenced by other abilities both on that card and from other cards. The chest is cleared on changing zones (like it did in DotP 2013), but can now be protected for 1 zone change at a time. In DotP 2013 WotC and Stainless had provided this functionality in the base game engine, but they removed it in DotP 2014, this mod aims to give the functionality back to modders.
Download:
Documentation:
Last Update:
- Added RSN_ProtectObjectDC( oCard ) to allow for protecting the ObjectDC across zone changes.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: [REL] ObjectDC functions v1.1
by NeoAnderson » 14 Sep 2014, 17:21
I am glad to see you have considered to update you useful Function, have you modified something of the older functions or you have just added this new one to protect the pointer? Just to know if we could find some variations for cards already coded.
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: [REL] ObjectDC functions v1.1
by RiiakShiNal » 14 Sep 2014, 18:31
No, the original functions are exactly the same as before so there should be no change to any existing cards using the functions.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests