Captain Joined: 9/18/2018(UTC) Posts: 55 Thanks: 20 times Was thanked: 4 time(s) in 3 post(s)
|
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,,,
|
|
|
|
General Joined: 8/2/2008(UTC) Posts: 1,779 Thanks: 26 times Was thanked: 475 time(s) in 331 post(s)
|
|
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. |
|
|
|
Captain Joined: 9/18/2018(UTC) Posts: 55 Thanks: 20 times Was thanked: 4 time(s) in 3 post(s)
|
well how about editing the AI? How can that be done?
|
|
|
|
General Joined: 8/2/2008(UTC) Posts: 1,779 Thanks: 26 times Was thanked: 475 time(s) in 331 post(s)
|
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. |
2 users thanked Annihilationzh for this useful post.
|
|
|
Captain Joined: 9/18/2018(UTC) Posts: 55 Thanks: 20 times Was thanked: 4 time(s) in 3 post(s)
|
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:
|
|
|
|
Private Joined: 8/30/2010(UTC) Posts: 2
|
|
|
|
|
Captain Joined: 9/18/2018(UTC) Posts: 55 Thanks: 20 times Was thanked: 4 time(s) in 3 post(s)
|
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!
|
|
|
|
Captain Joined: 9/18/2018(UTC) Posts: 55 Thanks: 20 times Was thanked: 4 time(s) in 3 post(s)
|
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?
|
|
|
|
General Joined: 3/8/2016(UTC) Posts: 1,156 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
Originally Posted by: apocalypse232 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? Of course Duh Originally Posted by: apocalypse232 If so how to do it?
you just need only 2 scripts for that Originally Posted by: apocalypse232 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?
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 |
|
|
|
|
Captain Joined: 9/18/2018(UTC) Posts: 55 Thanks: 20 times Was thanked: 4 time(s) in 3 post(s)
|
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?
|
|
|
|
General Joined: 3/8/2016(UTC) Posts: 1,156 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
you can use worldbuilder as a reference - in object opts - there is parameter called angle = put your desired value and it will change realtime |
|
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.