Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Cartography
|
Author |
Message |
Van Glan Bloom
Journeyman
Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0
|
Cartography
Hello guys.
Today i find a bug in cartography skill referring to sphere 56d. When I try to create a map using the blank maps this error appears in the console.
Code:
13:15:ERROR:(sphere_skillmenu.scp,565)Undefined keyword 'DRAWMAP'
This is what's in the script.
Code:
[SKILLMENU sm_cartography]
What sort of map do you want to draw ?
ON=i_mapadd1 Detail Map
TEST=CARTOGRAPHY 5.0
DRAWMAP=200
Some one can help me? Thx
|
|
02-14-2017 11:36 PM |
|
|
darksun84
Sir Spamalot
Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35
|
RE: Cartography
Not a bug, DRAWMAP was removed two/three years ago:
Code:
Removed obsolete DRAWMAP hardcoded function. The behavior is now softcoded using @Create on map items.
Take a look here:
Code:
[ITEMDEF i_map_local]
ID=i_map
NAME=local map
RESOURCES=1 i_map_blank
SKILLMAKE=CARTOGRAPHY 0.0, t_cartography
VALUE=3
ON=@Create
IF (<SRC>)
LOCAL.Radius=<eval 64+((<SRC.CARTOGRAPHY>*2)/10)>
MORE1=<eval ((<SRC.P.X>-<LOCAL.Radius>)*010000)+(<SRC.P.Y>-<LOCAL.Radius>)>
MORE2=<eval ((<SRC.P.X>+<LOCAL.Radius>)*010000)+(<SRC.P.Y>+<LOCAL.Radius>)>
ENDIF
(This post was last modified: 02-14-2017 11:46 PM by darksun84.)
|
|
02-14-2017 11:46 PM |
|
|
User(s) browsing this thread: 2 Guest(s)