Script - (multimedia) Play A Speech
#1 Guest_Pete_*
Posted 22 June 2004 - 06:46 PM
I tried the preview key that is on the script, it just gives me a windows biiiiing sound hehe. The speeches will play fine when scripted in but i dont want to have to sort through fifty million speeches to find the ones i want, or start and stop CnC a zeeelyun times to listen to each of them and catalog them
Thanks for any help
hehe man im havin a great time rewriting all the scripts.
Pete
#2
Posted 22 June 2004 - 07:53 PM
Anyway, look in the AudioEnglish.big or AudioEnglishZH.big for ZH.. you need a .big extractor, this thread contains the link to it.
#3 Guest_Pete_*
Posted 22 June 2004 - 08:34 PM
If i ever see you i will have to buy ya a drink of whatever you drink
HEHE im havin fun now - in not only writing scripts that can beat my buddies that are playtesting it for me,, but now im gonna add the taunts from the generals challenge heheheheheheh
Thanks man
Pete
#4
Posted 23 June 2004 - 08:05 AM
Your AI sounds very effective already! Did you finish writing all those superweapon detection scripts? They went into the thousands didn't they..
#5 Guest_Pete_*
Posted 23 June 2004 - 06:03 PM
The AI is coming along
Being a noob i still have a lot to learn about how things work in the software. But, this is something i always wanted to do so i figured why not start now
Yeah the Superweapon scripts are at about 4000 per general. I have it detect who its enemy is, then it detects what that enemy has built, and then it targets and fires on the enemy based on what it finds. It works great hehe my buddies were so used to a predictable AI superweapon it threw them for a loop.
I also added AA teams and anti tank teams. they upgrade fine and hunt accordingly.
BUT
I dont really like what is available to build the base defenses. I.e. using the script build "blah" on front or flank. So i started toying with other functions to build the base defenses the way i like them. I found a way to do it but its gonna take re-writing the whole Build conditions scripting.
I have written in scripts so the AIs will go for tech and man buildings in strategic spots more aggressively. (lol rocketguys , in buildings , in the center, quickly, are a fun surprise to watch my buddies run in to )
So FAR. everything has been done with scripting. I would love to add a second air field to the build list of some of the armies - most specifically china armies - but i have not dallied with the INIs yet. I have however added a few juicy taunts from the tank general in generals challenge to the game that guy is fun.
oh yeah, i toyed around with upgrading helix's with bunkers and loading them with rocketguys. have not got all the bugs worked out of that one yet but the helix hunting teams work great,, and these teams take the bite out of the USA autolockingrocketwieldingpunksfromhell
I totally tore apart all the object lists, i wrote scripts for all the units more specific to what i thought they would do best. rewrote priority lists for those new object types also. I have a few more i want to split off into their own object type still,,, for example toxin tractors and dragon tanks,, they are their own type of vehicle and should attack accordingly IMO
I have to admit yourself and "Somebody" have been a great help. I just look for threads you guys are in now on all the forums Its pretty easy to tell after reading a few forums who is trolling around for fixes and who knows their stuff.
lol Old man, old man pete, pete,,, doesnt matter. i guess i should stick with one though
#6
Posted 24 June 2004 - 08:15 AM
Hmm I must admit making a very specific object lists for attack priority on a unit-only basis sounds very effective and humanlike! Think.. USA missile defenders are more dangerous than GLA RPG soldiers aren't they? Very good.
BTW I'm working on an "enhancement module" for the SDI which is basically a .scb file that anyone can import into their ZH AI and adapt the enhancements for teams or specific factions. Would you mind if I implement your object-list-unit-only basis idea into it? You'll be mentioned of course.. pete, old man pete, whatever
#7 Guest_Pete>Old man> Old Man Pete_*
Posted 24 June 2004 - 05:25 PM
There are quite a few ideas I am still in the process of working out. and being so new it takes a while hehe still learning my way around the software let alone writing scripts hehe i just found the WB tut and read over sequential scripts again cuz they are kind of biting me in the lag buttocks at times :rolo:
I think i have a way to make the AI build defenses where you want them to when you make a few basic designs to the map. still testing this one, its working so-so, so far
Im trying to make sure that the fixes i make in the scripting can be used by anyone with a few additions to any map.
So far still not one INI mod so all the script mods i incorporate will be able to be used anywhere
I Kind of got sidetracked having fun with the wavs from the generals challenge
After downloading and looking at some of the AI script mods out there. I am quite pleased with what i have come up with so far especially considering how new i am to it and all
#8
Posted 25 June 2004 - 07:59 AM
If you want the AI to garrison the battle buses you will have to give them a TRANSPORT flag in their kindof, thus in the INIs. No problem though as you can put the INI files in the Data\INI\Default\ directory, you will just need an installer once your AI is out
Once you are done you will need a host I'd guess. The SDI could host you if you want - if you want a forum and site and all you can probably ask The Hive
Just some tips that are quite too early yet
#9 Guest_Guest_*
Posted 25 June 2004 - 06:36 PM
I guess other than personal satisfaction, or glory, there is really no other reason to have them sponsored is there? I mean EA or someone isnt gonna look at them and go "hey, those are pretty. good get him over here.", are they?
Well i have all the little quirks worked out the the SW scripts and am importing them to all the other generals, jeeeeeeez im nevah doin this again I lie too hehe,,, 2 hours to click click click all the specific general stuff just for one general,,, and USA just had to have more SW-Gen POW options than the one i set up using china
gah had to take a break from the click, click, clickotony ( hehe my new word for clicking monotonously)
#10 Guest_DeeZire_*
Posted 04 July 2004 - 03:58 PM
It works for me anyways, but my WB version is slightly different.
#11
Posted 04 July 2004 - 05:55 PM
#12
Posted 04 July 2004 - 08:03 PM
I think he is talking about his developer world builder... yes if you have no difficulties in releasing it, it would be fantastic..
#13
Posted 05 July 2004 - 03:05 AM
Aw well, got my hopes up :worried:
#14 Guest_DeeZire_*
Posted 05 July 2004 - 11:39 AM
#15
Posted 06 July 2004 - 04:15 AM
#16
Posted 06 July 2004 - 08:09 AM
#17 Guest_Pete_*
Posted 07 July 2004 - 02:45 PM
I didnt bother saving them to any specific directory though, i just wanted to listen to them and pick which ones i wanted to use. BUT, i will try your advice because i found some really cool lines from all sorts of movies i want to use hehehe like DR evil and when the particle uplink is made or a bunch of others i found.
Well after working on this for three weeks (straight), seeing how far along others are, and realizing that im working on a project for a game that will more than likely be dead in about three to four months the wind has been taken out of my sails. (somewhat)
Things I have done in the Scripting
I split all rocket bearing troops off from other infantry and gave them their own object type.
I split all the superweapon aircraft off from other aircraft and gave them their own object type. (I got the idea from old RVMECH AHAI - but i think this is a slight upgrade it is awesome to watch the AI go out and swarm your A10s or fuel air bomb and shoot it down, or to watch gattling tanks stop in their tracks- turn their barrels skyward -and shoot at superweapon aircraft overhead
I split all drones off and gave them their own object type.
I split all cargo planes off and gave them their own object type.
I created tank hunting groups and Aircraft hunting teams in China and had them build the appropriate upgrades (speaker tower or Gattling cannons) accordingly
I added approx 400 scripts per general for superweapon targeting. The AI will now target with their superweapons things pre-determined by scripting... the beauty is its all run from one script and has added no lag whatsoever
I added a rocketguy priority
I added a Anti Air priority
I revamped all priorities and made them much more specific to their role i thought they should be performing
I revamped the money for the one general i tested everything with and let me tell you china generic is tough
I revamped the team generation and composition
I also added guard skirmish world- (idea from RVMECH AHAI) which works wonderfully. I did not want to use the (guard enemy inner perimeter - cuz the guys i play with are quick to catch on to the fact that if they build a second base the AI isnt so quick to bomb them there)
I incorporated an enemy identification script section that i was going to add some general specific stuff to but lost drive for that atm. It can tell who it is playing against - the superweapons use this to target the superweapons- but i have not incorporated using it for anything else.
I made several (rocketguy) teams that will go garrison buildings in an important area - designated by a waypoint.
I made the tech capture a little more aggressive.
I also added a more defined black lotus capture list.
I did other things as well but just tweaking here and there.(and i forgot what they were )
I am still going to split off the dragon tank and toxin tractors and give them an anti-personel priority
I spent quite a while trying to get the Helix bunker teams to work but have not gotten them to work yet. (was trying to get china to build one helix and fill it with rocket troops and then to defend an area using an anti-air priority)
#18
Posted 08 July 2004 - 06:38 AM
We've tried INI coding it so that the overlord uses a ReplaceObjectModule and won't have to add a new object to the main overlord but that gives us other problems, possibly mismatches if I think about it..
Another issue we've been tackling with is to get the bomb truck to work..
Anyway the changes made there are QUITE a lot I must say! 400 (!) scripts PER general is quite huge, but certainly effective!
If you want to stay in the spotlight community I suggest you finish this AI and move on to battle for middle earth ZH is dying, chiefly because of lack of patches\interest from EA Support. But that's an other topic..
#19 Guest_pete_*
Posted 09 July 2004 - 04:19 PM
I am naming the object - helix team_helix
i am naming the rocket team - helix team_rocketguys
I am naming the trigger area - helix bunker team
As for the SW scripts. The reasons that it got so big is that i have it do the following.
First it determines exactly who is its enemy as its Gen Pow or SW becomes available.
Then i have it target the enemy based on several factors
IF enemy is china
If it is china and has a propaganda center - then the ai will hit it
if they have no prop center but have an internet center- then the ai will hit it
if they have no prop and no int center and have 2 or more airfields then the ai will hit one of those
if they have less than 2 airfields no int center and no propaganda center then i just let it target normally
if china is infantry general change out the airfields for factories
if china is tank general change out airfields for factories
If enemy is USA
if they have a strategy center built the ai will hit this
if they have no strat center and have 2 or more airfields hit them
if they have no strat, less than 2 airfields and 2 or more supply drops hit them
if they have no strat, less than 2 supply drops and 1 airfield -- hit it
if they have no airfields, less than 2 supply drops, and no strat center- target normally
If enemy is GLA
if enemy has a palace hit it
if enemy has no palace but has scudstorm hit it
if enemy has no scud and no palace and has 3 or more black markets, hit the black markets
if enemy has less then 3 bms, no scud, and no palace, but has 3 or more factories- then hit the factories
if none of the above then target normally
ah well; take care bro bbl
Pete
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users