:: 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 Tue Apr 20, 2021 4:13 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
Need some help and a few questions too.
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Mr.Hymn
Grenadier


Joined: 01 May 2020

PostPosted: Mon Jan 04, 2021 5:57 pm    Post subject:  Need some help and a few questions too. Reply with quote

First thing first look at the video.
The egg took over 60 seconds to hatch but in the video I am using iron curtain to kill off the egg so you can see the result than waiting.





What I want is how to use airburst upon death? I can't bind the weapon to the animation otherwise spider younglings are set to be neutral not invoker

Code:

[SPIDEREGG]
Image=INFBLANK
UIName=NOSTR:Spider Egg
Name=Spider Egg
Primary=SpiderEggHatch
Civilian=yes
NotHuman=yes
Category=Soldier
Nominal=yes
CanPassiveAquire=yes
CanRetaliate=yes
Crushable=no
Insignificant=no
AttackFriendlies=yes
;DeathAnims=SPILINGEGGH

Ammo=5
InitialAmmo=0
EmptyReload=150
ReloadAmount=5
EmptyReloadAmount=5
Reload=150

AttachEffect.Animation=SPIDEREGGIDLE ;test
AttachEffect.Duration=-1
AttachEffect.TemporalHidesAnim=no
AttachEffect.PenetratesIronCurtain=yes

Sensors=yes
SensorsSight=5
DetectDisguise=yes
DetectionDistance=255
OpportunityFire=yes
GuardRange=255
Prerequisite=BARRACKS
RadarVisible=no
RadarInvisible=yes
Strength=125
Armor=Heavy
TechLevel=-1
Sight=8
Speed=0
DefaultToGuardArea=yes
HasStupidGuardMode=false
Selectable=no
ImmuneToPsionics=yes
ImmuneToRadiation=yes
ImmuneToPoison=yes
ImmuneToVeins=yes
ImmuneToBerserk=yes
Unnatural=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Points=0
BerserkFriendly=yes
IsSelectableCombatant=no
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=1
Bombable=no
LegalTarget=no
Size=1
AllowedToStartInMultiplayer=no
Trainable=no
DontScore=yes
PreventAttackMove=yes

[SpiderEggHatch]
ROF=15
Damage=800
Range=255
Projectile=SpiderEggPROJ
Speed=100
Warhead=SpiderDummyWarhead
OmniFire=yes
Suicide=yes
RevealOnFire=no
Ammo=5

[SpiderDummyWarhead]
Verses=5%,5%,5%,5%,5%,5%,5%,5%,5%,5%,5%
PreventScatter=yes
AnimList=SPIDEREGGBURST << This is the only animation that spawn spider youngling

[SpiderEggPROJ] << This one never did ignited at all.
Shadow=no
AA=no
AG=yes
Ranged=no
Proximity=no
Image=INVISO
ROT=100
Dropping=yes
SubjectToCliffs=no
SubjectToElevation=no
SubjectToWalls=no
Acceleration=100
DetonationAltitude=50000
CourseLockDuration=1
Airburst=yes
AirburstWeapon=SPLayEggBlastFrag ;EggBlast
Cluster=3
AirburstSpread=3 ;0.5
AroundTarget=no

[SPLayEggBlastFrag]
Damage=120
ROF=35
Range=8
Projectile=SPLayEggBlastFragP
Speed=25
Warhead=SpiderLayEggExp
Bright=no

[SpiderLayEggExp]
CellSpread=1
PercentAtMax=.1 ;was .25
Verses=100%,100%,100%,0%,0%,0%,0%,0%,0%,0%,0%
InfDeath=1
Sparky=no
Tiberium=no
AnimList=SpilingEggSpawn


I did something similar before using duck but duck will deploy and airburst eggs are perfectly fine and each egg contain 1 duckling also working perfectly.

But this time I want 1 egg but more spiders per egg. I am copy paste the stuff from duck to spider and change the makeinfantry. doesn't work I think the suicide is what makes this one works differently.

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


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Sun Feb 28, 2021 5:03 pm    Post subject: Reply with quote

You cannot use those projectile effects on death weapons.

Seems you want to make death-spawns belong to invoker.
So you just need to keep the egg alive for at least 1 frame after they hatch. Dont use death weapon. Give firing animation on the spawn weapon a big damage to kill the eggs.

Or, add DamageSelf to eggs, use its main weapon to kill itself and mutate.

Delay can be achieved by disable firing or initial ammo+reload
_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
MasterHaosis
General


Joined: 01 Nov 2010
Location: Serbia

PostPosted: Mon Mar 01, 2021 11:24 am    Post subject: Reply with quote

Mr.Hymn, that is one nice spider! You made it?
_________________
OrangeNero wrote:
Me picking a fight? I know I am the greatest user alive here so everyone starts reading topics with my posts first and ignores the ones before and after.

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] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial 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.1473s ][ Queries: 10 (0.0072s) ][ Debug on ]