How to add a unique map icon

lambada7

  • Newbie
  • Posts: 7
How to add a unique map icon
«  »Last edited
What should be the size of the image?

Example

120x120

What should be the name of the image and what type of recording should it be?

Example

Name( .png , .jpg .tga ) ??

Finally how do I switch to Main.nut?

Example

function onPlayerJoin( player )
{
CreateMarker(player.UniqueWorld, Vector( -1734, -715, 5.8680 ), 5, RGB(0, 0, 0), 26 );
     return 1;
}

CreateMarker( world, pos, scale, color, SpriteId )

int world - The world ID
Vector pos - The position of the marker to be created
int scale - The marker's size
cRGB color - The marker's color
int SpriteId - The ID of custom map icon


Where will he be thrown? the mapicons
to the file? Or the Sprites file?


I mean how do we do????



MEGAMIND

  • Hero Member
  • Developer of "Web-Net" search engine
  • Posts: 698

lambada7

  • Newbie
  • Posts: 7

MEGAMIND

  • Hero Member
  • Developer of "Web-Net" search engine
  • Posts: 698

lambada7

  • Newbie
  • Posts: 7