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 Apr 18, 2024 7:00 pm
All times are UTC + 0
A ejected JumpJet from an Aircraft?
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
Scrooge2029
Vehicle Driver


Joined: 21 Nov 2020

PostPosted: Sun Nov 29, 2020 4:09 am    Post subject:  A ejected JumpJet from an Aircraft? Reply with quote  Mark this post and the followings unread

The logic start from DeathWeapon.

In the AnimList of Warhead used by this DeathWeapon, use MakeInfantry to generate a dummy infantry.

Previously, I thought about SW use this dummy inf as designator, but failed with SW not firing even the AutoFire=yes had been set.

Code:
[SpawnGERWALK]
UIName=Name:Para
Name=Carpet Bombing
IsPowered=false
RechargeVoice=
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=0.1
Type=UnitDelivery
Action=ParaDrop
SidebarImage=PARAICON
ShowTimer=no
DisableableFromShell=no ; gs this determines which superweapons are turned off by the checkbox
SW.AITargeting=Nuke
SW.AIRequiresTarget=infantry
SW.AIRequiresHouse=owner
SW.AffectsHouse=owner
SW.AutoFire=yes
SW.Designators=DESINF
SW.ShowCameo=yes
Deliver.Types=VF1GERWALK
LineMultiplier=0
SW.FireIntoShroud=yes
FlashSidebarTabFrames=0
SW.CreateRadarEvent=no
SW.Deferment=0
SW.Damage=0
SW.Warhead=HE



this is my SW code, besides this part, all other function has been tested, and this SW is also able to fire manually, I just wonder, how to make it fire automatically like, it is ejected from a crashing down airplane?

Thx for all replies![/code]

Back to top
View user's profile Send private message
Mr.Hymn
Missile Trooper


Joined: 01 May 2020

PostPosted: Fri Dec 18, 2020 3:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Not sure about AI targeting but I think you need this in the infantry too
DesignatorRange=2

Last edited by Mr.Hymn on Fri Dec 18, 2020 3:39 am; edited 1 time in total

Back to top
View user's profile Send private message
Mr.Hymn
Missile Trooper


Joined: 01 May 2020

PostPosted: Fri Dec 18, 2020 3:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Maybe AI targeting would be GeneticMutater for infantry would let AI decide better? Nuke AI will most likely go for the buildings

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


Joined: 14 Jul 2015
Location: Egypt

PostPosted: Fri Dec 18, 2020 12:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Make AI Targeting as Nuke, in RA2/YR, the Soviet's Nuclear Strike SW's highest priority is factory structures, battle labs, and construction yards, while the lowest of them all is tier 1 infantry units (like GI/Conscripts and Engineers).

Genetic Mutator prioritizes any infantry regardless of tier (or Tech Level), but it doesn't prioritize structures and vehicle units at all, only infantry, even if said infantry is a cyborg/non-human and cannot be mutated.

_________________
If you are a MetalHead (Heavy Metal Fan) and don't want to be a metalhead, Just remove your metal ball from your head. �:p .

Back to top
View user's profile Send private message ModDB Profile ID Skype Account
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
 
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.1495s ][ Queries: 11 (0.0092s) ][ Debug on ]