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

Add new comment

PhoeniX wrote:
. . .
Am also studying how you changed Keirnan from a quest npc to a hireable character and will try to see if I can get her to join without an "autojoiner" block in the template.

That's quite possible. You could replace/update Drianjul's conversation so it's a able to perform the hiring action, also her existing talk flick could be modified for any post-hiring tasks.
You should examine once how Deru will be hired, so maybe start with the actor.gas file of Eirulan. You will find there the names of the required conversations and the flick file.

A minor problem however is the [cmd_change_property_owner] component. If you intend to put all in one mod then you should not remove this component from her template (it's needed for the quest here).
As rough work-around for the moment, just add [cmd_change_property_owner] { } in her template and specify its properties in world/maps/ds2x_world/regions/x2_01_elftown/objects/actor.gas instead:

[t:ds2x_x2_01_drianjul,n:0x20400049]
{
	[cmd_change_property_owner]
	{
		state1_change_visible = true;
		state1_change_selectable = true;
		state1_change_disable_mind = true;
		state2_change_visible = true;
		state2_change_selectable = true;
		state2_change_disable_mind = true;
	}
	[conversation]
	{
		talk_flick = x2_01_drianjul_talk;	// TUNED FOR/AFTER HIRING

		[conversations]
		{
		//	* = drianjul_base;
		// EXPANDED+NEW CONVERSATIONS:
			* = drianjul_base_hire;
			* = conversation_drianjul_accept;
			* = conversation_drianjul_disband;
			* = conversation_drianjul_disband_rejoin;
			* = conversation_drianjul_join;
			* = conversation_drianjul_reject;
			* = conversation_drianjul_rejoin;
		}
	}
	[placement]
	{
	  q orientation = 0,0.991624,0,-0.129156;
	  p position = 0.692402,0.25,1.58563,0x83d7366f;
		use_point_scids = 0x204000AF;
	}
}

The conversations can exist in a separate file (e.g. conversations_drianjul.gas, in the 'conversations' folder).
Drianjul's flick file you should merge/expand with Deru's flick file. That's not much work, currently there's no hiring icon/indicator and you basically just had to replace the conversation name.