Jump to content

[Showcase + DL] Palettes for Summoner


Tero

Recommended Posts


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  58
  • Reputation:   109
  • Joined:  10/01/22
  • Last Seen:  

Nothing fancy here, just a pack of 35 cloth colours for male and female summoners, since in the distribution I had they didn't have any.

ColorCats.png.7f89bfca294aaad17fc392683ef0459b.png

To add this to your server, download the doram-palettes.grf from the bottom of the post, then find your data.ini (in your client folder) and add a line including this grf file, like so (the last line is the one you would add):

[Data]
0=rathena_resources.grf
1=pre20190427.grf
2=renewal20190427.grf
3=palettes.grf
4=data.grf
5=rdata.grf
6=doram-palettes.grf

You can also merge this into an existing grf file using GRF Editor if you prefer.

 

If the "max_cloth_color" on your server is not 35, you'll also probably want this, this is a slightly modified version of the stylist npc who manually specifies the maximum number of palettes for Summoners.  This should replace your npc/custom/stylist.txt

//===== rAthena Script =======================================
//= Stylist
//===== By: ==================================================
//= Euphy
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Changes your hair style, hair color, and cloth color.
//===== Additional Comments: =================================
//= 1.0 Initial script.
//= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy]
//= 1.2 Manually specified limits for Summoners [Tero]
//============================================================

prontera,170,180,1	script	Stylist#custom_stylist	122,{
	mes "[Stylist]";
	mes "Hey baby!";
	mes "I can make you look fabulous!";
	mes "Are you ready?";
	if (Class == 4218 || Class == 4220) {
		setarray .@Styles[1],
			35,
			6,
			8;
		setarray .@Look[1],
			LOOK_CLOTHES_COLOR,
			LOOK_HAIR,
			LOOK_HAIR_COLOR;
		set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color");
		set .@Revert, getlook(.@Look[.@s]);
		set .@Style,1;
	} else {
		setarray .@Styles[1],
			getbattleflag("max_cloth_color"),
			getbattleflag("max_hair_style"),
			getbattleflag("max_hair_color");
		setarray .@Look[1],
			LOOK_CLOTHES_COLOR,
			LOOK_HAIR,
			LOOK_HAIR_COLOR;
		set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color");
		set .@Revert, getlook(.@Look[.@s]);
		set .@Style,1;
	}
	while(1) {
		setlook .@Look[.@s], .@Style;
		message strcharinfo(0),"This is style #"+.@Style+".";
		set .@menu$, " ~ Next (^0055FF"+((.@Style!=.@Styles[.@s])?.@Style+1:1)+"^000000): ~ Previous (^0055FF"+((.@Style!=1)?.@Style-1:.@Styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)";
		switch(select(.@menu$)) {
		case 1:
			set .@Style, ((.@Style != .@Styles[.@s]) ? .@Style+1 : 1);
			break;
		case 2:
			set .@Style, ((.@Style != 1) ? .@Style-1 : .@Styles[.@s]);
			break;
		case 3:
			message strcharinfo(0),"Choose a style between 1 - "+.@Styles[.@s]+".";
			input .@Style,0,.@Styles[.@s];
			if (!.@Style)
				set .@Style, rand(1,.@Styles[.@s]);
			break;
		case 4:
			set .@Style, .@Revert;
			setlook .@Look[.@s], .@Revert;
			break;
		}
	}
}

 

Enjoy colourful cats!

 

 

doram-palettes.grf

Edited by Tero
Updating GRF file
  • Upvote 1
  • Like 2
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  58
  • Reputation:   109
  • Joined:  10/01/22
  • Last Seen:  

It was brought to my attention that some users encounter an error when trying to use the new Summoner palettes.  It looks like for newer client versions, the summoner palettes are stored in a new location, which I've also added to the GRF file (by duplicating the palettes, but palette files are super small).  Hopefully this should now work for people using the newer client as well.

 

I've also now updated the GRF to include the palettes for the Summoner's mount as well.

Edited by Tero
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   6
  • Joined:  04/20/16
  • Last Seen:  

Thank you for the awesome palettes! @Tero

Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  58
  • Reputation:   109
  • Joined:  10/01/22
  • Last Seen:  

I know what you're probably thinking, "sure, I've got lots of great body colours for cats now, but what about cat heads?".  The Doram have a decent selection of hair colours available by default for the doram heads that have hair, but the animal heads have no variations, which is lame.  Well, I've got you covered, with a set of 11 new colours for the Doram.  There's a healthy mix of "feasible colours for an actual cat" and "absurd fantasy colours" to choose from.

Catheads.png.aa7099f8c87181709dbaa5d3fe5c4014.png

 

With the client I have, only 6 Doram heads are supported, if you try to choose a head higher than 6 it just displays head 6, so only 6 heads for male and female are included.  As some of the 6 default heads are just recolours of the same sprite, I've shifted their positions around a little bit with the heads from the latest korean version to get more variety, though the other 4 heads are still included in the GRF for compatibility if your client supports them (though they have no new palettes).

 

To use this, add this to the top of your data.ini file (unlike with the body palettes, we're overriding the default palettes here, so it needs to go before your data.grf file).  Alternatively, merge it with an existing grf or data folder.  I've also included a new version of the stylist that takes into account the new hair limits for Doram, and also has some minor upgrades (it allows you to select colour 0 for hair and starts you on your current palette rather than at the beginning).

doram-hair.grf

stylist.txt

Edited by Tero
  • Upvote 3
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...