@Incurable, though he's an Aussie so it will be a few hours before he's awake.
@Incurable, though he's an Aussie so it will be a few hours before he's awake.
Do you know if its possible to create another map for underground? like for going up and down ladders etc.
Yes, you can load more then 1 map.
Simba Code:program Walker;
{$DEFINE SMART}
{$include_once SRL-6/SRL.simba}
{$include_once SPS/lib/SPS-RS3.Simba}
{$include_once util/utils.simba}
{$include_once util/breaking.simba}
var
MAP_groundLevel, MAP_lodestone, MAP_undergroundLevel: TSPSArea;
bankToLadder: TPointArray := [Point (302, 538), Point (302, 538), Point (294, 518), Point (290, 486), Point (270, 458), Point (270, 446), Point (258, 426), Point (230, 398), Point (222, 386), Point (222, 358), Point (222, 334), Point (210, 306), Point (206, 290), Point (210, 258), Point (214, 230), Point (214, 226), Point (214, 198), Point (214, 174), Point (206, 146), Point (198, 138)];
ladderToBank: TPointArray := [Point (194, 154), Point (202, 154), Point (214, 178), Point (222, 218), Point (238, 246), Point (238, 282), Point (246, 310), Point (254, 326), Point (250, 366), Point (266, 398), Point (286, 414), Point (274, 438), Point (274, 470), Point (298, 498), Point (298, 526), Point (302, 538)];
lodestoneToEntrance: TPointArray := [Point (826, 242), Point (826, 242), Point (802, 250), Point (770, 262), Point (750, 238), Point (750, 202), Point (726, 174), Point (694, 166), Point (654, 154), Point (626, 170), Point (626, 210), Point (602, 230), Point (562, 230), Point (526, 238), Point (486, 234), Point (446, 226), Point (402, 226), Point (366, 226), Point (322, 226), Point (286, 202), Point (254, 182), Point (218, 190), Point (182, 190), Point (158, 150), Point (150, 110), Point (146, 98)];
begin
setupSRL;
MAP_groundLevel.setup('SPSMap_Ground', RUNESCAPE_OTHER, 7, 500.0, 0.55);
MAP_lodestone.setup('SPSMap_Lodestone', RUNESCAPE_OTHER, 7, 550.0, 0.55);
MAP_undergroundLevel.setup('SPSMap_Underground', RUNESCAPE_OTHER, 7, 500.0, 0.55);
MAP_groundLevel.walkPath(ladderToBank);
MAP_lodestone.walkPath(lodestoneToEntrance);
MAP_undergroundLevel.walkPath(bankToLadder);
end;
New to scripting? Procedures & Functions for Beginners
Do you use your computer at night? Just get f.lux
Why does the player position show x = -1 and y = -1 when i go underground?
And if I wanted to make the two maps global variables, can procedures/functions access it?
E:
Is there a way to get SPS to recognize the position?
Like overriding the way it recognizes the position and assigning it as 0,0 or a specific point?
Last edited by Yuskie; 11-10-2014 at 11:50 PM.
Ugh, I'm two posts short of being able to submit... my entry +_+
I got something down. And ended up sending it 3 mins late... How do you attach a file? cause I sent him raw code as the body of the message +_+
New to scripting? Procedures & Functions for Beginners
Do you use your computer at night? Just get f.lux
I'm out, not going to finish mine tonight I'll try to release a readable version soon.
Submissions for this competition are now closed. A total of fifteen entrants have submitted an entry, for many of whom it's their first script.
I must say that I'm very impressed with the overall quality of these scripts. There is evidence of a lot of effort Many of the entrants easily have the scripting ability required for SRL Membership. Due to the number of entrants (and the 50 page document I have to submit next week!) it will probably take about 2 weeks to finalize and cross-mark the grades. Discussions have already begun in the higher boards
sorry i couldn't manage to find time to even start. university keeps me bussy with exams.. damn i had a funny idea for a script
anyway good luck for everyone taking part.
sipfer
New to scripting? Procedures & Functions for Beginners
Do you use your computer at night? Just get f.lux
New to scripting? Procedures & Functions for Beginners
Do you use your computer at night? Just get f.lux
The excitement is real
There are currently 1 users browsing this thread. (0 members and 1 guests)