Jump to content

Re: Making the AI attack?


Mr.Caine
 Share

Recommended Posts

I don't think anyone looked at my other post but I had mentioned that in the Scripts Folder, in the libary folder the PGtaskforce folder contains the AI attacking data. if you scroll to the bottom It tells you that the AI attacks players in turn after a set amount of time and number of times the player wins. I changed it and it seemed the ai will attack you more frequently.
http://i10.photobucket.com/albums/a105/333Super/BESERKER.jpg
Link to comment
Share on other sites

Awsome!!!

Thanks! I've been wanting to do this. ;D

 

EDIT: Uh...I can't make sense out of this lua. Could you tell me excactly which lines to change?

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

I tried editing the number of responds and sleep times to thing lasts, It seems the lower the numbers effect the difficulty. I was hoping more people would look into this as well.
http://i10.photobucket.com/albums/a105/333Super/BESERKER.jpg
Link to comment
Share on other sites

hmm no, mine is still in Lua format Kel - what do you need to extract and read Lua files ? Mr Cains find is an very good one indeed :)

 

I just got mikes tools for this - but I can't figure out how to get the them to run ! LOL

http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg

 

Sote Mod Website @

 

http://sote-mod.com/forum/index.php?act=home

Link to comment
Share on other sites

In that folder for some reason all I have is them in Lua format ?! I am not seeing decompiled scripts.

Did you try editing them with notepad? It works for me....

 

EDIT:

I tried editing the number of responds and sleep times to thing lasts, It seems the lower the numbers effect the difficulty. I was hoping more people would look into this as well.

I wonder what would happen if I changed the sleep duration to 1...

;D

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

scripts can't be used uncompiled, it's written in bytecode for the computer. Decompiled versions are for humans to read ;)

 

FoC does decompile them, told you  :P

http://i108.photobucket.com/albums/n36/DarkEmpireSPG/kelathin2.jpg

I shall Name him MiniMe.... 

Link to comment
Share on other sites

He he, OK well I made a few changes to the script Mr Cain mentioned - I'll have to test it later. (In the middle of making new maps for FOC)  ::) I am beginning to hate drawing urban terrains..

http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg

 

Sote Mod Website @

 

http://sote-mod.com/forum/index.php?act=home

Link to comment
Share on other sites

Uh, bad news. I set the sleep duration to 1 and nothing changed. :(

 

Are there any other things I need to change?

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

the sleep duration sounds like it is how long the AI wait b4 attacking in galactic conquest, in seconds. Has anybody managed to get the AI to use new units btw like build them, the AI will attack or whatever with the starting units but never seems to build any new ones except heros, any ideas?
Link to comment
Share on other sites

the sleep duration sounds like it is how long the AI wait b4 attacking in galactic conquest, in seconds.

I tested it, and it took like 10 minutes. First I thought seconds, then minutes, then galactic days, but now I'm not sure it means anything.

 

Has anybody managed to get the AI to use new units btw like build them, the AI will attack or whatever with the starting units but never seems to build any new ones except heros, any ideas?

D803 has. I tried, and failed. That reminds me, I should fix that...

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

the sleep duration sounds like it is how long the AI wait b4 attacking in galactic conquest, in seconds. Has anybody managed to get the AI to use new units btw like build them, the AI will attack or whatever with the starting units but never seems to build any new ones except heros, any ideas?

On my EAW Alliance Mod AI build the new units and it attacks with them without problems and I have not done changes on lua files.

"Nada escapa a mis dominios".

Clan Nomada Web Site

FirefoxCCMods Web Site

(Only www.FirefoxCCMods.com is a English web site).

Link to comment
Share on other sites

there is also some other things in that file like the AI can only attack after the player has attack a couple of times. and then the AI can only attack between 1-8, then it has to wait for you to attack again

http://i74.photobucket.com/albums/i276/At-At_controller/leetspeak4cz1jr.gif

Link to comment
Share on other sites

The answer is "yes" on a galactic conflict and "no" on skirmiss battles.

 

 

But you can tell the AI to build the new Units, you have to add the new things, wich the AI should build in some Lua´s in the Space Mode/Land Mode Folder (All things like:TacticalMultiplayerBuildSpace and on Land iI think it´s only: Tacticalmultiplayerbuildlandunitsgeneric.lua)

Link to comment
Share on other sites

But you can tell the AI to build the new Units, you have to add the new things, wich the AI should build in some Lua´s in the Space Mode/Land Mode Folder (All things like:TacticalMultiplayerBuildSpace and on Land iI think it´s only: Tacticalmultiplayerbuildlandunitsgeneric.lua)

 

hmm, i edited the TacticalMultiplayerBuildLandUnitsGeneric.lua in landmode, is there anything i have to do to it to get the game to read it other than putting it in my mod folder in the correct place? Also does it matter which row you add the units to and i have no idea what the numbers at the end mean...

 

ie:

	,"Rebel_Speeder_Wing | Gallofree_HTT_Company | Rebel_MDU_Company = 0,1"

 

is there some libary of all the units in the game that the lua files use?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...