View Single Post
  #2506    
Old July 6th, 2008, 03:04 PM
partyghoul2000's Avatar
partyghoul2000
Intermediate Game Designer
 
Join Date: Jan 2006
Location: USA
Age: 26
Gender: Male
Nature: Calm
i have some somewhat advanced questions about the scripts.

as somebody mentioned before, they wanted to add more player metadata than what was available. i've looked through the scripts and seen meta data player used in a few other scripts. if one were to add more meta data players, would it still work with the other scripts? and how would one go about putting more players in? below is the metadata script from PokemonMap lines 415 to 437.
Quote:
MetadataHome=1
MetadataPlayerA=2
MetadataPlayerB=3
MetadataPlayerC=4
MetadataPlayerD=5
MetadataStorageCreator=6
MetadataWildBattleBGM=7
MetadataTrainerBattleBGM=8
MetadataWildVictoryME=9
MetadataTrainerVictoryME=10
MetadataTextSkin=11

MetadataOutdoor=1
MetadataEscapePoint=2
MetadataShowArea=3
MetadataBicycle=4
MetadataBicycleAlways=5
MetadataHealingSpot=6
MetadataWeather=7
MetadataMapPosition=8
MetadataDiveMap=9
MetadataDarkMap=10
MetadataSafariMap=11
would for example, MetadataPlayerE go under =12? and so forth for other players?

also, how would one input another pocket or two on the bag?
Quote:
class PokemonBag
attr_reader :registeredItem
attr_accessor :lastpocket
attr_reader :pockets
MAXPERSLOT=99
MAXPOCKETSIZE=[0,256,-1,-1,-1,-1]
def initialize
@lastpocket=1
@pockets=[]
@pockets[0]=[]
@pockets[1]=[]
@pockets[2]=[]
@pockets[3]=[]
@pockets[4]=[]
@pockets[5]=[]
@choices=[0,0,0,0,0,0]
@registeredItem=0
end
would i just add another -1 in maxpocketsize, another 0 to choices and @pockets[6]=[]to this? i believe i already grasp what else needs to be done for this.

i was also wondering where the piece of script is for the exclamation mark that appears above the trainer before battle. i moved the animation down on the list of animations and now it doesn't appear before trainer battles. i need to find this piece of script to change it accordly.

also, would there be a way to force a pokemon within the player's party to evolve? i've played around with scripts and conditional branches with no avail.

i was also wondering how pbDebugBattle is supposed to be called. i tried script and conditional branch and neither worked. getting this to work would help alot with the battle animations.

i was also curious as to when different pokemon forms will be implemented. this would be a big plus in the next release. :D


thanks for your answers in advance.

*EDIT*
i just noticed that the animation editor in the editor/debug menu doesn't save any animations. is anybody else having this problem?

*EDIT2*
ummm...i also need to know where the script for the grass & dust animation are, so i can change them accordly. >_<
__________________

Check out my Super Gothic Bros hack here.
My ripped pokemon music in MP3 format can be found here.
My custom battle animations and whatnot can be found here.
Credit is expected, if used.

Last edited by partyghoul2000; July 6th, 2008 at 03:43 PM.