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 8:25 pm
All times are UTC + 0
Need help on trigger event of BEAG
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
utudh
Medic


Joined: 03 Jul 2013

PostPosted: Thu Jul 25, 2013 10:09 am    Post subject:  Need help on trigger event of BEAG Reply with quote  Mark this post and the followings unread

Hi team,

I have create a team of BEAG appear at waypoint & task force for it. I want them to attack in multiplayer map. How do I write script for it? Here is my work:
0 - flash
1 - move to waypoint
2 - attack (target is 3)
3 - come back start point
4 - success

and event trigger as below:

event - I chose elapsed time
action - I chose reinforce at waypoint

In game, it appears 2 beag fly from point A to B however, when they reach B they crashed!?! Can someone advise what is the mistake?

Thanks,
utudh

Back to top
View user's profile Send private message
WoRmINaToR
Rocket Cyborg


Joined: 31 Oct 2008
Location: AKA Sir Prize

PostPosted: Thu Jul 25, 2013 6:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

The Black Eagles are crashing most likely because they do not have an available dock owned by their house to land on. In the split second between the move and attack order in your script, the eagles default to their "return to pad" behavior as they are AirportBound aircraft. As such, if you don't have an empty airpad dock owned by that eagle's house, it will crash.

Two solutions:

1) Mod the game and add a new unit based on BEAG without the AirportBound=yes tag

2) Add an airpad (GAAIRC) owned by that house somewhere on the map. I do not know if airports outside of the map boundary count, but you can experiment with that.

_________________
New name: Sir Prize. I've switched to a new account to update to the name I've been using everywhere else for the last several years.

Back to top
View user's profile Send private message YouTube User URL
Death Saint
Vehicle Driver


Joined: 16 Feb 2013
Location: Colony of DPRK on the Mars

PostPosted: Fri Jul 26, 2013 12:35 am    Post subject: Reply with quote  Mark this post and the followings unread

you can't use "move to waypoint" for any aircrafttypes.
maybe you could try "Move Into Specific Celltag".
add a airport Outside the visible area(let players can't discover),the airport should belong to team's house.

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


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Fri Jul 26, 2013 9:50 am    Post subject: Reply with quote  Mark this post and the followings unread

It's not impossible.
I have a mission with a 'BEAG' that attacks a waypoint and then flies off to a waypoint outside the map
IIRC it was spawned at a WP, attacked a WP and then moved to a waypoint off the map, try that, it should work.

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Back to top
View user's profile Send private message
utudh
Medic


Joined: 03 Jul 2013

PostPosted: Fri Aug 02, 2013 3:13 am    Post subject: Reply with quote  Mark this post and the followings unread

RP wrote:
It's not impossible.
I have a mission with a 'BEAG' that attacks a waypoint and then flies off to a waypoint outside the map
IIRC it was spawned at a WP, attacked a WP and then moved to a waypoint off the map, try that, it should work.


Hi RP,

What do you mean by 'IIRC' ?

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


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Fri Aug 02, 2013 9:25 am    Post subject: Reply with quote  Mark this post and the followings unread

If I Remember Correctly.
And I looked it up, this is how the plane was spawned:
Trigger:
7 Reinforcement (TeamType)... - 01000066 Radar killer
TeamType:
Waypoint - 1

ScriptType:
Attack waypoint - 22
Move to waypoint -23

1 is on the map, 22 is on the map, 23 is off the map

EDIT:
Now that I am looking at your map I noticed it is a Multiplayer map, is the beag owned by Civilian and is the HQ also owned by Civilian?

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Back to top
View user's profile Send private message
utudh
Medic


Joined: 03 Jul 2013

PostPosted: Sun Aug 04, 2013 10:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi RP,

You are correct. BEAG is owned by Civil and HQ is also owned by Civil

Back to top
View user's profile Send private message
utudh
Medic


Joined: 03 Jul 2013

PostPosted: Mon Aug 05, 2013 1:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

RP wrote:
If I Remember Correctly.
And I looked it up, this is how the plane was spawned:
Trigger:
7 Reinforcement (TeamType)... - 01000066 Radar killer
TeamType:
Waypoint - 1

ScriptType:
Attack waypoint - 22
Move to waypoint -23

1 is on the map, 22 is on the map, 23 is off the map

EDIT:
Now that I am looking at your map I noticed it is a Multiplayer map, is the beag owned by Civilian and is the HQ also owned by Civilian?


Hi RP,

I have 2 questions:

1. If BEAG attack WP - 22, then how can I attach the WP to specific building?
Example: computer team will build ore refinery and its location will not exactly as same as place we put WP.

2. When we assign BEAG attack WP, it also limit target for BEAG which I do hope BEAG can pick prefer target (i.e: Chrono Miner/ War Miner or tank or ore refinery/ Power plant). Does the script determine these value or trigger does?

Thanks

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


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Mon Aug 05, 2013 4:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

1. The waypoint is located at the building.

2. That doesn't work. The mission you assigne the BEAG will continue until all Miners are destroyed. This means that it wants to go back to the HQ to reload.

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

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