Posted by: Apocalypse232 - Saturday, April 13, 2019 5:00:56 AM
Hi everyone. It's been ages since i have posted in the forums! Anyways, I recently noticed a minor issue regarding Laser General AI. I noticed that he is building a ton of reactors to power his base instead of upgrading the rods(control rods). How can I fix this? Also, his missile defenders shoot from far away with laser sight ability. Now I know that this is a well-known bug to most players, but the question is: Is there a solution to this problem or not? Many thanks,,,

Posted by: Annihilationzh - Saturday, April 13, 2019 10:40:59 AM
Any AI mod.

Posted by: Apocalypse232 - Monday, April 15, 2019 1:57:43 PM
well how about editing the AI? How can that be done?

Posted by: Annihilationzh - Monday, April 15, 2019 5:54:40 PM
By importing skirmishscripts into a skirmish map, adjusting the scripts, and then exporting them. This process is glitchy and normally results in something breaking in the AI.

Posted by: Apocalypse232 - Thursday, April 25, 2019 1:44:19 PM
I tried to do as you said in your recent reply and what I found is that some units that I changed their names for my mod are not properly defined in the paperwork script for every generals skirmish AI. In fact after properly defining every new unit (approximately 5 units) and then exporting it, I made a copy of "SkirmishScripts.scb" and replaced it with my edited version and then tested it. And the catch was that whenever i started a game after like 5 sec every players Command centers (including mine) would sell off and I loose. What did I do wrong? What can be done? Here are 2 screenshots from my world builder to show clarify my issue: [ATTACH]2224[/Attach] [ATTACH]2225[/Attach]

Posted by: Mr.Tanka - Thursday, April 25, 2019 8:55:59 PM
https://ppmforums.com/viewtopic.php?t=15043 https://cncguild.net/item-222?addview

Posted by: Apocalypse232 - Wednesday, July 3, 2019 4:15:26 PM
These links are tutorials to CREATE an AI not editing it! I tried to follow some of the instructions from these tutorials but I got confused when I saw all the files mixed up (GLA AI scripts in USA AI folder, China's scripts in GLA's scripts folder). Why is it like this? I just want to edit minor things not the whole thing! Plz HELP!

Posted by: Apocalypse232 - Saturday, July 6, 2019 2:48:00 PM
I have other questions about the scripting process. I created a new generals power for Demo general instead of Anthrax Bomb and I just changed the name of the anthrax bomb with my new power within its scripts but when I play any skirmish game I dont see the computer use it when it is Demo general. Do I have to configure the new power and teach the AI how to use it or what? If so how to do it? My other question is that I want the computer to use units which are (for some generals) available only if you select its science from star points(like GLAs who use Marauders and SCUD launchers). How can I do this? Do I need to create a script for this?

Posted by: AdrianeMapMaker - Sunday, July 7, 2019 1:04:56 AM
[quote=apocalypse232;148969]I have other questions about the scripting process. I created a new generals power for Demo general instead of Anthrax Bomb and I just changed the name of the anthrax bomb with my new power within its scripts but when I play any skirmish game I dont see the computer use it when it is Demo general. Do I have to configure the new power and teach the AI how to use it or what?[/quote] Of course Duh [wink] [quote=apocalypse232;148970] If so how to do it? [/quote] you just need only 2 scripts for that [img]https://i.postimg.cc/JnhXKpKF/image.png[/img] [quote=apocalypse232;148971] My other question is that I want the computer to use units which are (for some generals) available only if you select its science from star points(like GLAs who use Marauders and SCUD launchers). How can I do this? Do I need to create a script for this?[/quote] YESSSS!!! OFcourse what the heck man hahaha .. we are talking about creating a ai for a 2003 game, too old to generate a cool ai. Anyways - you can always check how ea devs did it .. they stored the scripts in Data/Scripts/Here you can use the worldbuilder itself to import the script and inspect it yourself

Posted by: Apocalypse232 - Saturday, August 3, 2019 9:38:01 AM
What if I want to Change the way Laser General's A.I builds its base (bcz it's totally different than other USA factions) I know this has to do something with the file "AIData.ini", but the problem is that I want to change it while seeing a preview of how it will look like after I have changed it. How could I achieve this?

Posted by: AdrianeMapMaker - Saturday, August 3, 2019 9:06:01 PM
you can use worldbuilder as a reference - in object opts - there is parameter called angle = put your desired value and it will change realtime