:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sun Jul 03, 2022 9:09 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
More than 2 Weapons
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
Overmind
Cyborg Engineer


Joined: 05 May 2022

PostPosted: Tue Jun 07, 2022 10:03 am    Post subject:  More than 2 Weapons
Subject description: With some logic
Reply with quote  Mark this post and the followings unread

Is it possible on original RA2YR to make a unit have more than 2 unique weapons using the weapon count logic of the Gatling units ?

I am thinking on doing something like this:

Weapon1=LongRangeWeapon
Weapon2=MidRangeWeapon
Weapon3=ShortRangeWeapon

So let's say the long range weapon can fire between 10 and 15 range, the mid range one between 5 and 10 and the short range one below 5.

Assuming I do everything to lock this range (no alt range on elite, etc) would this actually work or is it futile to attempt it  (due to the Primary/Secondary concerns)?

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Tue Jun 07, 2022 10:20 am    Post subject: Reply with quote  Mark this post and the followings unread

You can add more then 2 weapons with Gatling logic but Range= cant be used to decided what weapon a unit will use.

The weapon's Verses= & the unit's Armor= tags are used to control what weapons a unit can uses against different targets. The best you could do it make a short ranged weapon to used against infantry, mid for units & long ranged for buildings etc.
_________________



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
Overmind
Cyborg Engineer


Joined: 05 May 2022

PostPosted: Tue Jun 07, 2022 11:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes, Verses= is another alternative I was thinking of.

I will do some practical testing to see where this goes.

Back to top
View user's profile Send private message
Virgil
Missile Trooper


Joined: 22 Jul 2018

PostPosted: Wed Jun 08, 2022 1:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Impossible. Game only switch weapon when Verses/Naval/LandTargeting forbids the specific weapon used. You can't make it use weapon depending on range. Just no way.
The best simulation you can do is an Opentopped vehicle with different passengers simulating different ranged weapons, and vehicle itself bearing a dummy weapon of full range coverage so that its passengers will fire on their own when in right range. To further restrict the behaviour of passengers to make it looks like it's the vehicle itself shooting, you HAVE to use engine expansions like Kratos.

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
 Forum index » Modding Central » Red Alert 2 Editing Forum
Jump to:  
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.1325s ][ Queries: 11 (0.0089s) ][ Debug on ]