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 Wed Apr 24, 2024 10:10 am
All times are UTC + 0
How to let a new country use its new AI Trigger?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [17 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Sabrisalim
Vehicle Driver


Joined: 09 Aug 2009
Location: Singapore, Tampines

PostPosted: Fri Nov 13, 2009 1:17 am    Post subject:  How to let a new country use its new AI Trigger? Reply with quote  Mark this post and the followings unread

I'm having a problem letting a new country use AI trigger.
It seems to be ignoring it and the AI also spams the same infantry over and over again.

I'm also reusing the [ScriptTypes]

This is on example of my code

[TaskForces]
264=SPRBASE

[SPRBASE]
Name=Spartan Base Defence
0=10,ARCHERE
1=2,SPARTANP
2=3,SPARTANSW
Group=-1

[TeamTypes]
419=SPRBASE-G

[SPRBASE-G]
Name=Spartan Base Guard - Adv
VeteranLevel=1
Loadable=no
Full=no
Annoyance=no
GuardSlower=no
House=<none>
Recruiter=no
Autocreate=yes
Prebuild=no
Reinforce=no
Droppod=no
UseTransportOrigin=no
Whiner=yes
LooseRecruit=no
Aggressive=yes
Suicide=no
Priority=20
Max=1
TechLevel=0
Group=-1
OnTransOnly=no
AvoidThreats=no
IonImmune=no
TransportsReturnOnUnload=no
AreTeamMembersRecruitable=no
IsBaseDefense=yes
OnlyTargetHouseEnemy=no
Script=0CE4C2DC-G
TaskForce=SPR5BASE

[AITriggerTypes]
0SPRBAS1-G=Spartan Base Guard - Basic,SPRBASE-G,Spartans,2,4,<all>,0000000003000000000000000000000000000000000000000000000000000000,40.000000,10.000000,40.000000,1,0,4,0,<all>,1,1,1

What seems to be the problem? Why is it spaming the same infantry?

Last edited by Sabrisalim on Sat Nov 14, 2009 11:12 pm; edited 1 time in total

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


Joined: 18 Aug 2009

PostPosted: Fri Nov 13, 2009 1:36 am    Post subject: Reply with quote  Mark this post and the followings unread

Why do you have TechLevel=0???

Is it... natural?

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Fri Nov 13, 2009 1:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Do you have any special functionality on your Barracks?

Back to top
View user's profile Send private message
Sabrisalim
Vehicle Driver


Joined: 09 Aug 2009
Location: Singapore, Tampines

PostPosted: Fri Nov 13, 2009 1:56 am    Post subject: Reply with quote  Mark this post and the followings unread

Well i'm not sure myself about TechLevel=0 XD
So i should change it to TechLevel=2

According to my units tech level?

Nope my barracks have no special functionality

Back to top
View user's profile Send private message
superluigi949
Grenadier


Joined: 03 Oct 2009

PostPosted: Fri Nov 13, 2009 11:51 am    Post subject: Reply with quote  Mark this post and the followings unread

i use Dcoder's AI V2,i think it's on his page,link anybody?.

_________________

the only one around here that i'd like to call big brother is LKO

Back to top
View user's profile Send private message Skype Account
ArvinCool
Tiberian Beast


Joined: 01 Jun 2008

PostPosted: Fri Nov 13, 2009 12:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

is this country "Spartans" fourth side? becuse trigger is set to 4th side.

Back to top
View user's profile Send private message
Sabrisalim
Vehicle Driver


Joined: 09 Aug 2009
Location: Singapore, Tampines

PostPosted: Fri Nov 13, 2009 1:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yes its the fourth side and i used d'coder AI editor.

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Fri Nov 13, 2009 2:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sabrisalim wrote:
Nope my barracks have no special functionality

Then does it have Hospital or Armory on it?

Back to top
View user's profile Send private message
superluigi949
Grenadier


Joined: 03 Oct 2009

PostPosted: Fri Nov 13, 2009 5:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

in the trigger section...,there is supposed to be a prerequest building or none....cant see that.

_________________

the only one around here that i'd like to call big brother is LKO

Back to top
View user's profile Send private message Skype Account
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Fri Nov 13, 2009 7:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

You do not need a prerequisite building for a trigger if there is no condition. His trigger has no specific condition so it doesn't need a [TechnoType] to trigger it.

Back to top
View user's profile Send private message
Sabrisalim
Vehicle Driver


Joined: 09 Aug 2009
Location: Singapore, Tampines

PostPosted: Sat Nov 14, 2009 1:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Nope it doesn't have armory or hospital on it.

Back to top
View user's profile Send private message
superluigi949
Grenadier


Joined: 03 Oct 2009

PostPosted: Sat Nov 14, 2009 7:01 am    Post subject: Reply with quote  Mark this post and the followings unread

will if I were you,i'd redo it all,although i think it's related to the rules...or the script type attached.

_________________

the only one around here that i'd like to call big brother is LKO

Back to top
View user's profile Send private message Skype Account
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Sat Nov 14, 2009 2:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

I just noticed... your task force and team type have the same name, just one is without -G. Make sure all identifiers regardless of list are unique.

Back to top
View user's profile Send private message
Sabrisalim
Vehicle Driver


Joined: 09 Aug 2009
Location: Singapore, Tampines

PostPosted: Sun Nov 15, 2009 8:13 am    Post subject: Reply with quote  Mark this post and the followings unread

I changed theirs names to something unique.
Though it still the same problem.

Could it be because there are more then 100+ InfantryTypes?
[InfantryTypes]

96=ARCHER
97=ARCHERE
98=SPARTANSW
99=FLYBUG
100=SGLINF
101=SGFLAK
102=HMG

The unit that was spammed out is after the 100 mark.

Back to top
View user's profile Send private message
Apex
General


Joined: 24 Dec 2005
Location: Final Alert 2

PostPosted: Sun Nov 15, 2009 9:51 am    Post subject: Reply with quote  Mark this post and the followings unread

100 unit bug? Either remove two infantry or put infantry that are never built(civilians) past the 100 mark and move down buildable ones.

_________________
Comcast: Yo dawg we herd yo were downloading, so we put fail in yo modem so yo cant download while yo failin!

Back to top
View user's profile Send private message Send e-mail Skype Account Yahoo Messenger Account
ArvinCool
Tiberian Beast


Joined: 01 Jun 2008

PostPosted: Sun Nov 15, 2009 10:47 am    Post subject: Reply with quote  Mark this post and the followings unread

lol yeah its the 100 unit bug. Rockpatch/Npatch only fix it for Vehicles not Infantry

_________________
"I'll be staying strapped cuse my mac-eleven make my nuts bigger"

Back to top
View user's profile Send private message
Sabrisalim
Vehicle Driver


Joined: 09 Aug 2009
Location: Singapore, Tampines

PostPosted: Sun Nov 15, 2009 12:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yay it works!
Thanks for helping out guys.
It is the 100 unit bug that was bugging it \o/.

Thank you very much.

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