Capturing the drama and epic conflict of Star Wars, Battlefront II brings the fight online. Attention to detail and scale make this game a joy to behold, with 16 incredible new battlefronts such as Utapau, Mustafar and the space above Coruscant, as well as the Death Star interior and Tantive IV, Princess Leia's blockade runner seen at the beginning of the original Star Wars.

Add file Report AI Hero Script
Filename
AIHeroScript.1.zip
Category
Script
Uploader
Rayman1103
Added
Updated
Size
31.65kb (32,409 bytes)
Downloads
193 (7 today)
MD5 Hash
74b52c0524e738d8d83b44a3b0afd7d2
Embed Button
Embed Widget
Description

This is a user_script mod that enables AI Heroes on all maps. AI Heroes aren't able to enter any vehicles or turrets. The script will not activate when playing Campaign, Galactic Conquest or on a map which already uses Archer01's AI Hero Support.

Preview
AI Hero Script
Comments
DarthSith
DarthSith

So whats the diference between some of the other scripts apart from the VOs which i do enjoy hearing with this mod?
Also nice job on creating this aswell dude :)

Reply Good karma Bad karma+1 vote
Rayman1103 Author
Rayman1103

Hey, thanks. Hope you'll enjoy the script!

There's no difference between "user_script_11.lvl" or "user_script_12.lvl". Those files are the same, the reason I included _12 was in-case someone was already using _11 from another mod.

And like you know, "_novo" versions just wont have the VoiceOvers play when AI Heroes spawn or get defeated.

Reply Good karma+1 vote
darthpepo1
darthpepo1

i assume this just works on vanilla maps, right?

Reply Good karma Bad karma+1 vote
Rayman1103 Author
Rayman1103

This works on all maps, including custom maps too.

The only time the script wont run on a custom map, is if the map's using Archer01's AI Hero Support.

Reply Good karma+2 votes
Alduin1996
Alduin1996

Thanks for making this. Could you comment on if it is possible to space out the spawns? It is just when a game first starts both sides instantly spawn a hero in and it overlaps the dialogue

Reply Good karma Bad karma+1 vote
Rayman1103 Author
Rayman1103

Hi. Are you talking about making it so Team 1's Hero spawns, then x seconds later spawn Team 2's Hero? Or are you talking about delaying the initial spawn when first starting a map?

Because you can change the initial spawn delay yourself, since this mod reads settings from the Hero Settings menu. If you leave the Hero Unlock at "Points", then it defaults to 5 second spawn delay. But if you set it to "Time", it'll use the value from the Time slider, so you can set it to 10 or 30 second delay, etc.

Same can be done for Hero Respawn, you can set it to anything from Always to Never.

Reply Good karma+2 votes
Alduin1996
Alduin1996

Hi I am talking about the initial spawns when first starting a match

Reply Good karma Bad karma+1 vote
Rayman1103 Author
Rayman1103

Ah okay. Yeah if you go to Hero Settings on the left-side of the map select page in-game, you can switch the Hero Unlock Rule to Time, and then you can change the slider to whatever time you want. That way they can spawn 15 seconds after initial spawn, etc.

Reply Good karma+1 vote
Alduin1996
Alduin1996

Thank you

Reply Good karma Bad karma+1 vote
Guest
Guest

Great mod Ray I think I posted my mod wrong though since with the script only one side (my side) gets an ai spawned hero, am I doing something wrong or could be the custom map itself?

Reply Good karma Bad karma0 votes
Rayman1103 Author
Rayman1103

It could be the custom map, or it could be a bug in the script. Which map are you playing? I'll try to track down the map so I can test it out myself and see what's wrong.

Reply Good karma+1 vote
Guest
Guest

Sorry it took me a while to respond I was testing each and every map of the normal and the conversion pack maps they work just fine. I tested some outside maps and he custom map I was playing was the one with the problem, false alarm. The script works just fine.

Reply Good karma Bad karma0 votes
Rayman1103 Author
Rayman1103

No problem, that's good to hear! Thanks for letting me know.

Have fun using the script. :)

Reply Good karma+1 vote
Guest
Guest

I'm afraid the script doesn't work at all for me. I have deleted all my other mods and it still doesn't work

Reply Good karma Bad karma+1 vote
DarthSith
DarthSith

Did u put the user script in your _LVL_PC files mods shouldn't really conflict with this as far as ik
Location: C:\Program Files (x86)\Steam\steamapps\common\Star Wars Battlefront II\GameData\data\_LVL_PC

Reply Good karma Bad karma+1 vote
DarthSith
DarthSith

Or maybe other scripts are conflicting with it maybe take out some of them and see if the issue lies there

Reply Good karma Bad karma+1 vote
Cyberctf346
Cyberctf346

Scripts go in an order. So if you are using user script 11 go to 12 is you are using 12 use 13 and so on and so forth. So it goes in numerical order.

Reply Good karma Bad karma+1 vote
Rayman1103 Author
Rayman1103

I've updated AI Hero Script and added more user_script files to choose from, as well as a way to optionally tweak some settings:

AI Hero Options:

I've added support for tweaking some settings by checking for optional files. This means you can change some things just by dropping in some files.
The following files would go in ...\GameData\DATA\_LVL_PC\AIHeroOptions

hero_override_on.txt - AI Heroes will always spawn regardless if Heroes are off in the in-game Hero Options page.
hero_override_off.txt - AI Heroes will never spawn regardless if Heroes are on in the in-game Hero Options page.
hero_vo_off.txt - The VoiceOvers will never play when AI Heroes spawn or get defeated.
NoForcePowers.lvl - AI Heroes will not use Saber Throw or Force Lightning.

Reply Good karma+1 vote
Cyberctf346
Cyberctf346

Thanks for the options

Reply Good karma Bad karma+1 vote
titanbass1
titanbass1

Thank you so much for putting this up! I only saw this option with the Ultimate Pack 5.4 and the author did not want to share such an ingenious script. The additional scripts are very much appreciated for those using the skin changer mod or others. Fantastic work.

Reply Good karma Bad karma+2 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Star Wars Battlefront II
Platforms
Windows
Developer & Publisher
LucasArts
Engine
Zero Engine
Contact
Send Message
Homepage
Lucasarts.com
Release date
Game watch
Follow
File
Browse
Files
New
Add file
Report
Report
Share
Related Games
Star Wars Battlefront II
Star Wars Battlefront II First Person Shooter
Related Engines
Zero Engine
Zero Engine Proprietary
Related Groups
LucasArts
LucasArts Developer & Publisher
Tags