Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 6:24 pm
All times are UTC + 0
Yuri Bunker & Gattling Tower Spam ?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [11 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Tue Apr 25, 2023 7:35 pm    Post subject:  Yuri Bunker & Gattling Tower Spam ? Reply with quote  Mark this post and the followings unread

I have not changed anything in Yuri's side for weeks, as I was working on reinforcement triggers for one map.

Now Yuri doesn't stop building tank bunkers and gattling towers and if it builds a factory, it won't build any tanks, and it will spam these base defenses all over the place.

I also made a custom anti tank cannon for Yuri, and this also gets spammed.

This only started when I was working on only one map with triggers.

Now it doesn't make a difference what map I play it will spam it with these buildings and even though I set the tecklevel=-1 it builds the bunker and the rest.

Then I removed it from the building list ;342=NATBNK and it still does it.

I then removed the bunker as a base defense from the ThirdBaseDefenses list.

It doesn't build the bunker, but it keeps building my custom anti tank cannon and the gattling tower, but that's it, no factory, tech center, radar... nothing else except for the barracks.

No other side has this problem.



gamemd 2023-04-25 15-57-59-19.jpg
 Description:
 Filesize:  2.18 MB
 Viewed:  976 Time(s)

gamemd 2023-04-25 15-57-59-19.jpg



gamemd 2023-04-25 15-59-48-59.jpg
 Description:
 Filesize:  2.16 MB
 Viewed:  977 Time(s)

gamemd 2023-04-25 15-59-48-59.jpg



Back to top
View user's profile Send private message
Darkstorm
Commander


Joined: 20 Jan 2008
Location: Texas

PostPosted: Wed Apr 26, 2023 12:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Interesting. Reminds me a bit of the component tower bug in Tiberian Sun but I don't know how it could be happening here?

Back to top
View user's profile Send private message ModDB Profile ID
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Wed Apr 26, 2023 1:34 am    Post subject: Reply with quote  Mark this post and the followings unread

Did you remove walls?

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Wed Apr 26, 2023 2:32 am    Post subject: Reply with quote  Mark this post and the followings unread

No, I didn't remove the walls, but it does not build those either.

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed Apr 26, 2023 3:27 am    Post subject: Reply with quote  Mark this post and the followings unread

I had this happen once, but I can't recall how I fixed it.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Apr 26, 2023 7:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Post your code for the anti tank cannon, some possible things I can think of off the top of my head.

You added AIBuildThis=Yes. This tag is only used by the main buildings, using it on a defenses structure can cause errors.

AIBasePlanningSide= is incorrectly set. The Yuri AI picks defenses from ThirdBaseDefenses=, if AIBasePlanningSide is set to Allied/Soviet though the game will get confused.

ThirdBaseDefenseCounts= is wrong/missing. The AI doesn't know how many defenses it should build.  

You didn't add AntiInfantryValue=, AntiArmorValue= & AntiAirValue= to the anti tank cannon.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Wed Apr 26, 2023 11:31 am    Post subject: Reply with quote  Mark this post and the followings unread

When this happened to me, it was because the AI didn't have access to a wall, but had structures with the tag "protecteithwalls".  Try commenting that line out on your yuri buildings and see if that helps.

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Thu Apr 27, 2023 3:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

It's none of what you guys suggested, except for AIBuildThis=Yes which I did have but removed, and it still spammed.

But fortunately, I remembered that I have multiple copies of the rules, sound, audio bag, art & ai INI files on my cloud storage, and they are dated so what I did was download an older copy of the rules that was not corrupted [about 3 weeks old] and made a few adjustments and everything is back to normal.

I wonder if it was my adding ten cloned factories and barracks to the American, but then again it should have affected that side and not Yuri.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Apr 27, 2023 3:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

If you have an earlier error free version of the rules you could do a direct comparison of the code & find the problem so you dont repeat it.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Thu Apr 27, 2023 9:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Does it always start building the defenses after the barracks and power, or does any of the build ordering ever change? Because I suspect the problem lies in the code for the NEXT building after barracks.

What I mean is you may have screwed up the code or added a typo that is making the AI unable to build the next thing, and so falls back to building defenses only.

I would of course look at the clone factories you added, maybe you have some copy&paste mistakes in there.

Also try running AICHECK and report what is says.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Fri Apr 28, 2023 6:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Does it always start building the defenses after the barracks and power ?
Yes, GE, this was exactly what it did.
It would build the vanilla power plant, then the advanced one, the barracks, the slave miner and then defenses and troops.
Not even the radar or walls.

But I will do what you guys suggested, even though everything is working now.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [11 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1696s ][ Queries: 15 (0.0113s) ][ Debug on ]