Jump to content

Power lock feature of JK2


Recommended Posts

Posted

%C1%A6%B8%F1_%BE%F8%C0%BD.png?type=w1

 

In JK2, at the beginning of 'Nar Shadda Street' mission, there's a lock of all of attack and force powers.

I couldn't take out any weapons and use any force powers.

The only thing I can do was just running around and walking.

There were no movement when I click any of mouse and keyboard buttons. It was not working!

 

1. What is this feature? Power lock system?

I looked it in NOVA, too. When Nova entered Cantina in Tatooine with Jan, she couldn't do any attack movement by mouse and keyboard.

 

2. Is there a way to activate this feature? I want to use it.

And also if the way exists, is there a way to deactivate this feature?

Smoo likes this
Posted

It was a script built into the mission. I recently looked into this while learning scripting.

 

I believe it's this line in the script that does it:

set ( /*@SET_TYPES*/ "SET_PLAYER_LOCKED", /*@BOOL_TYPES*/ "true" );
Smoo likes this
Posted
  On 8/10/2016 at 1:44 PM, Circa said:

 

It was a script built into the mission. I recently looked into this while learning scripting.

 

I believe it's this line in the script that does it:

set ( /*@SET_TYPES*/ "SET_PLAYER_LOCKED", /*@BOOL_TYPES*/ "true" );

Can I activate this by cheat code?

Posted

You can run a script through the console to do this.

 

Download the pk3 below and put in your base folder. Then you can run the following:

 

http://circa.im/files/jka/lock_unlock.pk3

 

To lock the player:

 

runscript player lock

To unlock the player:

 

runscript player unlock

And you can bind those to keys if you want. Still not sure why you'd want this outside of scripting a level, but whatever. :P

Posted
  On 8/10/2016 at 5:31 PM, Circa said:

To lock the player:

 

runscript player lock
To unlock the player:

 

runscript player unlock
And you can bind those to keys if you want. Still not sure why you'd want this outside of scripting a level, but whatever. :P

 

I've tested it and its' effect was 'very' good.

The 'very' means that it blocks all of Jaden's movement.

Power lock effect was good but I couldn't run and walk for a distance. I can't move Jaden!

Posted
  On 8/12/2016 at 1:54 PM, Circa said:

That's how it is in the image you posted, from JK2. :P I can remove that part of the script if that's not what you wanted.

 

http://circa.im/files/jka/lock_unlock2.pk3

It's been fixed Cicra. It's the same as Kyle Kartan in JK2 in Nar Shadaa street cantina.

With this, I don't have to worry about hurting npcs.

Smoo likes this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...