Cerez Posted July 12, 2014 Share Posted July 12, 2014 How would one disable the use of Force powers for a particular bot (e.g. a battle droid)? I have the following set in the JKB file, but the result is still that the bot is pushing and pulling with the Force: GeneralBotInfo { forceinfo 1-2-000000000000000000 } I've tried setting the rank to 0, but it didn't seem to make a difference. Is it at all possible to disable the use of Force for only certain bots? Link to comment
Cerez Posted July 13, 2014 Author Share Posted July 13, 2014 After researching this in detail and analysing the original game assets I realised that the MP game is simply designed to use force powers no matter what. Changing the rank only seems to affect the amount of force points a bot can use for the assignment of their Force powers. There doesn't seem to be a way to turn off a bot's use of Force powers other than setting all bots to have no Force on the server. Link to comment
Apprentice Posted July 13, 2014 Share Posted July 13, 2014 Perhaps you can do something with the force points. IMHO no points = no force abilities !?!? Link to comment
Cerez Posted July 13, 2014 Author Share Posted July 13, 2014 Tried it. That's why everything is zero in the forceinfo values above. Unfortunately the game has a mind of its own and assigns certain Force powers regardless. Link to comment
therfiles Posted July 13, 2014 Share Posted July 13, 2014 @: Not sure if this will work but try 7-1-010000000000000110 as the force info. I just randomly downloaded a JKB maker and it gave me that when I attempted to set all force to 0...couldn't tell if it worked (away from modding PC). Good luck! Link to comment
Cerez Posted July 14, 2014 Author Share Posted July 14, 2014 @: Not sure if this will work but try 7-1-010000000000000110 as the force info. I just randomly downloaded a JKB maker and it gave me that when I attempted to set all force to 0...couldn't tell if it worked (away from modding PC). Good luck! Nope, this unfortunately only makes them wield a saber in addition to using the Force… There doesn't seem to be a way to adjust the bot's HP, either. It seems the game really determines these factors, not the JKB or BOT files. Link to comment
Jeff Posted July 14, 2014 Share Posted July 14, 2014 I messed with this along time ago with little to no success, but take a look at the ugnaughts bot file, he tends to not use the saber but I can't rmember if he uses force or not. Link to comment
Cerez Posted July 14, 2014 Author Share Posted July 14, 2014 Yes, no saber use can be achieved by giving "saberspecialist" a zero and setting all the saber-specific "forceinfo" values to zero, as in this instance: forceinfo 7-1-000000000000000000 If I remember correctly, the last three zeros here are the saber skills for attack, defend, and throw. Then the bot will resort to only using a gun, but it will still persist in using Force Pull and Push. :/ Even the Ungnaught does it... Link to comment
Mysterious Stranger Posted July 14, 2014 Share Posted July 14, 2014 Perhaps you could look into what g_jedivmerc imposes on the weapons-only team and see what you could do from there. Link to comment
Solution Cerez Posted July 14, 2014 Author Solution Share Posted July 14, 2014 Okay, I did some digging around and I've found the following: http://forums.filefront.com/sw-jk3-modding-mapping-editing/247152-bots-no-force.html It seems Force Pull and/or Force Lightning are hard-coded into the base MP game itself, and the bots resort to it if they have no other Force powers. That said, there is a way to disable Force powers for all bots (and still retain the player's Force powers): seta bot_forcepowers 0 //Disables the use of Force powers for all bots (set to 1 to re-enable). So if you wanted to create a server with say only battle droids as bots (that actually behave like battle droids), you could use this setting to disable their powers. Couple that with an edited JKB file (1-2-000000000000000000), and you have something decent. It's not ideal, but it's something. Source: http://www.lucasforums.com/showthread.php?t=69455 EDIT: Note that if applied in-game, you need to reload the map in order for the settings to take effect. On the side: This actually creates a nice little concept for a TEAM FFA battlefield map where the clones take on the battle droids, and the Jedi can take part, too, as player characters. Apart from the battle droids' ability to jump slightly it's actually quite faithful to the movies/series. Even General Grievous could be included as a lightsaber bot with no Force powers. http://postimg.org/image/qgyet0zed/http://postimg.org/image/xcqzchugp/http://postimg.org/image/pboz4jofj/http://postimg.org/image/ayvj684fj/ Omicron and Jeff like this Link to comment
Apprentice Posted July 14, 2014 Share Posted July 14, 2014 It seems Force Pull and/or Force Lightning are hard-coded into the base MP game itself, and the bots resort to it if they have no other Force powers.Maybe it's an idea to modify that behaviour within the OpenJK project ?? Link to comment
Omicron Posted July 14, 2014 Share Posted July 14, 2014 Maybe it's an idea to modify that behaviour within the OpenJK project ??Could be quite a good thing to add, making it a cvar like g_oldBotBehavior or something Link to comment
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