- 3
- Posts
- 8
- Years
- Seen Dec 13, 2016
Rival Name Map Display
Introduction
Today I want to give you a little but from my meaning powerfull script.
The Script let the rival name display when you enter a new Map whitch have the tag \RN inside of the Mapname so it is just like with the Playername with \PN.
In the test Projekt it is done with \PN's House whitch will display: Playername's House.
Whith my script you can now just give the mapname \RN's House and it will Display : Rivalname's House.
How TO
Open up your Pokémon Essentials and open the Script Editor.
There you need to find the Game_Variables and Game_Map Script.
Open up the 2 Snipets on my Pastebin under the Download section and now:
Just take the snipet from the pastbin and find the place where you need to put it in.
It is always just the stuff in between the green comment lines.
The other stuff around it for easyer finding the area where to put the script in.
If you are not able to manage it just download my Showcase file.
You will find it under Showcase.
Pics
Code
This is the snippet from Game_Map
This is the snippet from Game_Variables
Showcase
viid.me/qwB9e8
Afterwords
I just hope you will have fun.
With best regardes WurstOnAir
Please use the link from shortest! It is just 5 secounds to make somebody happy.
If you also want to be happy Like me:
join-shortest.com/ref/33566f39fd
Introduction
Today I want to give you a little but from my meaning powerfull script.
The Script let the rival name display when you enter a new Map whitch have the tag \RN inside of the Mapname so it is just like with the Playername with \PN.
In the test Projekt it is done with \PN's House whitch will display: Playername's House.
Whith my script you can now just give the mapname \RN's House and it will Display : Rivalname's House.
How TO
Open up your Pokémon Essentials and open the Script Editor.
There you need to find the Game_Variables and Game_Map Script.
Open up the 2 Snipets on my Pastebin under the Download section and now:
Just take the snipet from the pastbin and find the place where you need to put it in.
It is always just the stuff in between the green comment lines.
The other stuff around it for easyer finding the area where to put the script in.
If you are not able to manage it just download my Showcase file.
You will find it under Showcase.
Pics
![[PokeCommunity.com] Rival Name Map Display [PokeCommunity.com] Rival Name Map Display](https://s17.postimg.org/5kt2cmu4v/Showcase1.png)
![[PokeCommunity.com] Rival Name Map Display [PokeCommunity.com] Rival Name Map Display](https://s12.postimg.org/f1v6km4lp/Showcase2.png)
![[PokeCommunity.com] Rival Name Map Display [PokeCommunity.com] Rival Name Map Display](https://s12.postimg.org/5vcvxbzd9/Showcase3.png)
Code
This is the snippet from Game_Map
Code:
class Game_Map
def name
ret=pbGetMessage(MessageTypes::MapNames,self.map_id)
if $Trainer
ret.gsub!(/\\PN/,$Trainer.name)
end
################################################################################
#This you will need to change. You will find this part in the bottom area
#of the script.
#Here is the snipet whitch will display the rivals name when you
#have \RN in the Mapname.
if $game_variables[12]
ret.gsub!(/\\RN/,$game_variables[12])
end
#Important! You need to initialize the variable 12 with a name befor you
#start the game inside of the Game_Variables Script
################################################################################
return ret
end
end
This is the snippet from Game_Variables
Code:
def initialize
@data = []
################################################################################
#This is the new Part
@data[12] = "Rival"
################################################################################
end
viid.me/qwB9e8
Afterwords
I just hope you will have fun.
With best regardes WurstOnAir
Please use the link from shortest! It is just 5 secounds to make somebody happy.
If you also want to be happy Like me:
join-shortest.com/ref/33566f39fd
Last edited: