It is currently 27 Apr 2024, 22:53
   
Text Size

Personas

New decks and cards for Stainless Games' release

Moderator: CCGHQ Admins

Personas

Postby Takhen » 09 Apr 2013, 10:01

Do you see some mistakes?

Code: Select all
<? xml version = "1.0"?>
<AVATARS>
    <CONTENT_PACK_UID UID="0"/>
    <IMAGE DIRECTORY="Art_Assets\Textures\personas\" />
    <AVATAR ID = "9999"
       UID = "persona_Takhen"
       name = "PERSONA_NAME_9999"
       desc = <"UI_PERSONA_UNLOCKED"
       locked = "false" />
</AVATARS>
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Personas

Postby thefiremind » 09 Apr 2013, 10:57

Yes...
Image
< 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: 721 times

Re: Personas

Postby Takhen » 09 Apr 2013, 13:35

It's true, and I corrected it, but it seems no make changes...
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Personas

Postby thefiremind » 09 Apr 2013, 13:46

I didn't notice that before, but first line should be
Code: Select all
<?xml version='1.0'?>
(no spaces, and single quotes). Why don't you copy-paste those things from somewhere else instead of rewriting them? I swear I never typed that line by myself, that's also why I didn't notice that.
< 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: 721 times

Re: Personas

Postby Takhen » 09 Apr 2013, 15:11

I already copied by an explaination I found

Can't see nothing however...but...what should it happens?
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Personas

Postby thefiremind » 09 Apr 2013, 16:49

Now that I see it, the AVATARS XMLs use double quotes around "1.0", I guess it's unimportant.
The original files are:
"AVATARS_0.XML" | Open
Code: Select all
<?xml version="1.0"?>

<AVATARS>
  <CONTENT_PACK_UID UID="0"/>
   <IMAGE DIRECTORY="Art_Assets\Textures\personas\" />
   <AVATAR ID="1"  UID="persona001" name = "PERSONA_NAME_01" desc = "UI_PERSONA_DESC_UNLOCKED" locked="false" />
   <AVATAR ID="2"  UID="persona002" name = "PERSONA_NAME_02" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="3"  UID="persona003" name = "PERSONA_NAME_03" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="4"  UID="persona004" name = "PERSONA_NAME_04" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="5"  UID="persona005" name = "PERSONA_NAME_05" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="6"  UID="persona006" name = "PERSONA_NAME_06" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="7"  UID="persona007" name = "PERSONA_NAME_07" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="8"  UID="persona008" name = "PERSONA_NAME_08" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="9"  UID="persona009" name = "PERSONA_NAME_09" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="10" UID="persona010" name = "PERSONA_NAME_10" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="11" UID="persona011" name = "PERSONA_NAME_11" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="12" UID="persona012" name = "PERSONA_NAME_12" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="13" UID="persona013" name = "PERSONA_NAME_13" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="14" UID="persona014" name = "PERSONA_NAME_14" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="15" UID="persona015" name = "PERSONA_NAME_15" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="16" UID="persona016" name = "PERSONA_NAME_16" desc = "UI_PERSONA_DESC_UNLOCKED"  locked="false" />
   <AVATAR ID="17" UID="persona017" name = "PERSONA_NAME_17" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_06"  locked="true" />
   <AVATAR ID="18" UID="persona018" name = "PERSONA_NAME_18" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_07"  locked="true" />
   <AVATAR ID="19" UID="persona019" name = "PERSONA_NAME_19" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_08"  locked="true"  />
   <AVATAR ID="20" UID="persona020" name = "PERSONA_NAME_20" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_09"  locked="false" />
   <AVATAR ID="21" UID="persona021" name = "PERSONA_NAME_21" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_12"  locked="true"  />
   <AVATAR ID="22" UID="persona022" name = "PERSONA_NAME_22" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_13"  locked="true"  />
   <AVATAR ID="23" UID="persona023" name = "PERSONA_NAME_23" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_18"  locked="true"  />
   <AVATAR ID="24" UID="persona024" name = "PERSONA_NAME_24" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_19"  locked="true"  />
</AVATARS>
"AVATARS_1.XML" | Open
Code: Select all
<?xml version="1.0"?>

<AVATARS>
  <CONTENT_PACK_UID UID="1"/>
   <IMAGE DIRECTORY="Art_Assets\Textures\personas\" />
   <AVATAR ID="25" UID="persona025" name = "PERSONA_NAME_25" desc = "UI_PERSONA_UNLOCKED"  locked="false" />
   <AVATAR ID="26" UID="persona026" name = "PERSONA_NAME_26" desc = "UI_PERSONA_UNLOCKED"  locked="false" />
   <AVATAR ID="27" UID="persona027" name = "PERSONA_NAME_27" desc = "UI_PERSONA_UNLOCKED"  locked="false"  />
   <AVATAR ID="28" UID="persona028" name = "PERSONA_NAME_28" desc = "UI_PERSONA_UNLOCKED"  locked="false" />
   <AVATAR ID="29" UID="persona029" name = "PERSONA_NAME_29" desc = "UI_PERSONA_UNLOCKED"  locked="false" />
   <AVATAR ID="30" UID="persona030" name = "PERSONA_NAME_30" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_21"  locked="true"  />
   <AVATAR ID="31" UID="persona031" name = "PERSONA_NAME_31" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_22"  locked="true"  />
   <AVATAR ID="32" UID="persona032" name = "PERSONA_NAME_32" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_23"  locked="true"  />
   <AVATAR ID="33" UID="persona033" name = "PERSONA_NAME_33" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_24"  locked="true"  />
   <AVATAR ID="34" UID="persona034" name = "PERSONA_NAME_34" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_25"  locked="true"  />
</AVATARS>
I notice 2 things:
  • The avatar IDs are sequential... maybe it matters? Try to use 35.
  • The content pack UIDs are sequential... maybe they are specific for avatars and they aren't locked/unlocked together with the content_pack IDs of the decks? Try to use 2.
  • If none of these solutions work, I'd suggest you to make a copy of AVATARS_1.XML (which will override the original) and add your custom persona after #34 on the copy.
< 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: 721 times

Re: Personas

Postby Takhen » 09 Apr 2013, 20:23

But...they must be 2 files as 2 are your codes?
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Personas

Postby thefiremind » 09 Apr 2013, 21:08

Takhen wrote:But...they must be 2 files as 2 are your codes?
I only copied the original files for reference. First try to make AVATARS_2.XML with:
Code: Select all
<?xml version="1.0"?>
<AVATARS>
    <CONTENT_PACK_UID UID="2"/>
    <IMAGE DIRECTORY="Art_Assets\Textures\personas\" />
    <AVATAR ID="35" UID="persona_Takhen" name="PERSONA_NAME_9999" desc="UI_PERSONA_UNLOCKED" locked="false" />
</AVATARS>
If it doesn't work, make a copy of AVATARS_1.XML and add your avatar entry to the copy.
< 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: 721 times

Re: Personas

Postby Takhen » 10 Apr 2013, 11:51

Called AVATARS_1.XML and doesn't working...

Code: Select all
<?xml version="1.0"?>

<AVATARS>
  <CONTENT_PACK_UID UID="1"/>
   <IMAGE DIRECTORY="Art_Assets\Textures\personas\" />
   <AVATAR ID="25" UID="persona025" name = "PERSONA_NAME_25" desc = "UI_PERSONA_UNLOCKED"  locked="false" />
   <AVATAR ID="26" UID="persona026" name = "PERSONA_NAME_26" desc = "UI_PERSONA_UNLOCKED"  locked="false" />
   <AVATAR ID="27" UID="persona027" name = "PERSONA_NAME_27" desc = "UI_PERSONA_UNLOCKED"  locked="false"  />
   <AVATAR ID="28" UID="persona028" name = "PERSONA_NAME_28" desc = "UI_PERSONA_UNLOCKED"  locked="false" />
   <AVATAR ID="29" UID="persona029" name = "PERSONA_NAME_29" desc = "UI_PERSONA_UNLOCKED"  locked="false" />
   <AVATAR ID="30" UID="persona030" name = "PERSONA_NAME_30" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_21"  locked="true"  />
   <AVATAR ID="31" UID="persona031" name = "PERSONA_NAME_31" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_22"  locked="true"  />
   <AVATAR ID="32" UID="persona032" name = "PERSONA_NAME_32" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_23"  locked="true"  />
   <AVATAR ID="33" UID="persona033" name = "PERSONA_NAME_33" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_24"  locked="true"  />
   <AVATAR ID="34" UID="persona034" name = "PERSONA_NAME_34" desc = "UI_PLAYER_STATUS_ACHIEVEMENT_HOWTO_25"  locked="true"  />
   <AVATAR ID="35" UID="persona035" name = "PERSONA_NAME_Takhen" desc = "UI_PERSONA_UNLOCKED"  locked="false" />
</AVATARS>
Maybe I don't know what it should be happens so I can't see if it workS?
It changes the name and the avatar of the player when him uses the deck, right?
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Personas

Postby thefiremind » 10 Apr 2013, 11:57

Takhen wrote:It changes the name and the avatar of the player when him uses the deck, right?
I don't think it would be so automatic... it should add an avatar that you can select from your profile options in the game.
< 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: 721 times

Re: Personas

Postby Takhen » 10 Apr 2013, 12:50

It isn't present, and also the player name keeps that chosen by the game... :(
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Personas

Postby thefiremind » 10 Apr 2013, 12:59

Takhen wrote:It isn't present, and also the player name keeps that chosen by the game... :(
The player name has nothing to do with the avatar. On Steam, it's the Steam username; on Theta version, you can change it inside playername.txt; on Skidrow version, there should be an entry inside skidrow.ini (if I remember well).

About the avatar, maybe there's something else needed to make a custom one. I don't know.
< 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: 721 times

Re: Personas

Postby Takhen » 10 Apr 2013, 13:34

Thank you however for attention and collaboration ;)
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time


Return to Magic: The Gathering - Duels of the Planeswalkers

Who is online

Users browsing this forum: No registered users and 30 guests


Who is online

In total there are 30 users online :: 0 registered, 0 hidden and 30 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 30 guests

Login Form