Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Ayuda no se visualizan los pets  (Visto 796 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline SaintZeus Posteado: April 30, 2020, 11:06:04 PM | Modificado: April 30, 2020, 11:09:43 PM by SaintZeus

No se visualizan mis pets, todos los archivos los cargo en Data/Item/ ayuda:



Cuando me equipo el pet y me teletransporto se queda asi su vida y nombre:



void ItemModelLoad() // OK
Code: [Select]
	for (int n = 0; n < MAX_PET_ITEM; n++)
{
int ModelID = ITEM2(gCustomPet2.m_CustomPetInfo[n].ItemType, gCustomPet2.m_CustomPetInfo[n].ItemIndex);
if (gCustomPet2.m_CustomPetInfo[n].Index != -1)
{
LoadItemModel((ModelID), "Item\\", gCustomPet2.m_CustomPetInfo[n].ModelName, -1);
}
}

void ItemTextureLoad() // OK

Code: [Select]
	for (int n = 0; n < MAX_PET_ITEM; n++)
{
int ModelID = ITEM2(gCustomPet2.m_CustomPetInfo[n].ItemType, gCustomPet2.m_CustomPetInfo[n].ItemIndex);
if (gCustomPet2.m_CustomPetInfo[n].Index != -1)
{
LoadItemTexture((ModelID), "Item\\", gCustomPet2.m_CustomPetInfo[n].ModelName, -1);
}
}

CustomPet.txt

Code: [Select]
//ItemType	ItemIndex  	ModelName
13 174 "DarkWizard"
13 175 "DragonKnight"
13 176 "FairyElf"

13 177 "wolfpet"
13 180 "adventurecat"
13 181 "angrychickenup"
13 183 "bateriaup"
13 184 "beagle"
13 185 "bluefairyup"
13 186 "bogeonpet_evol"
13 187 "bulldog"
13 188 "cyclopspet_evol"
13 189 "figure"
13 190 "knightinstructorup"
13 191 "knightzombieup"
13 192 "lycanpet_evol"
13 193 "mermaidpet_evol"
13 194 "minopet_evol"
13 195 "mommothpet_evol"
13 196 "mummyboy"
13 197 "polarispet_evol"
13 198 "reynerpet_evol"
13 199 "rio"
13 201 "USK_War2.0_Pet"
end


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
2 Replies
3068 Views
Last post December 13, 2017, 11:08:44 PM
by jose1k
0 Replies
653 Views
Last post November 24, 2019, 10:38:55 AM
by Broda
7 Replies
3518 Views
Last post February 17, 2022, 01:38:58 PM
by osvaldotl
0 Replies
631 Views
Last post April 13, 2020, 01:36:28 AM
by oleas14
5 Replies
1554 Views
Last post January 24, 2023, 12:07:38 PM
by oxey.mu