[RUSE] Adding Custom Minimap Icons V2
Had some trouble following this tutorial since it was made for Ruse V1 so I thought i'd share how I did it incase anyone was having difficulty.
[Only registered and activated users can see links. Click Here To Register...]
Difficulty - 1/10 (Basic Knowledge of Cache)
In this example I am going to be adding the fishing icon.
Step 1. Declare your Sprite
Code:
public Sprite fishSpot;
Step 2. Find cleanUpForQuit() and add
Step 3. Search for startUp() and underneath mapDotTeam or mapDotClan is where you add your sprite. This is where knowledge of your cache comes into play. The fishing icon is located in "mapfunction" and is the 26th sprite.
Code:
fishSpot = new Sprite(mediaArchive, "mapfunction", 26);
Step 4. Search for markMinimap(sprite, k, j); and add this line. The 2605 is your x coordinate while the 3092 is your y coordinate.
Code:
markMinimap(fishSpot, ((2605 - baseX) * 4 + 2) - myPlayer.x / 32, ((3092 - baseY) * 4 + 2) - myPlayer.y / 32);
If you followed these steps correctly, then you should end up with something like this.
[Only registered and activated users can see links. Click Here To Register...]
Theres probably a more efficient way to do it than this, but it got the job done. Good luck!