Suggestions for how to make the game harder via userscript?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
WiseKitsune
Recruit Womprat Killer
Posts: 8
Joined: Sun Sep 25, 2016 3:57 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Suggestions for how to make the game harder via userscript?

Post by WiseKitsune »

As some of you may know, I'm working on a script to make single player mode harder such that the player has to work hard for victory, even when using modded units or possibly even when having permanent access to heroes. A goal for this script is that you can adjust the settings to increase the difficulty as much you want to instead of it being hard coded.

I've tried making the enemy team bigger. This seemed to work well in campaign (Example, utapau and mygeeto campaign are unbeatable with 200 extra droids to deal with), but in conquest it didn't matter.

In space, I tried launching extra enemy fighters, but the AI flies so horribly that even with 20+ extra fighers the auto turrets were still more of a threat. Although the enemy team was getting non critical system points slightly faster, its nothing a dedicated attack run from a human player can't easily outstrip.

Any suggestions on what I can try next are welcome.
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Suggestions for how to make the game harder via userscri

Post by AnthonyBF2 »

Here are a list of difficulty commands that I know of:

DisableAIAutoBalance()
SetAIDifficulty(10,10,"medium")
SetAIDifficulty(10,10,"hard")
SetTeamAggressiveness(ALL, 1.0)
SetTeamAggressiveness(IMP, 1.0)
SetDefenderSnipeRange(170)
SetAttackerSnipeRange(170)

The last two aren't really difficulty commands but it does determine how far away snipers will shoot at enemies, which could be considered a difficulty improvement.

The commands with ALL and IMP can also take ATT/DEF (Attacking and Defending teams) or 1/2 (Teams 1 or 2)
WiseKitsune
Recruit Womprat Killer
Posts: 8
Joined: Sun Sep 25, 2016 3:57 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: Suggestions for how to make the game harder via userscri

Post by WiseKitsune »

Thank you very much, your hint about SetAIDifficulty() led me to figure out something that works a lot better then everything else I've done so far.
Post Reply