forums | blogs | polls | tutorials | downloads | rules | help

Add new comment

kathycf wrote:

Thanks for the help and encouragement.

This might be some use to you kathy, if not just ignore it.

Well I've been beavering away with kathy's ribbon mod and I'm glad to say its been up and running without any errors for most of Siege The Days Lockdown\Lockout, did the site get a dose of the Digital Covid virus, Meh, if that's true it should have enough virus antibodies to last it until we get a vaccine that works 100%.

Right, back to kathy and her ribbon mod, to get it to work correctly I had to edit the Heroe's.gas and add the lines below,

[t:template,n:base_farmgirl]
{
	doc = "Farm girl base template";
	specializes = hero;
	[actor]
	{
		portrait_icon=b_gui_ig_i_ic_c_fg_a_01;
		is_male = false;
		race = female;
		[skills]
		{
			strength 	=	0, 0, 10;
			intelligence 	= 	0, 0, 10;
			dexterity	= 	0, 0, 10;
			Female		=	0, 0, 1;
		}
	}
	[aspect]

Any other templates with farmgirl heroes in it needs to be done as well, including any summoned heroes, example below.

[t:template,n:naidi]
{
	doc = "naidi";
	specializes = base_pm_fg;
	[actor]
	{
		portrait_icon = b_gui_ig_i_ic_c_na;
		[skills]
		{
			strength 		= 0.75, 0, 10;
			intelligence 		= 0.39, 0, 10;
			dexterity 		= 1.86, 0, 10;
            		Ranged 			= 3, 0, 0;
            		uber 			= 3, 0, 0;
			Female			= 0, 0, 1;
		}
	}
	[aspect]

My summoned hero Kirani.

[t:template,n:base_pm_fg]
{
	category_name = "1W_character";
	doc = "Base template for female party members based on farmgirl.";
	specializes = base_farmgirl;
	[conversation]
	{
	}
	[inventory]
	{
		[equipment]
		{
			es_feet = bo_bo_le_f_g_c_avg;
		}
	}
	[store]
	{
		can_sell_self = true;
	}
	[water_effects]
	{
	}
}
[t:template,n:Kirani]
{
	doc = "Kirani";
	specializes = base_pm_fg;
	[actor]
	{
		portrait_icon = b_gui_ig_i_ic_c_fg_a_01_kirani;
		[skills]
		{
			strength 		= 1.13, 0, 10;
			dexterity 		= 1.04, 0, 10;
			intelligence		= 1.93, 0, 10;
            		ranged 			= 2,0, 0;
            		nature_magic 		= 2,0, 0;
			melee 			= 2,0, 0;
			uber 			= 4.46 0, 0;
			Female			= 0, 0, 1;
		}
	}
	[aspect]

amr_hlm_ribbons.gas, or whatever you've called yours.

[t:template,n:base_farmgirl_ribbon]
{
	doc = "ribbon base template";
	specializes = armor;
	[aspect]
	{
		[voice]
		{
			[put_down]
			{
				* = s_e_gui_put_down_helmet;
			}
		}
	}
	[defend]
	{
		armor_style = ulora;
	}
	[gui]
	{
		equip_requirements = Female:1;
		equip_slot = es_head;
		inventory_height = 2;
		inventory_width = 1;
	}
}

And finally the formulas.gas file, scroll down to this section and add the green extra text.

[skill*]
	{
		name	= "Combat Magic";
		screen_name	= "Combat Mage";

		max_level = 180;

		str_influence = 0.13;
		dex_influence = 0.17;
		int_influence = 0.7;

		[level_up_indicator*] {	level_range	= 1-5;		script = dmagic_up_locked1, bip01; }
		[level_up_indicator*] {	level_range	= 6-10;		script = dmagic_up_locked2, bip01; }
		[level_up_indicator*] {	level_range	= 11-20;	script = dmagic_up_locked3, bip01; }
		[level_up_indicator*] {	level_range	= 21-250;	script = dmagic_up_locked4, bip01; }
	}
	[skill*]
	{
		name	= "Female";
		screen_name	= "Female";

		max_level = 1;

		str_influence = 0.0;
		dex_influence = 0.0;
		int_influence = 0.0;
	}
}

///////////////////////////////////////////////////////////////////////////////
// experience_table

And before anyone says I knew all that you prawn, I thought it might be useful to anyone who didn't, okay, you prawn. An example of a pink ribbon is provided, you'll need to do this for any other color as well, I've got 6 colors of them which took a whole day + another set that is for later levels, yep, I almost ended up in the funny farm drooling from the mouth whilst wearing a strait jacket.

[t:template,n:he_ribbon_pink_avg]
{
	doc = "wig";
	specializes = base_farmgirl_ribbon;
	[common]
	{
		screen_name = "Pink Ribbon";
	}
	[defend]
	{
		armor_style = pink;
		armor_type = head-ribbon;
		f defense = 4.000000;
	}
	[gui]
	{
		inventory_icon = b_gui_ig_i_a_hlmt_ribbon_pink;
		inventory_height = 2;
		inventory_width = 1;
	}
	[pcontent]
	{
		[base]
		{
		  f modifier_max = 0.000000;
		  f modifier_min = 0.000000;
		}
		[c_fin]
		{
			armor_style = pink;
			armor_type = head-ribbon;
		  f defense = 6.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_pink;
		  f modifier_max = 2.000000;
		  f modifier_min = 1.000000;
		}
		[c_mag]
		{
			armor_style = pink;
			armor_type = head-ribbon;
		  f defense = 18.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_pink;
		  f modifier_max = 7.000000;
		  f modifier_min = 5.000000;
		}
		[c_str]
		{
			armor_style = pink;
			armor_type = head-ribbon;
		  f defense = 11.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_pink;
		  f modifier_max = 4.000000;
		  f modifier_min = 3.000000;
		}
		[o_avg]
		{
			armor_style = pink;
			armor_type = head-ribbon;
		  f defense = 8.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_pink;
		  f modifier_max = 2.000000;
		  f modifier_min = 1.000000;
		}
		[o_fin]
		{
			armor_style = pink;
			armor_type = head-ribbon;
		  f defense = 10.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_pink;
		  f modifier_max = 4.000000;
		  f modifier_min = 2.000000;
		}
		[o_mag]
		{
			armor_style = pink;
			armor_type = head-ribbon;
		  f defense = 23.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_pink;
		  f modifier_max = 8.000000;
		  f modifier_min = 6.000000;
		}
		[o_str]
		{
			armor_style = pink;
			armor_type = head-ribbon;
		  f defense = 14.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_pink;
		  f modifier_max = 6.000000;
		  f modifier_min = 4.000000;
		}
	}
}


I think that's every file I edited covered, the only thing now is to get this pcontent sorted out.