-
Content Count
397 -
Joined
-
Last visited
-
Days Won
17
Single Status Update
See all updates by Mephiles550
-
Is there a UTC file for trask? Like P_Trask.utc? Cause I can't find something like it anywhere. Is his equipment strictly script based?
- Show previous comments 1 more
-
If you look at the DLG for that cutscene, end_cut01.dlg, you'll see all the scripts that fire:
Browsing through those, it's a combination of two scripts that control equipping the sword. The actual creation and equipping of the sword is handled by his OnUserDefine, k_pend_trask_d, in Case 500:
case 500: RemovePartyMember(0); RemoveAvailableNPC(0); { object object6 = CreateItemOnObject("g_w_shortswrd01", OBJECT_SELF, 1); ClearAllActions(); ActionUnequipItem(GetItemInSlot(4, OBJECT_SELF), 0); ActionEquipItem(object6, 4, 1); ActionForceMoveToObject(GetObjectByTag("end_wp_traskdie2", 0), 1, 1.0, 3.0); } break;
That case is called in Entry1 by k_pend_cut14:
void main() { object oEnd_door19 = GetObjectByTag("end_door19", 0); SetLocked(oEnd_door19, 1); AssignCommand(oEnd_door19, ActionCloseDoor(oEnd_door19)); AssignCommand(GetFirstPC(), sub1()); SignalEvent(sub2(), EventUserDefined(500)); }
If you want to change the weapon he uses, you'll need to edit k_pend_trask_d, but if you want to change when he actually equips it, you'll need to edit the scripts that fire during the DLG.
- Show next comments 3 more