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 Sat Nov 09, 2024 12:19 am
All times are UTC + 0
How can I make a buildable unit that is ignored by AI?
Moderators: Generals Moderators, Global 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
NCoder
Soldier


Joined: 22 Mar 2015

PostPosted: Tue Jan 10, 2023 1:15 am    Post subject:  How can I make a buildable unit that is ignored by AI? Reply with quote  Mark this post and the followings unread

Like the title says, if I want to make an inconspicuous scout that the player can build but the AI will ignore (just like a civilian vehicle, or a disguised vehicle, but permanently) even if they detect it, is it possible to do that?

Is it possible to make it so this unit can have a weapon and the AI responds to it only when it attacks first?

Back to top
View user's profile Send private message
ComradeJarif
Civilian


Joined: 19 Aug 2021

PostPosted: Sun Jun 25, 2023 9:11 am    Post subject: Reply with quote  Mark this post and the followings unread

Add "Insignificant=yes" in the unit's code. This should work unless I am missing something.

Back to top
View user's profile Send private message YouTube User URL
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Jun 25, 2023 12:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

You are missing something critical, Comnrade Jarif: this forum is about Command & Conquer: Generals (and not Red Alert 2 or Tiberian Sun).

Perhaps, the closest line I've seen that may make AI ignore the unit is

Code:
RadarPriority   = LOCAL_UNIT_ONLY


Object CarCamaro in INIZH.big -> Data/INI/Object/CivilianUnit.ini uses it.

But I am no expert in Generals.

Back to top
View user's profile Send private message Visit poster's website Skype Account
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.1669s ][ Queries: 11 (0.0076s) ][ Debug on ]