:: 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 Dec 07, 2021 5:31 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
AttachEffect on my doggo doesn't respect duration.
Moderators: Ares Support Team at PPM, 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
Mr.Hymn
Flamethrower


Joined: 01 May 2020

PostPosted: Thu Nov 11, 2021 6:22 pm    Post subject:  AttachEffect on my doggo doesn't respect duration. Reply with quote  Mark this post and the followings unread

Here is the code. "AttachEffect.Duration=45" seems to be ignored. No matter whjat anim I put in. It lasts forever regardless to duration set and LoopCount=1

This doggo will leep to enemy and blow itself unlike terrorist has to get close to suicide. This doggo have some leaping range. TypeImmune=yes set to avoid game crash for handling to many destruction.

Code:

[DEMODOG]
UIName=NOSTR:Demo Dog
Name=Demo Dog
[b]AttachEffect.Animation=LEVELUPANIM2
AttachEffect.Duration=45
AttachEffect.InitialDelay=30[/b]
NotHuman=yes
Category=Soldier
;Primary=BadTeeth
Primary=TerrorTeeth2
Secondary=VirtualScanner
ReselectIfLimboed=no ; If selected when limbo and attacking infantry, reseect when unlimbo
RejoinTeamIfLimboed=yes ; If in a team when limbo shooting infantry, write it down and try to rejoin when unlimbo
NavalTargeting=6
LeadershipRating=7
CrushSound=InfantrySquish
Strength=125
Armor=none
DefaultToGuardArea=yes
TechLevel=1
Pip=white
Sight=9
DetectDisguise=yes
Speed=9
Owner=Russians,Confederation,Africans,Arabs,YuriCountry,British,French,Germans,Americans,Alliance
Cost=220
Soylent=100
Points=10
TypeImmune=yes
IsSelectableCombatant=yes
VoiceSelect=DogSelect
VoiceMove=DogMove
VoiceAttack=DogAttackCommand
VoiceFeedback=DogFear
VoiceSpecialAttack=DogMove
DieSound=DogDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=20
ImmuneToRadiation=no
ImmuneToBerserk=no
Bombable=yes
AllowedToStartInMultiplayer=no
Size=1
ImmuneToPsionics=yes
IFVMode=11
Explodes=yes
DeathWeapon=TerrorTeeth2
Trainable=no
Natural=yes
CrushDamage=300
CrushDamage.Rookie=300
CrushDamage.Veteran=300
CrushDamage.Elite=300
CrushDamage.Warhead=TerrorBombWH3

Back to top
View user's profile Send private message
gameaddict11707
Grenadier


Joined: 15 Jul 2011

PostPosted: Thu Nov 11, 2021 7:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Set AttachEffect.Delay=-1 to make it only play once (which is what I assume you want to do? I hope I've read your post right)

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


Joined: 01 May 2020

PostPosted: Fri Nov 12, 2021 3:32 am    Post subject: Reply with quote  Mark this post and the followings unread

gameaddict11707 wrote:
Set AttachEffect.Delay=-1 to make it only play once (which is what I assume you want to do? I hope I've read your post right)


Thank you, let me try.

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