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 Mon Dec 09, 2024 10:33 pm
All times are UTC + 0
What does SW.Group do? [SOLVED]
Moderators: 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
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Sat Mar 09, 2024 9:57 pm    Post subject:  What does SW.Group do? [SOLVED]
Subject description: Trying to remove some superweapon from showing in the sidebar
Reply with quote  Mark this post and the followings unread

If I need multiple superweapons to trigger, I just need one superweapon to trigger it on the sidebar.
SW.ShowCameo is ignored if SW.AutoFire=no is set, and the closest I've got is I think SW.Group which I thought would only show one of the superweapon that is part of that group.

For example, SW.Group=13 is set for Superweapon1Special and SW.Group=13 is also set for Superweapon2Special.
But the effect was that it actually separated both superweapons from each other compared to not having SW.Group, which would just have both of the same Type= to trigger.

Last edited by Ousagi on Tue Mar 19, 2024 3:23 pm; edited 1 time in total

Back to top
View user's profile Send private message
silverwind
Cyborg Firebomber


Joined: 11 Jun 2016

PostPosted: Mon Mar 18, 2024 10:06 am    Post subject: Reply with quote  Mark this post and the followings unread

It's used by Script Action 55,N ;Activate Iron Curtain on Team (N is 0 on all existing scripttypes)

To use it you need SW.AITargetingMode=IronCurtain on your superweapon. It doesn't have to be Type=IronCurtain, and can be used with any defensive superweapon, as long as it has SW.AITargetingMode=IronCurtain.

If your custom superweapon (let's say a superweapon that triggers a warhead that spreads a boosting attacheffect) has SW.Group=13, it'll be considered by teams with script action 55,13.

The default value of 0 for SW.Group ensures that any superweapon with SW.AITargetingMode=IronCurtain will be considered by teams with script action 55,0.

Read More:
https://ares-developers.github.io/Ares-docs/new/scripts.html#iron-curtain-55
https://ares-developers.github.io/Ares-docs/new/superweapons/general.html#common-settings

Back to top
View user's profile Send private message
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Tue Mar 19, 2024 3:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

I see. So it's used for superweapons where the group gathers together until the superweapon fire at them then they continue with the script, just like the regular Iron Curtain in game.
Thanks for telling me it's for scripts only and for SW.AITargetingMode=IronCurtain! It might be useful later on if I started feeling like making support superweapons. Very Happy

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