Ok i am trying to add in new armours to the crystal files
only for archer and sins (ive added all new armours for wiz and taos and warrs which work fine)
im only having problems with the sin and archers
ive looked in the legendofmir.sln and been told to look into the player objects and this is what ive come across
all i am trying to do is get the sin to read these libs from AArmour folder
and trying to get the archer armours to read these libs from the ArArmours folder
---------- Post Merged at 09:02 PM ---------- Previous Post was at 08:59 PM ----------
this is the MLibaray which is also edited
only for archer and sins (ive added all new armours for wiz and taos and warrs which work fine)
im only having problems with the sin and archers
ive looked in the legendofmir.sln and been told to look into the player objects and this is what ive come across
Code:
Assissan
#region Armours
if (altAnim)
{
switch (Armour)
{
case 9: //heaven
case 10: //mir
case 11: //oma
BodyLibrary = Armour + 3 < Libraries.AArmours.Length ? Libraries.AArmours[Armour + 3] : Libraries.AArmours[0];
break;
case 12: //spirit
BodyLibrary = Armour + 4 < Libraries.AArmours.Length ? Libraries.AArmours[Armour + 4] : Libraries.AArmours[0];
break;
case 19:
BodyLibrary = Armour - 3 < Libraries.AArmours.Length ? Libraries.AArmours[Armour - 3] : Libraries.AArmours[0];
break;
case 20:
case 21:
case 22:
case 23: //red bone
case 24:
BodyLibrary = Armour - 17 < Libraries.AArmours.Length ? Libraries.AArmours[Armour - 17] : Libraries.AArmours[0];
break;
case 28:
case 29:
case 30:
BodyLibrary = Armour - 20 < Libraries.AArmours.Length ? Libraries.AArmours[Armour - 20] : Libraries.AArmours[0];
break;
case 34:
BodyLibrary = Armour - 23 < Libraries.AArmours.Length ? Libraries.AArmours[Armour - 23] : Libraries.AArmours[0];
break;
default:
BodyLibrary = Armour < Libraries.AArmours.Length ? Libraries.AArmours[Armour] : Libraries.AArmours[0];
break;
Code:
archers
#region Armours if (altAnim)
{
switch (Armour)
{
case 9: //heaven
case 10: //mir
case 11: //oma
case 12: //spirit
BodyLibrary = Armour + 1 < Libraries.ARArmours.Length ? Libraries.ARArmours[Armour + 1] : Libraries.ARArmours[0];
break;
case 19:
BodyLibrary = Armour - 5 < Libraries.ARArmours.Length ? Libraries.ARArmours[Armour - 5] : Libraries.ARArmours[0];
break;
case 29:
case 30:
BodyLibrary = Armour - 14 < Libraries.ARArmours.Length ? Libraries.ARArmours[Armour - 14] : Libraries.ARArmours[0];
break;
case 35:
case 36:
case 37:
case 38:
case 39:
case 40:
case 41:
BodyLibrary = Armour - 32 < Libraries.ARArmours.Length ? Libraries.ARArmours[Armour - 32] : Libraries.ARArmours[0];
break;
default:
BodyLibrary = Armour < Libraries.ARArmours.Length ? Libraries.ARArmours[Armour] : Libraries.ARArmours[0];
break;
}
HairLibrary = Hair < Libraries.ARHair.Length ? Libraries.ARHair[Hair] : null;
}
else
{
BodyLibrary = Armour < Libraries.CArmours.Length ? Libraries.CArmours[Armour] : Libraries.CArmours[0];
HairLibrary = Hair < Libraries.CHair.Length ? Libraries.CHair[Hair] : null;
}
#endregion
all i am trying to do is get the sin to read these libs from AArmour folder
and trying to get the archer armours to read these libs from the ArArmours folder
---------- Post Merged at 09:02 PM ---------- Previous Post was at 08:59 PM ----------
this is the MLibaray which is also edited