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

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in remember_me_form_alter() (line 78 of /var/www/siegetheday.org/sites/all/modules/contrib/remember_me/remember_me.module).

Calling all fairies, pixies and fae!

I like DarkElf's fairy textures and started making a few more myself.

So I was thinking maybe this code could be adapted to summon a random fairy. Same abilities with just a different appearance. It would be easy to make some additional actor templates to add to the summon fairy spell.


[t:template,n:spell_swamp_witch_summon]
{
	category_name = "magic";
	doc = "spell_swamp_witch_summon";
	specializes = base_spell_monster;
	[inventory]
	{
		[delayed_pcontent]
		{
			[oneof*]
			{
				[all*]
				{
					chance = 0.500;
					il_main = swamp_creature_summon;
				}
				[all*]
				{
					chance = 0.500;
					il_main = swamp_slinger_summon; 
				}
			}
		}
	}
	[magic]
	{
		cast_range = 10;
		cast_reload_delay = 1;
		caster_state_name = "Controlling Monster";
		effect_duration = 600;
		requires_line_of_sight = true;
		speed_bias = 1;
		target_type_flags = tt_conscious_enemy;
		usage_context_flags = uc_offensive;
		state_name = "Controlling Monster";
		require_state_check = true;
	}
	[spell_summon_random]
	{
		monster_summon = true;
		spawn_radius	= 3.0;
		effect_script = "summon";
		end_script = "un_summon";
		script_params = "[scale(1.75)]";
		description = "Summoned Creature";
		caster_description = "Controlling Summoned";
	}
}

blogs: 

Comments

like the idea of random fairies. but if you do random fairies you need to make ones that attack the good guys too. Evil

That sounds great kathy, can you make them go all the way as well?, and why not make some versions of a Sugar Plum Fairy as well?, the mind just boggles at what you may eventually come up with.

kathycf wrote:

I like DarkElf's fairy textures and started making a few more myself.

So I was thinking maybe this code could be adapted to summon a random fairy. Same abilities with just a different appearance. It would be easy to make some additional actor templates to add to the summon fairy spell.

[t:template,n:spell_swamp_witch_summon]
{
category_name = "magic";
doc = "spell_swamp_witch_summon";
specializes = base_spell_monster;
[inventory]
{
[delayed_pcontent]
{
[oneof*]
{
[all*]
{
chance = 0.500;
il_main = swamp_creature_summon;
}
[all*]
{
chance = 0.500;
il_main = swamp_slinger_summon;
}
}
}
}
[magic]
{
cast_range = 10;
cast_reload_delay = 1;
caster_state_name = "Controlling Monster";
effect_duration = 600;
requires_line_of_sight = true;
speed_bias = 1;
target_type_flags = tt_conscious_enemy;
usage_context_flags = uc_offensive;
state_name = "Controlling Monster";
require_state_check = true;
}
[spell_summon_random]
{
monster_summon = true;
spawn_radius = 3.0;
effect_script = "summon";
end_script = "un_summon";
script_params = "[scale(1.75)]";
description = "Summoned Creature";
caster_description = "Controlling Summoned";
}
}

without giving away too much of my current test run ... i will give a sneak of my spell coding i am testing...

[other] { il_active_primary_spell=spell_fireball_rain;
			il_spell_1 = spell_fireball_rain;
			il_spell_2 = spell_fireskull;
			il_spell_3 = spell_flame_blades;

just like all monsters they can have more than 1 spell

also in your example say you had like 4 fairies to summon u could do ..

[delayed_pcontent]
		{
			[oneof*]
			{
				[all*]
				{
					chance = 0.25;
					il_main = fairy1_summon;
				}
				[all*]
				{
					chance = 0.25;
					il_main = fairy2_summon; 
				}
			}
[all*]
				{
					chance = 0.25;
					il_main = fairy3_summon; 
				}
			}[all*]
				{
					chance = 0.25;
					il_main = fairy4_summon; 
				}
			}

seems cant edit my post so in addendum...

[spell_summon_random]
{
monster_summon = true;
spawn_radius = 3.0;
effect_script = "summon";
end_script = "un_summon";
script_params = "[scale(1.75)]";
description = "Summoned Creature";
caster_description = "Controlling Summoned";
}

should change to maybe

[spell_summon_random]
{
monster_summon = true;   // may need to change to false if it attacks hero but correct if making monster summons
spawn_radius = 3.0;  // prob should be 4 or 5 with 4
effect_script = "summon";
end_script = "un_summon";
script_params = "[scale(1.75)]"; // scale should be 2, 2.25, 2.5 or more fairies are really small
description = "Summoned Creature";
caster_description = "Controlling Summoned";
}

The edit and reply fields are just not working. It may get fixed in time. *crosses fingers* Smile

Thanks for the coding advice DE. Scaling up the size of the fairy is definitely something I want to do. If I'm spending time making textures why not make them easier to see also.

I'm not sure about mean fairies in addition to nice ones, elfy. I'm thinking of starting out with building upon Iryan's spell and adding some variety to the helper fairies. If I can get that to work properly then I would feel more comfortable doing other types of summons or w/e. I know somebody did a map w/ that had hostile fairies which was cool and if I remember correctly the "loot" barrels were mean as well.


Moros wrote:
can you make them go all the way as well?,



I'm not sure what you mean by this Moros. Go all the way as in populating entire landscapes or something? I'm sure I can do a Sugar Plum fairy. You would much rather have sugar plums than a nutcracker, right? OHMYGOSHTHATWASTERRIBLYRUDEOFME!! Forgive me, my friend.

Tongue

kathycf wrote:
I'm not sure what you mean by this Moros. Go all the way as in populating entire landscapes or something? I'm sure I can do a Sugar Plum fairy. You would much rather have sugar plums than a nutcracker, right? OHMYGOSHTHATWASTERRIBLYRUDEOFME!! Forgive me, my friend.

Tongue

Hmmmmm, "Go all the way" that doesn't sound like what I meant it to sound like, what I meant was you can summon a fairy at the start and let it gain experience in magic but without it being a party member, that sounds better doesn't it?.

Oooooo sugar plum fairies and nutcracker should never be in the same sentence unless there's a ballet dancer performing, it was suite of you to mention it though.

I'm sure that you mentioned once that you had a few years of ballet lessons under your tutu kathy, that wouldn't be you in the video by any chance would it?.

Moros wrote:
what I meant was you can summon a fairy at the start and let it gain experience in magic but without it being a party member



Seems cool, but I don't have the knowledge to make a summoned creature permanent and gain skills as an independent character who is only associated with the party. I think a summon that doesn't join the party would have to expire at some point. I guess using the skrit from the Summon Npc spell as a base to work from would help but my knowledge of skrit is shaky at best. Sad


Moros wrote:
Oooooo sugar plum fairies and nutcracker should never be in the same sentence unless there's a ballet dancer performing, it was suite of you to mention it though.

I'm sure that you mentioned once that you had a few years of ballet lessons under your tutu kathy, that wouldn't be you in the video by any chance would it?.




Nope, not me. I have dark brown hair, not blonde. Another good way to tell it's not me is if the dancer were sprawled on the floor after falling off her toe shoes. Naturally, the sprawling would be completely intentional (really!) and extremely graceful. Oh and by the way, toe shoes are an instrument of torture.

I've actually been to see The Nutcracker twice. The venue (in Boston) used to be called "The Metropolitan" but is currently known as the "Boch Center". Of course the name changes as whomever owns it at the time wants to name the place after themselves. Go figure.

The place was completely restored in 1983 and still looks very grand.