rename textures to avoid collisions
4
init.lua
@ -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
|
||||
|
@ -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
|
||||
|
Before Width: | Height: | Size: 801 B After Width: | Height: | Size: 801 B |
Before Width: | Height: | Size: 932 B After Width: | Height: | Size: 932 B |
Before Width: | Height: | Size: 933 B After Width: | Height: | Size: 933 B |
Before Width: | Height: | Size: 900 B After Width: | Height: | Size: 900 B |
Before Width: | Height: | Size: 939 B After Width: | Height: | Size: 939 B |
Before Width: | Height: | Size: 925 B After Width: | Height: | Size: 925 B |
Before Width: | Height: | Size: 935 B After Width: | Height: | Size: 935 B |
Before Width: | Height: | Size: 887 B After Width: | Height: | Size: 887 B |
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 898 B |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |