Mr.Caine Posted January 5, 2007 Posted January 5, 2007 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
1upD Posted January 5, 2007 Posted January 5, 2007 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'mStill Aliveand when you're dying I will beStill Aliveand when you're dead I will beStill AliveSTILL ALIVE"~GLaDOSAnybody who thinks Palpatine is a sepratist knows NOTHING about star WarsWhen in doubt- rocket it.Dowload The Underworld's Might beta from Filefront!
Mr.Caine Posted January 6, 2007 Author Posted January 6, 2007 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
MajorPayne Posted January 6, 2007 Posted January 6, 2007 Mr.Caine. What did you use to read the file because Notepad won't read the binary notations properly.
Kelathin Posted January 6, 2007 Posted January 6, 2007 @MP Uh FoC map editor comes out with decompiled scripts so notepad and world processors can read it. http://i108.photobucket.com/albums/n36/DarkEmpireSPG/kelathin2.jpgI shall Name him MiniMe....
jedi_consulor Posted January 6, 2007 Posted January 6, 2007 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
MajorPayne Posted January 6, 2007 Posted January 6, 2007 .....and the scripts can be used uncompiled??
Mr.Caine Posted January 6, 2007 Author Posted January 6, 2007 There should be a decompliled script folder in the Mods folder. It should be in the Source folder labled scripts. http://i10.photobucket.com/albums/a105/333Super/BESERKER.jpg
jedi_consulor Posted January 6, 2007 Posted January 6, 2007 In that folder for some reason all I have is them in Lua format ?! I am not seeing decompiled scripts. http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
1upD Posted January 6, 2007 Posted January 6, 2007 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'mStill Aliveand when you're dying I will beStill Aliveand when you're dead I will beStill AliveSTILL ALIVE"~GLaDOSAnybody who thinks Palpatine is a sepratist knows NOTHING about star WarsWhen in doubt- rocket it.Dowload The Underworld's Might beta from Filefront!
jedi_consulor Posted January 6, 2007 Posted January 6, 2007 heee he he he ;D That works now then back to the topic where were we ? 'to test what Mr Cain has said I will ... I go..' http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
Kelathin Posted January 6, 2007 Posted January 6, 2007 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 http://i108.photobucket.com/albums/n36/DarkEmpireSPG/kelathin2.jpgI shall Name him MiniMe....
jedi_consulor Posted January 6, 2007 Posted January 6, 2007 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
Droid803 Posted January 7, 2007 Posted January 7, 2007 FoC does decompile them, told you Not Story LUAs ...everything else tho (AFAIK) http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg"That was fun"
Kelathin Posted January 7, 2007 Posted January 7, 2007 hardly everything else http://i108.photobucket.com/albums/n36/DarkEmpireSPG/kelathin2.jpgI shall Name him MiniMe....
1upD Posted January 7, 2007 Posted January 7, 2007 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'mStill Aliveand when you're dying I will beStill Aliveand when you're dead I will beStill AliveSTILL ALIVE"~GLaDOSAnybody who thinks Palpatine is a sepratist knows NOTHING about star WarsWhen in doubt- rocket it.Dowload The Underworld's Might beta from Filefront!
darkrider Posted January 13, 2007 Posted January 13, 2007 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?
1upD Posted January 13, 2007 Posted January 13, 2007 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'mStill Aliveand when you're dying I will beStill Aliveand when you're dead I will beStill AliveSTILL ALIVE"~GLaDOSAnybody who thinks Palpatine is a sepratist knows NOTHING about star WarsWhen in doubt- rocket it.Dowload The Underworld's Might beta from Filefront!
jedi_consulor Posted January 13, 2007 Posted January 13, 2007 well if you fix it - pass on what you did I could do with some tips on that too.. http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
Nomada_firefox Posted January 14, 2007 Posted January 14, 2007 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).
Lord_of_the_Sith Posted January 14, 2007 Posted January 14, 2007 We need to put order here. ;D The Ai uses any new added unit by itself without changing any file?
Controller Posted January 14, 2007 Posted January 14, 2007 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
Nomada_firefox Posted January 14, 2007 Posted January 14, 2007 We need to put order here. ;D The Ai uses any new added unit by itself without changing any file?The answer is "yes" on a galactic conflict and "no" on skirmiss battles. "Nada escapa a mis dominios".Clan Nomada Web Site FirefoxCCMods Web Site (Only www.FirefoxCCMods.com is a English web site).
Dark_Lord Posted January 14, 2007 Posted January 14, 2007 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) ~SunAge~http://img98.imageshack.us/img98/2356/bannerdo0.gif
darkrider Posted January 14, 2007 Posted January 14, 2007 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?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now