View Full Version : [Committed] MTA Enchanting map
Awkwardsaw
03-19-2012, 08:25 PM
I made a map for the enchanter's arena in Mage Training Arena. I had to use the minimap to put everything together, so forgive some inaccuracies(It works though).
Coh3n
03-22-2012, 04:53 AM
How are you using it? Everyone is posting these maps, but no one is posting the code that needs to be added for them to work properly. Unless there's a way to use them that I'm unaware of?
Kyle Undefined
03-22-2012, 04:59 AM
There's a little hack :p Just add the image to the RC folder in SPS with the next number up from the last image (0_0 exists, so 0_1 is the next number).
It's a lot easier than uploading a changed version of SPS.simba just to include an image in the correct folder.
Coh3n
03-22-2012, 05:34 AM
Lol, well yes I suppose that is easier. Not all maps would work if the FactorX/Y aren't set properly (can't remember what they do anyway).
Maybe I'll change it to just have a SPS/Dungeons/ folder, and have everything except the RS surface in there.
E: Actually, that shouldn't work. IIRC, SPS_GetMyPos uses the name of the map (0_1) to determine the coordinates, so if you picked the coordinates using Paint or a Pathmaker, it wouldn't work. I think it would work if you used SPS_GetMyPos to make the path, though.
Very interesting...
Kyle Undefined
03-22-2012, 05:40 AM
I don't use the SPS Path maker, I walk to each point with a script and print out the position that way. I find it much more reliable too.
I use this for my Shilo script, for the underground gem mine:
SPS_Setup(RUNECRAFTING_ALTARS ,['0_1']);
Works like a charm :)
Coh3n
03-22-2012, 05:43 AM
Alright I'll probably make an update that includes:
All dungeon maps in one folder (SPS/Dungeons).
A real-time pathmaker form (like Reflection had), or I'll combine all the dungeon maps into one so it can be used properly with Wolygon's pathmaker.
Setup a testing branch for SPS 1.5.
E: Scratch that. If I'm going to do anything for SPS, I'm going to continue marpis's work for SPS 2.0.
Awkwardsaw
03-22-2012, 01:31 PM
What do you need the code for? I literally copied it from the rest of the maps,
MTA:
with SPS_Surface do
begin
Name := 'Enchanting';
ImagePath := SPS_IMG_PATH + 'mage_training_arena\';
FactorX := 400;
FactorY := 400;
TileOffsetX := -1;
TileOffSetY := -1;
Tolerance := 0.4;
end;
SPS_Setup(MTA,['0_0']);
Alright I'll probably make an update that includes:
All dungeon maps in one folder (SPS/Dungeons).
A real-time pathmaker form (like Reflection had), or I'll combine all the dungeon maps into one so it can be used properly with Wolygon's pathmaker.
Setup a testing branch for SPS 1.5.
E: Scratch that. If I'm going to do anything for SPS, I'm going to continue marpis's work for SPS 2.0.
Keep on working on SPS 2, SPS 1.5 already has dungeon folder and maps done, Although making the dungeon maps work with pathmaker would be nice :)
Coh3n
03-22-2012, 03:42 PM
What do you need the code for? I literally copied it from the rest of the maps,
MTA:
with SPS_Surface do
begin
Name := 'Enchanting';
ImagePath := SPS_IMG_PATH + 'mage_training_arena\';
FactorX := 400;
FactorY := 400;
TileOffsetX := -1;
TileOffSetY := -1;
Tolerance := 0.4;
end;
SPS_Setup(MTA,['0_0']); I didn't realize the same settings worked for all the maps. :o
I do that for all my maps make a separate SPS location :)
Coh3n
03-25-2012, 06:57 PM
I've added this to my sps2.0 branch. I"m going to continue marpis's work as much as I can.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.