- Jan 6, 2013
- Reaction score
- First Language
- Primarily Uses
My bad... wrong notetag:I don't know if I'm doing something wrong. I deleted the old makeMoveTable() and srpgMoveCost and pasted those inside there (I think it's right, this is not my first time messing with writing plugins). I'm placing the tags inside the class being used, but it is still using the default costs inside RangeControl.
If I make tag 4, blue tile, unpassable (99 cost) and give someone <srpgTerrainCost4:2> it stays unpassable.
Conversely, if I make tag 1, dark green tile, passable normally and give someone <srpgTerrainCost1:2> they still go through it at normal cost.
View attachment 193165View attachment 193167View attachment 193166View attachment 193164
As from the images, Al should move 5 spaces on light green, 5 on yellow and 5 on blue, but he moves 10 in green and yellow, and none on blue.
Try SRPGTerrainCostX:Y (in the script code it quite clearly is searching for the notetag <SRPGTerrainCost> with SRPG in upper case)