Jump to content

Home

what would the script be...


Master Orran

Recommended Posts

what would the script be if i wanted to give a character these thing in a dialog:

 

That depends on which game it is for. For KotOR2:TSL there are standard dialog action scripts in the game already that can be used from a dialog to accomplish most of those things. In KotOR1 you'll likely have to write your own scripts to do it (which isn't that difficult since those scripts would be fairly uncomplicated).

Link to comment
Share on other sites

o yeah i forgot. its for kotor 2.

 

There are some scriptsi n the game you can use in the "Script #" boxes in tk102's DLG Editor to accomplish these tasks. They generally require you to specify a parameter in one of the boxes to the right as well:

 

Task                    Script              Dialog script parameters
-----------------       ----------------    ----------------------------
Full darkside           a_givedark          [b]P1[/b]: DS points to give (100 is max)
Full Lightside          a_givelight         [b]P1[/b]: LS points to give (100 is max)
give a lightsaber       a_give_item         [b]String Param[/b]: Name of UTI file to give item from
full influence          a_influence_inc     [b]P1[/b]: Party member number to adjust (0-11)

 

The source code for all those can be found in scripts.bif with KotorTool if you want to see how they work more exactly.

 

As for adding a party member, depends on if you want to add one of the existing party members, or a new one created by a mod.

 

EDIT: Didn't you ask pretty much the same thing in this thread? I thought this seemed familiar... :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...