Thread: Beard rendering on Emulous base

Results 1 to 3 of 3
  1. #1 Beard rendering on Emulous base 
    Registered Member
    Join Date
    Dec 2009
    Posts
    200
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    There is a gap in the jaw of players, when they equip med helms or helm of neitiznot. I've tried emulous specific fixes, but they don't work.

    Here's the code from my player.java for the item model rendering:

    Code:
    			if (playerEquipment[playerHat] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerHat]);
    			} else {
    				playerProps.writeByte(0);
    			}
    	
    			if (playerEquipment[playerCape] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerCape]);
    			} else {
    				playerProps.writeByte(0);
    			}
    	
    			if (playerEquipment[playerAmulet] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerAmulet]);
    			} else {
    				playerProps.writeByte(0);
    			}
    	
    			if (playerEquipment[playerWeapon] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerWeapon]);
    			} else {
    				playerProps.writeByte(0);
    			}
    	
    			if (playerEquipment[playerChest] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerChest]);
    			} else {
    				playerProps.writeWord(0x100+playerAppearance[2]);
    			}
    			
    			if (playerEquipment[playerShield] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerShield]);
    			} else {
    				playerProps.writeByte(0);
    			}
    			
    			if (!Item.isPlate(playerEquipment[playerChest])) {
    				playerProps.writeWord(0x100+playerAppearance[3]);
    			} else {
    				playerProps.writeByte(0);
    			}
    			
    			if (playerEquipment[playerLegs] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerLegs]);
    			} else {
    				playerProps.writeWord(0x100+playerAppearance[5]);
    			}
    			
    			if (!Item.isFullHelm(playerEquipment[playerHat]) && !Item.isFullMask(playerEquipment[playerHat])) {
    				playerProps.writeWord(0x100 + playerAppearance[1]);		
    			} else {
    				playerProps.writeByte(0);
    			}
    	
    			if (playerEquipment[playerHands] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerHands]);
    			} else {
    				playerProps.writeWord(0x100+playerAppearance[4]);
    			}
    			
    			if (playerEquipment[playerFeet] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerFeet]);
    			} else {
    				 playerProps.writeWord(0x100+playerAppearance[6]);
    			}
    				 
    			if (!Item.isFullHelm(playerEquipment[playerHat]) && !Item.isFullMask(playerEquipment[playerHat]) &&(playerAppearance[0] != 1)) {
    				playerProps.writeWord(0x100 + playerAppearance[7]);
    			} else {
    				playerProps.writeByte(0);
    			}
    Please help me, what do I need to add or change to fix this.
    Reply With Quote  
     

  2. #2  
    Old School Member

    Join Date
    Feb 2008
    Age
    25
    Posts
    2,165
    Thanks given
    372
    Thanks received
    40
    Rep Power
    687
    had the same problem on my emoulous testing server, but i managed it fix it easyily, if you help me i'll help you
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2009
    Posts
    200
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by xx k03d xx View Post
    had the same problem on my emoulous testing server, but i managed it fix it easyily, if you help me i'll help you
    [Only registered and activated users can see links. ]
    Hi, I made a reply to your thread - could you still help me?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •