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 9:25 am
All times are UTC + 0
TeamRetaliate Issue
Moderators: Ares Support Team at PPM, 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
PePsiCola
Cyborg Specialist


Joined: 28 Dec 2010
Location: The United States

PostPosted: Thu Mar 01, 2018 6:52 pm    Post subject:  TeamRetaliate Issue Reply with quote  Mark this post and the followings unread

I've been using the TeamRetaliate in my mod likely since its addition to Ares

Code:
[General]?TeamRetaliate= (boolean)
    Whether teams are allowed to retaliate if a member is attacked and not killed immediately. Defaults to no.


Now obviously it works, but it does seem to come with a minor side effect. I've noticed teams retaliate against their own units. That is, if an AI is attacking an opponent with several teams, and one team damages a unit from another team (this is not intentional, as it of course just happens through spread damage), the team that is attacked will just freeze. Because the attacking unit is not an enemy unit, the AI seems to get confused and the team just stops in its tracks. The team will sit there, ignoring any passing enemies. Individual units will respond to other enemies attacking, but the team as a whole will not continue their script until the attacking unit is destroyed.

One way I've confirmed this as the cause is by playing battles with AI-Control on. One team will damage another, so the team will freeze. If I turn AI-Control off ("Player assumed control"), my team will actually go and destroy the attacking unit themselves, thus allowing them to continue on their mission from there. I've used this method to bypass this minor bug, but I thought it'd be worth pointing out, as it can be quite annoying for teams loaded with powerful units just stopping instead of destroying everything as they should be. Has anyone else encountered this?

_________________
Tiberium Uprising (a few missions for TS): http://www.ppmsite.com/forum/viewtopic.php?t=31029

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


Joined: 31 May 2010
Location: Germany

PostPosted: Fri Mar 02, 2018 4:40 am    Post subject: Reply with quote  Mark this post and the followings unread

I reviewed the code and added a check for allies. Maybe it will work better now. I also found an error I made when translating the code from TS, which will be fixed in the next release, too. Thanks for the note!

_________________

Back to top
View user's profile Send private message
PePsiCola
Cyborg Specialist


Joined: 28 Dec 2010
Location: The United States

PostPosted: Fri Mar 02, 2018 9:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

Awesome, thanks Alex!

_________________
Tiberium Uprising (a few missions for TS): http://www.ppmsite.com/forum/viewtopic.php?t=31029

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.1661s ][ Queries: 11 (0.0099s) ][ Debug on ]