View Single Post
  #1241  
Old 09-07-2011, 01:42 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by fowlplay4 View Post
The latest V6 broke Zodiac's Rendering of Player Heads on the map.

Code:
PHP Code:
//#CLIENTSIDE

function onCreated() {
  
temp.tx = (screenwidth 2);
  
temp.ty = (screenheight 2);
  
with (findimg(201)) {
    
temp.tx;
    
temp.ty;
    
layer 20;
    
image "block.png";
  }
  
temp.obj player;
  
with (findimg(200)) {
    
temp.tx;
    
temp.ty;
    
layer 22;
    
ani "zodiac_mapface";
    
playerlook false;
    
actor.head obj.head;
    
actor.attr[1] = (obj.hat obj.hat obj.attr[1]);
  }

The head appears way off the center in this case.
I think this is another example of the ZOOMEFFECT problem I was posting about.
For Classic's map gani I set zoom within the script with the hat aligned normally within the animation and it works fine.
Reply With Quote