Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: habi on Feb 29, 2020, 02:47 PM

Title: custom map icon too big
Post by: habi on Feb 29, 2020, 02:47 PM
(https://i.imgur.com/d9APwDK.png)

i went on reducing size of m100_pink.png. now it is too small. 1px * px. but when i use on game, the map icon is big.
console
CreateMarker(FindPlayer(0).UniqueWorld, FindPlayer(0).Pos, 1, RGB(241, 36, 241), 100 );
Note: I was using vcmp's default mapicon (ID 0 ). but that is smaller. so i went for custom mapicon,
Title: Re: custom map icon too big
Post by: MEGAMIND on Mar 01, 2020, 06:21 AM
Size doesnt matter what matters is that its a valid png format and valid code
CreateMarker(1, BriefCass.Pos, 5, RGB(0, 0, 0), 111 );or
CreateMarker(1, Vector( -10.4317, -213.3678, 10.1507 ), 5, RGB(0, 0, 0), 111 );
Title: Re: custom map icon too big
Post by: habi on Mar 01, 2020, 01:26 PM
yes MEGAMIND, everything is correct. but mapicon is big
Title: Re: custom map icon too big
Post by: MEGAMIND on Mar 01, 2020, 02:55 PM
Quote from: habi on Mar 01, 2020, 01:26 PMyes MEGAMIND, everything is correct. but mapicon is big
just how big any pic? or link so that i can view whats issue at ur side
my png pics are of 750x750 and 400x400 and 250x250 size doesnt matter make sure ur icon name is something like this
store/mapicons/mapicons_unp.7z/m120_tune.pngIf nothing helps try https://www.youtube.com/watch?v=CpUyjylCfAU from one of my videos
Title: Re: custom map icon too big
Post by: Sebastian on Mar 01, 2020, 08:17 PM
I think there is a standard size for map icons,  except the default ones vc has,  which are used for targets in storyline.

If you tried different sizes for your png,  and it is still not getting smaller,  I think the only way left is to use a transparent background for your map icon.  So you will be able to make it as small as posible