rename textures to avoid collisions

This commit is contained in:
whosit 2021-05-27 16:03:50 +03:00
parent 62d96f88fe
commit 479a4c3db7
12 changed files with 3 additions and 3 deletions

View File

@ -4,12 +4,12 @@
local ANNOUNCE_PREPARE_COMMAND_NAME = "look"
local ANNOUNCE_COMMAND_NAME = "look!"
local ANNOUNCE_RADIUS = 256 -- players within this radius will see a waypoint
local ANNOUNCE_ICON = "exclamation_mark.png"
local ANNOUNCE_ICON = "waypoint_announce_exclamation_mark.png"
local ANNOUNCE_TIMEOUT = 20 -- time until waypoint disappears
local WAYPOINT_COLOR = 0xFFFFFF -- color of the waypoint label
local ICON_SCALE = {x=-3,y=-3} -- size is 3% of the screen
local ICON_COLOR = "#E78C13"
local ARROW_FORMAT = "arrow_%03d.png"
local ARROW_FORMAT = "waypoint_announce_arrow_%03d.png"
local ARROW_QUADS_STEPS = 9
local POINT_RANGE = 180 -- maximun range player can point at (raycast range)
local POINT_TO_OBJECTS = true

View File

@ -4,6 +4,6 @@ angles=9
for rot in `seq 0 $((angles - 1))`; do
#inkscape -w ${size} -h ${size} compass_arrow.svg -o "$out"
angle=$((90 / angles * rot))
out="textures/arrow_"$(printf "%03d" $angle)".png"
out="textures/waypoint_announce_arrow_"$(printf "%03d" $angle)".png"
convert -density 384 -background none -distort SRT $angle -gravity center -resize ${size}x${size} "$input" "$out"
done

View File

Before

Width:  |  Height:  |  Size: 801 B

After

Width:  |  Height:  |  Size: 801 B

View File

Before

Width:  |  Height:  |  Size: 932 B

After

Width:  |  Height:  |  Size: 932 B

View File

Before

Width:  |  Height:  |  Size: 933 B

After

Width:  |  Height:  |  Size: 933 B

View File

Before

Width:  |  Height:  |  Size: 900 B

After

Width:  |  Height:  |  Size: 900 B

View File

Before

Width:  |  Height:  |  Size: 939 B

After

Width:  |  Height:  |  Size: 939 B

View File

Before

Width:  |  Height:  |  Size: 925 B

After

Width:  |  Height:  |  Size: 925 B

View File

Before

Width:  |  Height:  |  Size: 935 B

After

Width:  |  Height:  |  Size: 935 B

View File

Before

Width:  |  Height:  |  Size: 887 B

After

Width:  |  Height:  |  Size: 887 B

View File

Before

Width:  |  Height:  |  Size: 898 B

After

Width:  |  Height:  |  Size: 898 B

View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB