Jeff Posted July 1, 2014 Posted July 1, 2014 Is it possible to edit the saber file to restrict force use and if so what is it. What I want is to be able to use a sword without the player using force powers while using it.
Barricade24 Posted July 1, 2014 Posted July 1, 2014 If I remember correctly force powers can be disabled if you use the NPC tool and spawn someone with no force abilities what so over. I'm not sure if that is exactly what you are after. But I am quite sure what you are asking is indeed possible in some fashion.
Futuza Posted July 2, 2014 Posted July 2, 2014 Not through the saberfile (at least that I'm aware of), you'd have to go some other route, probably code I think. I assume this is for singleplayer? Just have a trigger or something to set the players force to 0, once the saber is obtained. BTW, do you want player to still have force jump?
Jeff Posted July 2, 2014 Author Posted July 2, 2014 Not through the saberfile (at least that I'm aware of), you'd have to go some other route, probably code I think. I assume this is for singleplayer? Just have a trigger or something to set the players force to 0, once the saber is obtained. BTW, do you want player to still have force jump? Force jump is fine , I just don't want the player using push, pull, etc.
Solution therfiles Posted July 2, 2014 Solution Posted July 2, 2014 You can...kind of. Looking at this amazing wiki article, there is a short section on force restrictions: forceRestrict a power to restrict if twoHanded is set to 1. The cvar g_saberRestrictForce may have to be set to 1. Enter the key multiple times to block multiple powers:FP_HEALFP_LEVITATIONFP_SPEEDFP_PUSHFP_PULLFP_TELEPATHYFP_GRIPFP_LIGHTNINGFP_SABERTHROWFP_SABER_DEFENSEFP_SABER_OFFENSEFP_RAGEFP_PROTECTFP_ABSORBFP_DRAINFP_SEE Basically, if you say "hey, this saber needs two hands to wield", then it doesn't make sense for the user to be able to preform these force powers, commonly associated with a hand motion. But it looks like you need a cvar set to 1 in order to enable this feature. Usage: forceRestrict FP_SEE
Jeff Posted July 2, 2014 Author Posted July 2, 2014 Thanks that's what I was looking for You can...kind of. Looking at this amazing wiki article, there is a short section on force restrictions: Basically, if you say "hey, this saber needs two hands to wield", then it doesn't make sense for the user to be able to preform these force powers, commonly associated with a hand motion. But it looks like you need a cvar set to 1 in order to enable this feature. Usage: forceRestrict FP_SEE Thanks that's what I was looking for. It's kinda amazing how many different functions the saber file has. Thanks again. therfiles likes this
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now