Apocalypse232
6 years ago
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,,,
Sponsor
Annihilationzh
6 years ago
Any AI mod.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Apocalypse232
6 years ago
well how about editing the AI?
How can that be done?
Annihilationzh
6 years ago
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.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Apocalypse232
6 years ago
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:

  screenshot.png (505kb) downloaded 26 time(s).   screenshot 2.png (303kb) downloaded 35 time(s).
Mr.Tanka
Apocalypse232
6 years ago
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!
Apocalypse232
6 years ago
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?
AdrianeMapMaker
6 years ago

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?

Originally Posted by: apocalypse232 

Of course Duh 😉


If so how to do it?

Originally Posted by: apocalypse232 


you just need only 2 scripts for that

UserPostedImage


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?

Originally Posted by: apocalypse232 


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


A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Apocalypse232
6 years ago
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?
AdrianeMapMaker
6 years ago
you can use worldbuilder as a reference - in object opts - there is parameter called
angle = put your desired value and it will change realtime
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage