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 Fri Apr 19, 2024 8:12 pm
All times are UTC + 0
AI Spy always infiltrates Bunker.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Sat Oct 01, 2016 4:56 pm    Post subject:  AI Spy always infiltrates Bunker.
Subject description: AI bug.
Reply with quote  Mark this post and the followings unread

I always see them they infiltrate Battle Bunkers. If not Battle Bunkers, sometimes the Service Depot. I don't get it why AI Spies are infiltrating Bunkers and Depots.

Take note that I never change anything at the Scripts so the AI Spy infiltration script should be just simply the same as anyone. Well, if I remember correctly, after creating an AI trigger that AI Spy will infiltrate Battle Lab(Since there's an unused Script for Spy that will infiltrate Battle Lab so I decided to use it), AI Spies' behavior went buggy.

Back to top
View user's profile Send private message
Starkku
Cyborg Commando


Joined: 28 Dec 2007
Location: Finland

PostPosted: Sat Oct 01, 2016 6:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

AI does not actually care if the structure is infiltrateable or not - if the script tells the Spy to enter the building, it will.

Why it is entering the wrong ones probably has to do with you tampering BuildingTypes list in rules(md).ini. The scripts refer to BuildingTypes based on their position in the list, not via an absolute ID or anything. Adding stuff to the list will shift position of entries that follow.

_________________

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


Joined: 09 Feb 2015

PostPosted: Sun Oct 02, 2016 1:20 am    Post subject: Reply with quote  Mark this post and the followings unread

You can use my AICLEAN script to output a cleaned and reorganized rules.ini, then copy just the definition lists to yours...

Then you'll see the absolute building/unit number with no gaps.

PS. if you use the translated.log output from it, you can read your entire script section to see if your targets make sense, since it shows the unit/building names... if it's wrong, then your indexes have shifted.

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

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 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.1481s ][ Queries: 11 (0.0075s) ][ Debug on ]