Jump to content

Home

Use of force choke on non hostile npcs


Darth333

Recommended Posts

In the cantina on Tatoine, the pc (a least on DS) can force choke a man during a conversation. I was wondering if it is possible to do the same let's say on a few annoying NPC's (per example, a few arrogant Selkaths and those sith who mock you on Manaan). I don't want to kill them. Just teach them a lesson. If yes, could someone give me some indication as how to do this without having to turn the npc hostile?

 

I suppose i could use some of this but it's not exactly what i want. http://www.lucasforums.com/showthread.php?s=&threadid=125546

 

Is it possible to have the dlg file call a script that would cause the npc to be force choked?

 

Thanks

Link to comment
Share on other sites

Force Choking objects (or any other effect or animation) during a cutscene or dialogs are simple enough. I can help you with that. However, making the spells to be selectable just like while you are in combat without changing their faction id is another matter which I have never done before and have no knowledge of.

Link to comment
Share on other sites

Originally posted by gameunlimited

Force Choking objects (or any other effect or animation) during a cutscene or dialogs are simple enough. I can help you with that.

 

This is exactly what I want to do. I would really appreciate if you could help me with that.

 

Thanks.

Link to comment
Share on other sites

I think you could use the scripts that are used for that scene in the cantina on tatooine. I think all you would have to is write a dialog for the npc's that you want to be able to choke and attach the dialog to the utc. sounds easy enough.

 

I was thinking of doing this type of thing when I actually get into making new quests and rebuilding the DS options in dialogs. So that instead of extorting credits you get the option to scare them instead or drain their life.

Link to comment
Share on other sites

I assume you know how to call script from dialog. If so, here is the script for the choke effect:

 

void main()
{
  ActionPauseConversation();

  AssignCommand(GetFirstPC(), ActionCastFakeSpellAtObject(FORCE_POWER_CHOKE, OBJECT_SELF));
  //This line above is the line that calls for the animation of the PC

  //These few lines below is the animation for the choking effect on the target
  float fDuration = 3.0f; //Change this number for the duration of the choke effect in seconds
  float fSpeed    = 1.0f; //The speed of the choke animation
  ActionPlayAnimation(ANIMATION_LOOPING_CHOKE, fSpeed, fDuration);

  ActionResumeConversation();
}

 

Call this script from the ReplyList "Script" field in the dialog file.

Link to comment
Share on other sites

Let me work on it a little. What I did was just a quick test yesterday at midnight to see if the script works well and it does. I still have to change the conversations a little bit or it makes no sense. Will do it during the weekend and will e-mail it then. I was thinking to add this option on Manaan for the Selkath that stands near the sith girl who insults you, the sith trooper who laughes at you when you tell him who you are and Huxta Jax (swoop) when he makes threats.

 

However, the mod that lets HK-47 kill Yuka Laka is ready. if you want it just tell me.

Link to comment
Share on other sites

Glad it works, tell me if your mod is ready, I would like to give it a try. When I was creating that script, I was tempted to give the force power more nasty and cruel effects, lol. Would be cool if I can teach that Hutt some lessons, complete with lightning strike down his throat and lightsaber throw to cut him in half, mwuahahahah. :D :D

Link to comment
Share on other sites

Originally posted by gameunlimited

When I was creating that script, I was tempted to give the force power more nasty and cruel effects, lol. Would be cool if I can teach that Hutt some lessons, complete with lightning strike down his throat and lightsaber throw to cut him in half, mwuahahahah. :D :D

 

That is quite tempting. I would also fry a couple of annoying fishes. The idea of force choking is that the Manaan court would hold no evidence against you. Lets says that its a little more... discreet ;)

Link to comment
Share on other sites

Originally posted by lowiej

please send me the mod that kills yuka laka!

 

send it to jimmyjonson@hotmail.com

 

what other mods have you made?

 

Just sent the mod. For now, the only other mods I have are the Easy and Medium difficulty swoop racing mods. See this thread if you are interested:http://www.lucasforums.com/showthread.php?s=&threadid=124522

 

I'm also working on a recruitable Dustil mod (perhaps next week but I make no promises in that regard).

Link to comment
Share on other sites

hey, where do you find the animation lists?

 

i looked in animation.2da, but didn't find anything similar to what you posted: FORCE_POWER_CHOKE, or ANIMATION_LOOPING_CHOKE.

 

so how would you find animations like lightning, drain life, etc.?

 

also, i'm not sure if this is a given, but when you execute the script, does it automatically kill the target, or do you have to call a kill command?

 

i was trying to do two things:

1. get my character to lightsaber someone during a convo, killing them.

2. get my character to use force lightning or drain life or both on one or two characters, killing them.

Link to comment
Share on other sites

The Manaan Force choke mod is ready. It can be downloaded at:http://mars.walagata.com/w/darth333/ManaanFC.zip

 

I'm just a beginner with modding. I've tested the mod and it seems to run fine but if you have any problems, pls advise.

Read install instructions carefully (few new sound effects added - basically cut, paste and speed change of existing sound files).

 

There is one thing that is not as good as I wish with the Manaan mod. The force choke animation for Hukta Jax is not well centered.

Don't know if there is a way to fix that.

 

Any suggestions, tips and feedback are welcomed.

 

If you want you can also give HK-47 the possibility to kill Yuka Laka:

http://mars.walagata.com/w/darth333/YukaLaka.zip.

 

Oh! And before I forget: if you see any mistakes (spelling, grammar, wording) in the conversations, let me know as well. English is not my mother tongue.

Link to comment
Share on other sites

I tryed both out. I only managed to choke the selkath I couldn't get the dialog with the sith. Either I ended up in jail or I had to pay up front. I think there was one more option I didn't choose, so i'll just assume it works. :) I was going to choke Hukta, but it's been a while since I played the swoop race mini game that I suck( I kept going a few .30 sec. over)

 

About the Hk-47 one how come no DS points. I did just order him to kill yuka laka. :emperor:

Link to comment
Share on other sites

Originally posted by T7nowhere

I tryed both out. I only managed to choke the selkath I couldn't get the dialog with the sith. Either I ended up in jail or I had to pay up front. I think there was one more option I didn't choose, so i'll just assume it works. :) I was going to choke Hukta, but it's been a while since I played the swoop race mini game that I suck( I kept going a few .30 sec. over)

 

About the Hk-47 one how come no DS points. I did just order him to kill yuka laka. :emperor:

 

1. The sith that you can choke is not the girl but one of the sith in the group having argument with republic soldiers ( the one who calls you "moron" when you tell him you are Revan- i wanted to crush his neck since a long time! ).

 

2. About Hukta, you could try my EasySwoop Racing mod. Success guaranteed, effortless. It's here:http://jupiter.walagata.com/w/tianhou/EZswoop.zip

 

3. About HK-47: I forgot. Will work on it. :eek:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...