--- EDITED MESSAGE ---
How I allow players to use new slots, Maybe by Right Clicking the itens and making an option to move to this new slots ( Like SPARE WEAPON SLOT, SPARE SHIELD SLOT, TORCH SLOT, ( And for me the most interessing =p MONTARY SLOT ( for horses etc .. ).
This is most wanted for latter changing the outfit system for one in witch you would show exatly what you are using , OK i know a lot of people wouldn't like that but I think it's necessary for having a more real aspect in the game .
Any one can help ???
OBS,
This is the right place for changing the slot, ye ?
MoveEvent* MoveEvents::getEvent(Item* item, MoveEvent_t eventType, slots_t slot)
{
uint32_t slotp = 0;
switch(slot)
{
case SLOT_HEAD:
slotp = SLOTP_HEAD;
break;
case SLOT_NECKLACE:
slotp = SLOTP_NECKLACE;
break;
case SLOT_BACKPACK:
slotp = SLOTP_BACKPACK;
break;
case SLOT_ARMOR:
slotp = SLOTP_ARMOR;
break;
case SLOT_RIGHT:
slotp = SLOTP_RIGHT;
break;
case SLOT_LEFT:
slotp = SLOTP_LEFT;
break;
case SLOT_LEGS:
slotp = SLOTP_LEGS;
break;
case SLOT_FEET:
slotp = SLOTP_FEET;
break;
case SLOT_AMMO:
slotp = SLOTP_AMMO;
break;
case SLOT_RING:
slotp = SLOTP_RING;
break;
default:
break;
}
ORIGINAL MESSAGE -----
Well It maybe is a very stupid request but I don´t know where I have to go to make this :S
Sorry it Im causing trouble.
I wanted to know how I can add slots ( LIKE ARMOR,RING, LEGS etc) and make itens that are able to be referenced to that . Like for example a spare sword slot .. etc.
I know how create and edit itens, but it won't work before change the script that rules this slot system .
After that I would ask what would be the best OT CLient for I create a GUI witch ( I think this is spelled wrong
) it would be able to see the new slots, and if it would work with cip client ( of course not showing the itens but may be equipping it any way ...
---
With the risk to get a too long post , I have this Idea because I would like to make a OT game witch the outfits ( or as I want to say, the character view) would be related to the itens it is wearing .
Thanks for the replys !
Sorry for the trouble and bad english !
How I allow players to use new slots, Maybe by Right Clicking the itens and making an option to move to this new slots ( Like SPARE WEAPON SLOT, SPARE SHIELD SLOT, TORCH SLOT, ( And for me the most interessing =p MONTARY SLOT ( for horses etc .. ).
This is most wanted for latter changing the outfit system for one in witch you would show exatly what you are using , OK i know a lot of people wouldn't like that but I think it's necessary for having a more real aspect in the game .
Any one can help ???
OBS,
This is the right place for changing the slot, ye ?
MoveEvent* MoveEvents::getEvent(Item* item, MoveEvent_t eventType, slots_t slot)
{
uint32_t slotp = 0;
switch(slot)
{
case SLOT_HEAD:
slotp = SLOTP_HEAD;
break;
case SLOT_NECKLACE:
slotp = SLOTP_NECKLACE;
break;
case SLOT_BACKPACK:
slotp = SLOTP_BACKPACK;
break;
case SLOT_ARMOR:
slotp = SLOTP_ARMOR;
break;
case SLOT_RIGHT:
slotp = SLOTP_RIGHT;
break;
case SLOT_LEFT:
slotp = SLOTP_LEFT;
break;
case SLOT_LEGS:
slotp = SLOTP_LEGS;
break;
case SLOT_FEET:
slotp = SLOTP_FEET;
break;
case SLOT_AMMO:
slotp = SLOTP_AMMO;
break;
case SLOT_RING:
slotp = SLOTP_RING;
break;
default:
break;
}
ORIGINAL MESSAGE -----
Well It maybe is a very stupid request but I don´t know where I have to go to make this :S
Sorry it Im causing trouble.
I wanted to know how I can add slots ( LIKE ARMOR,RING, LEGS etc) and make itens that are able to be referenced to that . Like for example a spare sword slot .. etc.
I know how create and edit itens, but it won't work before change the script that rules this slot system .
After that I would ask what would be the best OT CLient for I create a GUI witch ( I think this is spelled wrong
---
With the risk to get a too long post , I have this Idea because I would like to make a OT game witch the outfits ( or as I want to say, the character view) would be related to the itens it is wearing .
Thanks for the replys !
Sorry for the trouble and bad english !
Last edited: