Jump to content

PokeMMO Mod Documentation


Recommended Posts

  • 1 year later...

Follower Sprite Mods:

Certain files in the /sprites/followsprites/ folder will be loaded as overworld follower sprites. The naming format is 'ID-Gender-Shiny(-FormId).png'.

ID is the ID of the monster

Gender is 'b' for both, 'f' for female, 'm' for male

Shiny is either 'n' for normal or 's' for shiny

FormID is the form id for monsters that have multiple forms. If a form id is not specified it will be treated as form '0'.

These sprites are expected to be a single atlas image containing all frames for the follower gender/shiny combination.

Please use sprites that are represented with a 1-1 pixel ratio. PNG files that have sprites at 2x normal scale will lead to scaling/artifact issues. (Batch resize applications exist so please do not do this manually.)

 

/sprites/followersprites/atlasdata.txt is required to supply the atlas layout and structure. An example of a functioning atlasdata.txt is as follows:

Spoiler

;Table which determines sheet settings for follow sprites
;This is a global setting for all the sheets contained within the mod package.
;Meaning your sheets need to be uniform in size and placements
;Lines starting with ; will be ignored

;Amount of columns and rows
rows=4
columns=4

;Frame data
;Which frames it should use for each direction
;Format: id,id
;Max of 4 animation frames, min of 2
;Example for 4x2 sheet
;[0][1]
;[2][3]
;[4][5]
;[6][7]
;Example for 4x4
;[00][01][02][03]
;[04][05][06][07]
;[08][09][10][11]
;[12][13][14][15]

north=0,1,2,3
south=12,13,14,15
west=4,5,6,7
east=8,9,10,11

;Sprite scale/x/y/z modifications
;Default values: 1.0,0,0,0
;For larger sprites try starting from value 0.75,0,10,0
;Increasing X will put the sprite more on right
;Increasing Y will put the sprite higher
;Increasing Z will put the sprite down ( depth axis only 3d )
123=0.75,0,10,0
234=0.75,0,10,0
345=0.75,0,5,0
456=0.75,0,10,0

 

 

Link to comment
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.