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 Dec 12, 2024 12:32 am
All times are UTC + 0
Airstrike/SpyPlane with secondary weapon?!!
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TRUEGRIT
Rocket Cyborg


Joined: 21 Apr 2018

PostPosted: Thu Oct 31, 2024 8:15 pm    Post subject:  Airstrike/SpyPlane with secondary weapon?!! Reply with quote  Mark this post and the followings unread

Alright just as the title says, I'm wondering if we colod some how force the SpyPlane a secondary weapon so that when using SpyPlane.Mission= Attack, then it attack accordingly to the warhead versus?!

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Oct 31, 2024 9:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Not possible, the spyplane targets the ground cell and not the unit or building occupying that cell. The ground doesn't have a armour type so it will always use the primary weapon no matter what the versus in the warhead are.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
TRUEGRIT
Rocket Cyborg


Joined: 21 Apr 2018

PostPosted: Fri Nov 01, 2024 8:35 am    Post subject: Reply with quote  Mark this post and the followings unread

Understood, actually I acknowledge this was very obvious but I hoped someone got a magical tweak to turn around the cell targeting, damn, it would have neen awsome, So u think that at least we can make Boris's airstrike BPLN to fire a secondary without risking Boris's Primary!!
I mean the plane it self shoots 2 different weapons according to versus?
So far I give Boris Flare as a Primary with a WH that can target both buildings and vehicles by the same weapon, now I wonder if there is another tweak method to separate between them!! Confused

Edit: I gave the Boris's BPLN a secondary weapon which has versus against infantry and vehicles with 100% values and buildings with 0%, but it still won't use it although that I made the Primary exactly the opposite versus to target only buildings!!!

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


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Fri Nov 01, 2024 12:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

As migeater said, the plane just targets the ground with whatever it is. So the secondary weapon is completely ignored. We also can't use gatling logic in planes, otherwise they could fire different stuff.

I think you could use Ares or other extensions for a similar purpose to yours, such as giving Boris himself a plane, like an aircraft carrier. Boris has two weapons, so one could be a virtual launcher and the second one an airstrike.

Sadly, nobody put the airstrike settings on the weapons themselves, so airstrike units can only call a single type of plane, since it is in the unit code.

_________________

Back to top
View user's profile Send private message Visit poster's website
TRUEGRIT
Rocket Cyborg


Joined: 21 Apr 2018

PostPosted: Fri Nov 01, 2024 2:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well guess what what? It worked Smile
Yeah the plane used the secondary weapon, but only against infantry not vehicles, I thought that I forgot to edit the vehicles specific armour type in Warhead versus but it was all set to attack only infantry and vehicles, but somehow it only accepts using secondary against infantry  Neutral  Neutral
That's really weird behaviour, even for a cell targeting as well!!

Anyway what do u mean by making Boris himself a palne carrier, I mean how would that large bomber plane be spawned...out of his pocket? Plz explain if there is a tweak to set the spawn or launch mechanism.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Nov 01, 2024 8:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Boris's flare weapon can target units/buildings and passes that targeting information on to the aircraft so it can use a secondary weapon. Make sure that Boris's flare weapon and the aircraft weapon(s) have the same versus tho or it can cause conflicts.

Infantry can spawn aircraft like the aircraft carrier.

If you use Phobos you can make normal weapons trigger super weapons, so you could make two different "flare" weapons with different versus that trigger two different airstrike super weapons.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
TRUEGRIT
Rocket Cyborg


Joined: 21 Apr 2018

PostPosted: Fri Nov 01, 2024 11:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

I know flare can target both units and buildings alike, but how would the airstrike plane use it's secondary if it has the same versus as primary weapon? It would only use the primary, somehow it acted randomly and used secondary agains infantry.

And to make more confusing, that behaviour isn't happening now anymore, and currently it uses primary on both types, but indeed dealing damage according to versus so it won't affect on units if the primary's wh made to deal damage to buildings, and vice versa, here are my codes:



Screenshot (177).png
 Description:
 Filesize:  173.27 KB
 Viewed:  144 Time(s)

Screenshot (177).png



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