AI Heroes in Instant Action (uses "Hero" system)

New maps and mods are coming out quickly. If you release something (even a beta) please post it here. Be sure to give details in the topic such as Map/Mod name and version

Moderator: Moderators

archer01

AI Heroes in Instant Action (uses "Hero" system)

Post by archer01 »

I didn't get much of a response about the demo module in the WIP forums, so I decided to create the ultimate "test module"...

This mod edits the game's Original maps so that the AI uses the hero unit for each team (at least when the player isn't using them). Try it out, and see if it runs correctly.

The download link (I just hope FileFront is working correctly):
http://files.filefront.com/AIHeroSuppor ... einfo.html

NOTE: This mod does not affect modded maps in any way. It only changes the game's original maps.



Here's the readme:
------------------------------------------------------------------------------------------------------------
- AI Hero Support Conversion for StarWars Battlefront 2 -
Version 1.3
Mod by Archer01 (Theodranis)
Email: *********
Date: Sept 18, 2006
-----------------------------------------

Description:
This mod changes the original packaged maps so that the AI will use the hero units for each team.

Installation:
Copy the "ZZZ" folder into the game's addon folder

Usage:
Run the game's original maps. <----!!!!

Uninstallation:
Remove the "ZZZ" folder from the game's addon folder


*Note1: I haven't tested every mode (or even map) in this mod. If a mode/map doesn't seem to work as expected, it's probably I just didn't get a name right or something. Please inform me so I can fix it (use GameToast if possible).

*Note2: I've tested this mod in host mode on the LAN configuration, but it has not been tested in a match where other players have joined.

Legal stuff:
This modification and all included files should not be distributed without my permission except in the case of publicly accessible free download websites (Filefront, etc) and only if all associated files are included. It runs fine on my system, but if something does go wrong, I'm not responsible for any damages involved. THIS MODIFICATION IS NOT MADE, DISTRIBUTED, OR SUPPORTED BY LUCASARTS, A DIVISION OF LUCASFILM ENTERTAINMENT COMPANY LTD. ELEMENTS TM & (C) LUCASARTS, A DIVISION OF LUCASFILM ENTERTAINMENT COMPANY LTD.

------------------------------------------------------------------------------------------------------------
and a couple screens:
http://i62.photobucket.com/albums/h83/t ... t_0028.jpg
http://i62.photobucket.com/albums/h83/t ... t_0023.jpg


*Edit:
More screenies that I captured while testing in Instant Action mode (I like screenshots :D ):
http://i62.photobucket.com/albums/h83/t ... t_0004.jpg
http://i62.photobucket.com/albums/h83/t ... t_0022.jpg
http://i62.photobucket.com/albums/h83/t ... t_0035.jpg
http://i62.photobucket.com/albums/h83/t ... t_0036.jpg




To Mappers/Modders, the lua is here:
http://www.gametoast.com/viewtopic.php?t=7088
Last edited by archer01 on Sat Oct 07, 2006 8:57 pm, edited 5 times in total.
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

RE: AI Heroes in Instant Action (uses game

Post by Rekubot »

I didn't find any bugs, apart from the fact that it says when a hero kills someone, which I kinda like. Hope you release this script soon, it could be very useful for future maps ;).
Rockwind

RE: AI Heroes in Instant Action (uses game

Post by Rockwind »

woot i have dreamed for a mod like this lol. Hey remember in battlefront 1 when it used to say darth vader has entered the battle. Oh i loved that. I think we need this in next verson of battlefront 1 conversion pack,
Darth_Killius

RE: AI Heroes in Instant Action (uses game

Post by Darth_Killius »

it does work only on original maps so not on mod maps
Space-Rebel-Pirate-Thing

Post by Space-Rebel-Pirate-Thing »

DUDE, like this kicks arse!

Thank you for making this. It was needed.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Epena »

Huzzah, I gotta try this out. I lova ya Archer! :P

My only gripe is the ruined onlineness, but, yeah. It's not too hard to move ZZZ to desktop.
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Post by The_Emperor »

This is great!
yodasoda

Post by yodasoda »

man archer you've made some of the best mods/maps ever! keep it up
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

Post by Hebes24 »

Sounds interesting Archer. :) But, how well does it work with mod maps? I will probably download when I get home from school. :D
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Epena »

Alrighty, I've played it and enjoyed it but here's a few suggestions for improvement. If it's possible it would be great. Knowing you, thre's likely going to be at least two versions, so..

One thing that annoyed me alot is the respawn time. If possible, set it to 30 or 45 seconds. The constant repawn makes them unavoidable, even when you kill them. :( Remember BF1? If you managed to kill them (another reason why bespin platforms rocked lol) they'd appear later, not immediately.

Make the CP that they spawn from random. You're trying to capture a CP, kill the hero and half a second later they're back there hacking you apart or shotting you in the faceplate.

Other than that it's a very enjoyable mod! Jolly good fun...
Darth_Killius

Post by Darth_Killius »

i dont now if i should download it, does it works with mod maps and if no does it crashes them or something?
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Post by Xavious »

Awesome I'm downloading.
Lord_Wyrven

Post by Lord_Wyrven »

All we need now is one that adds the B1 Battledroid to the Clone Wars Era and we're all set. I'll download now, if I'm not still on dial up speed.
davidc95

Post by davidc95 »

:emp:
Wadi

Post by Wadi »

I love it! I especially love fighting Palpatine...put saber block on, and then watch his lightning TK all the imperial troops!One last thing, can you maybe try to make the AI (if you haven't already) try to choose the hero's before any other units, so if you like, you can stick it on 1 AI per team and have solo hero battles? That would be great.
Vauris

Post by Vauris »

It appears not to work in consecutive battles. I've tried to play Galactic Conquest with this mod in, but it keeps crashing me.
Darth_Killius

Post by Darth_Killius »

wadi maybe you can play single hero battles put AI count to 1 maybe it will work
archer01

Post by archer01 »

Well I'm back, after several days without an internet connection! I hope I won't lose access to the net again, but I can't be sure I won't...


Anyway, I glad you guys seem to like the mod/script. Having no net connection, I used the time I would have spent browsing on improving the hero script. I've added a few new options (one being the adjustable spawn time for the heroes :D ), and hopefully I've made it better than before. The new additions add more timers and callbacks to cover the new functionality, so I hope it won't cause a problem on slower systems (it shouldn't, but you never know...).

...and as Epena guessed, I've also updated the AI mod too:
*EDIT: Quicky update, added a spawn location randomizer
http://files.filefront.com/AIHeroSuppor ... einfo.html

I think I'll take the chance and release the script. I imagine it will take a while for anyone to actually release a map that uses it, so if some issue does crop up it is very easy to remove the script, so it wouldn't be a problem for the mapper to do so.

To address some of the issues brought up:

"Immedate hero spawn" - (Fixed) Now the default time is 25 sec, but this can be changed by the mapper from their own script.

"Doesn't work in conquest" - I didn't test the first version of the script in conquest, but I have tested the latest version. It seems to run fine. Try it out and see if it's okay.

"Messes up multiplayer" - I was considering this mod to be in the same class as a "side mod" (messing with the original game files), but if you want me to change it so they are their own entries in the map list, I can do that easliy enough.

"Random spawn location" - I've been thinking about adding this. I just haven't gotten around to it yet. :wink: *EDIT: Quickly added it in (but be warned, it has had only minor testing)

"1 on 1 hero battles" - I'm not sure if you noticed, but one of the "glitches" of this mod is that the hero unit is an "extra" bot on the map. If 16 bots were selected, the hero will be number 17. This is because of the way the game handles character spawning. As near as I can tell, once a character dies a new bot is "queued" for spawn right away. Even if another bot is "force spawned" in, the queued bot will still spawn once their time is up. Unfortunally, I've considered 'zero bots' a special case and I stop the hero spawn in that situation. The script can be told to ignore the bot count if you wish, and will still spawn the heroes even if the bot count is zero, but that is up to the mapper. Do you want me to setup the maps to ignore the bot count?


Is that it, or did I miss something?

*Edit:

"Only effects the original maps, not modded maps" - Yes, because it's a script that the map's lua has to start. I just augmented the original maps to use it.
Wadi

Post by Wadi »

If you could setup the maps to ignore the bot count, that would be great. I don't think it would affect gameplay in any other way, would it?
-=DE=-Nade_Master

Post by -=DE=-Nade_Master »

Woot. Downloading it now. Ive been waiting for something like this. Archer01 I'm keeping my eye on ur mods.
Locked