void Item::LoadModels()
{
pInitModelData();
g_ItemModel.SetModel();
// ----
char * Path = "Data\\Custom\\Item\\";
char * PathWings = "Data\\Custom\\Item\\Wings\\";
char * PathJewel = "Data\\Custom\\Item\\Jewel\\";
[COLOR="#FF0000"]char * PathSets = "Data\\Custom\\Item\\Sets\\";[/COLOR]
// Wings
pLoadModel(ITEM2(12, 240), PathWings, "Wing240", -1);
pLoadModel(ITEM2(12, 241), PathWings, "Wing241", -1);
pLoadModel(ITEM2(12, 242), PathWings, "Wing242", -1);
pLoadModel(ITEM2(12, 243), PathWings, "Wing243", -1);
pLoadModel(ITEM2(12, 244), PathWings, "Wing244", -1);
pLoadModel(ITEM2(12, 245), PathWings, "Wing245", -1);
pLoadModel(ITEM2(12, 246), PathWings, "Wing246", -1);
pLoadModel(ITEM2(12, 247), PathWings, "Wing247", -1);
pLoadModel(ITEM2(12, 248), PathWings, "Wing248", -1);
pLoadModel(ITEM2(12, 249), PathWings, "Wing249", -1);
pLoadModel(ITEM2(12, 250), PathWings, "Wing250", -1);
pLoadModel(ITEM2(12, 251), PathWings, "Wing251", -1);
pLoadModel(ITEM2(12, 252), PathWings, "Wing252", -1);
pLoadModel(ITEM2(12, 253), PathWings, "Wing253", -1);
pLoadModel(ITEM2(12, 254), PathWings, "Wing254", -1);
[COLOR="#FF0000"] //Set
pLoadModel(ITEM2(7, 100), PathSets, "HelmMale100", -1);
pLoadModel(ITEM2(8, 100), PathSets, "ArmorMale100", -1);
pLoadModel(ITEM2(9, 100), PathSets, "GloveMale100", -1);
pLoadModel(ITEM2(10, 100), PathSets, "PantMale100", -1);
pLoadModel(ITEM2(11, 100), PathSets, "BootMale100", -1);[/COLOR]
// Jewels
pLoadModel(ITEM2(14, 200), PathJewel, "Jewel200", -1);
pLoadModel(ITEM2(14, 201), PathJewel, "Jewel201", -1);
pLoadModel(ITEM2(14, 202), PathJewel, "Jewel202", -1);
pLoadModel(ITEM2(14, 203), PathJewel, "Jewel203", -1);
pLoadModel(ITEM2(14, 204), PathJewel, "Jewel204", -1);
pLoadModel(ITEM2(14, 205), PathJewel, "Jewel205", -1);
pLoadModel(ITEM2(14, 206), PathJewel, "Jewel206", -1);
}
// ----------------------------------------------------------------------------------------------
void Item::LoadTextures()
{
pInitTextureData();
g_ItemModel.SetTexture();
// ----
char * Path = "Custom\\Item\\";
char * PathWings = "Custom\\Item\\Wings\\";
char * PathJewel = "Custom\\Item\\Jewel\\";
[COLOR="#FF0000"]char * PathSets = "Custom\\Item\\Sets\\";[/COLOR]
// ----
// Wings
pLoadTexture(ITEM2(12, 240), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 241), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 242), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 243), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 244), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 245), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 246), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 247), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 248), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 249), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 250), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 251), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 252), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 253), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(12, 254), PathWings, GL_REPEAT, GL_NEAREST, GL_TRUE);
//Sets
pLoadTexture(ITEM2(7, 100), PathSets, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(8, 100), PathSets, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(9, 100), PathSets, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(10, 100), PathSets, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(11, 100), PathSets, GL_REPEAT, GL_NEAREST, GL_TRUE);
// Jewels
pLoadTexture(ITEM2(14, 200), PathJewel, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(14, 201), PathJewel, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(14, 202), PathJewel, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(14, 203), PathJewel, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(14, 204), PathJewel, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(14, 205), PathJewel, GL_REPEAT, GL_NEAREST, GL_TRUE);
pLoadTexture(ITEM2(14, 206), PathJewel, GL_REPEAT, GL_NEAREST, GL_TRUE);
}