Mat
2012-02-14 20:39:36
Okay.
I have seen people ask for this so I thought might aswell while I'm a bit awake:).
Covering?
Perfect its has a world Map :)
Map it 100% Zoom! (MUST)


MAP IS MADE!!!!
Modifying SPS.Simba to have a new area!
Once you have done this the SPS.Simba File is Modified! Making the Folder(Really Simple)
If you have any question please feel free to post and I'll do the best I can to assist you :)
Mat
P.S. Bed time Now 2am … HardCore Much :D :spot: Also I may do a Tutorial on How to use the MiniMap to Create SPS Maps. (Maybe)
I have seen people ask for this so I thought might aswell while I'm a bit awake:).
Covering?
- Making the Image
- Making the Code for SPS file
- How to Test it :)
- First of go to the Location you want to create the Map for and see if you can use the world Map on it.
Perfect its has a world Map :)
Map it 100% Zoom! (MUST)- Now Take a screen shot of the map. and paste in to the editing program of your Choice I'll be using Adobe FireWorks CS5 as its a lot easier :).

- Crop the image so there is abit of black around the outter of the map.

- Now create a New Canvas which is 500px by 500px and make sure it has a Black Background!

- As you can see from the image above I Have placed the Map in the middle of the image, you must do this!
- Now save as 0_0.PNG
MAP IS MADE!!!!Modifying SPS.Simba to have a new area!
- Open SPS.Simba and you should see this:

- Then scroll down still you see this:
- Copy it, scroll down and re paste it at the bottom.
FoG:// Name of the area
with SPS_Surface do
begin
Name := 'Fog';//Name
ImagePath := SPS_IMG_PATH + 'Fog\';//Folder in which we will create shortly
FactorX := 400;//No Touchy
FactorY := 400;//No Touchy
TileOffsetX := -1;//No Touchy
TileOffSetY := -1;//No Touchy
Tolerance := 0.4;//Tolerance Change this is you are having problems with walking.
end;As you can see the code above is for FoG. all you do is copy it and paste it in, then change the folder Name etc.
- Go to
C:\Simba\Includes\SPS\img - Next create new folder to what you called it in the SPS.Simba which I called FoG.
- Once the folder is created add the 0_0.PNG File you create first in to it.
- Testing your Map is quite easy.
- I uses this to test my SPS Maps:
program SPS_Tester;{$i srl/srl.Simba}
{$i sps/sps.simba}
begin
SetupSRL;
SPS_Setup({Here you put the name of the area in my case FoG},[{The map Name Our case '0_0'}]);
Writeln(SPS_GetMyPos);
end.
- If you look at this image where I am testing it you will see a number like this (255, 245) this is the point in which you are at in that Map which means it has worked. Move around the area and keep testing it to see if it changes.
- Creating a path, if that is the only Image in there you can use the path creator, but I'd find it easier to move around rs and run that little script which gives you your location, take a note of it and keep walking till you created your path(Like Reflection and Injection Bots Were).

If you have any question please feel free to post and I'll do the best I can to assist you :)
Mat
P.S. Bed time Now 2am … HardCore Much :D :spot: Also I may do a Tutorial on How to use the MiniMap to Create SPS Maps. (Maybe)