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 Apr 18, 2024 8:26 pm
All times are UTC + 0
Transport AI Problem
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Tue May 23, 2017 2:43 am    Post subject:  Transport AI Problem Reply with quote  Mark this post and the followings unread

Hello, guys...

Has anyone experienced AI problems like Transport AI won't gather near enemy base even it has script?

I used Hover Transport and Land Transport AI that scripted to gather to friendly structure and gather near enemy base and unload and attack, but they ignore the "gather near enemy base" and unload it in place (what do I mean is after gather to friendly structure, they unload their units)  and the transport unit (even lose unit, lose structure) continuing the script and ignore the unloaded one.

I used 2 methods, one of them is load in base and using InitialPayload, both of them had a same result.

I'm still confused on how to solve this, since they (the unloaded) will spam over and over the base and doing nothing.[/code]

_________________
Quote:
Humans were born for two things: to pray and be productive.


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


Joined: 28 May 2013

PostPosted: Tue May 23, 2017 12:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

It should work, show script code.

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


Joined: 20 May 2013
Location: Indonesia

PostPosted: Tue May 23, 2017 1:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

Code:
[NWAISC11-G]
Name=AHover Transport vs Factory
0=58,65544 ;Allied Shipyard
1=8,2
2=0,6
3=0,2
4=5,5
5=0,1
6=11,15

[NWAISC12-G]
Name=AHover Transport vs Defense
0=58,65544
1=8,2
2=0,7
3=0,2
4=5,5
5=0,1
6=11,15

[NWAISC13-G]
Name=AHover Transport vs Harvester
0=58,65544
1=8,2
2=0,3
3=5,5
4=0,1
5=11,15

[NWAISC14-G]
Name=AHover Transport vs Vehicles
0=58,65544
1=8,2
2=0,5
3=5,5
4=0,1
5=11,15

[NWAISC15-G]
Name=AHover Transport vs Power Plant
0=58,65544
1=8,2
2=0,9
3=0,8
4=5,5
5=0,1
6=11,15

[0100000M-G]
Name=Transport vs Allied
0=47,131073
1=8,0
2=46,65536
3=49,0
4=0,6
5=0,2
6=0,1

[0100000N-G]
Name=Transport vs Soviet
0=47,131099
1=8,0
2=46,65562
3=49,0
4=0,6
5=0,2
6=0,1

[0100000O-G]
Name=Transport vs Prime
0=47,131125
1=8,0
2=46,65588
3=49,0
4=0,6
5=0,2
6=0,1

[0100000P-G]
Name=Transport vs BFrc
0=47,131151
1=8,0
2=46,65614
3=49,0
4=0,6
5=0,2
6=0,1
Note: The buildings were listed correctly. My script is without loading because I am using ARES' InitialPayload, but as I said both methods result same.

_________________
Quote:
Humans were born for two things: to pray and be productive.


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


Joined: 28 May 2013

PostPosted: Tue May 23, 2017 5:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

InitialPayload isn't working properly with unload script (8,0 or 8,2).
Transport is able to continue script but unloaded passengers aren't able
to continue script. Ares bug.

Looking at code comment of Shipyard, are you trying to unload on water!!

Use without InitialPayload like in vanilla:

Code:
[xyzscript]
Name=xyz transport and attack
0=58,<struct number> ; move to friendly building like GAWEAP or NAWEAP.
1=14,0      ; load into transport
2=43,0      ; wait till complete
3=53,0      ; gather at enemy
4=8,2      ; unload troops and remove transport from team or 8,0 or 8,1
5=0,2      ; attack enemy struct
6=0,1      ; attack any enemy

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