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 Tue Apr 23, 2024 12:04 pm
All times are UTC + 0
Game IE on air unit death.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
NakedCrook
Medic


Joined: 22 Jan 2009

PostPosted: Fri Feb 27, 2009 6:00 pm    Post subject:  Game IE on air unit death.
Subject description: very odd problem.
Reply with quote  Mark this post and the followings unread

All right basically here is my problem. I have a certain air unit that will cause an IE upon its death. It is a cargo plane that drops guys onto the battle field. it works fine up until it gets shot down by anti air units.

I know it is not a problem with the code because when I attach the "image=" tag to its rules codes (to change what it looks like) it works 100% fine but when I revert it back to its original appearance, it will IE upon its death.

This is annoying because I coded this unit 4 months ago and only until 10 minutes ago has it stopped working and started causing IE.

I suspect its something wrong with the vxl/hva/art coding but I am having my doubts.

-it cant be the vxl because I just re downloaded the vxl from the site I found it at and it still IE
-I replaced the HVA 4 times already, most recently with re downloaded hva and it still IE
-the art code is an exact duplication of the other para drop planes in the game.

So...any ideas?



except.txt
 Description:

Download
 Filename:  except.txt
 Filesize:  25.9 KB
 Downloaded:  83 Time(s)


Back to top
View user's profile Send private message Skype Account
OmegaBolt
President


Joined: 21 Mar 2005
Location: York, England

PostPosted: Fri Feb 27, 2009 7:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

DeathWeapon?

Back to top
View user's profile Send private message Send e-mail
NakedCrook
Medic


Joined: 22 Jan 2009

PostPosted: Fri Feb 27, 2009 8:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

here, let me post some code:

Code:

[PDPLANE2]
UIName=Name:PDPLANE
Name=Cargo Plane
Strength=1000
Category=AirLift
Armor=light
TechLevel=-1
Primary=ParaDropWeapon
Spawned=yes
LeadershipRating=10
Selectable=no
RadarInvisible=no
Sight=0
MinDebris=0;2
Landable=no
MoveToShroud=yes
PitchAngle=0
Speed=15
Owner=Neutral
Points=30
ROT=2
Crewed=yes
Ammo=100
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=0
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToPsionics=yes
CanPassiveAquire=no
CanRetaliate=no
MoveSound=PDPlaneMoveLoop
DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash
DeathWeapon=SuperCrashEffect
DeathWeaponDamageModifier=0.5
FlyBy=true


Code:

[C5]
UIName=Name:C5]
Name=Drop Plane
Strength=5000
Category=AirLift
Armor=heavy
TechLevel=-1
Primary=ParaDropWeapon
Spawned=yes
LeadershipRating=10
Selectable=no
RadarInvisible=no
Sight=0
Landable=no
MinDebris=0;2
MoveToShroud=yes
PitchAngle=0
Speed=15
Owner=Neutral
Points=30
ROT=2
Crewed=yes
Ammo=100
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=0
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToPsionics=yes
CanPassiveAquire=no
CanRetaliate=no
MoveSound=PDPlaneMoveLoop
DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash
DeathWeapon=SuperCrashEffect
DeathWeaponDamageModifier=0.5
FlyBy=true


as you can see these two planes are exact copies of each other. The C5 will cause an IE upon its death while the PDPLANE2 will work just fine. The art codes are exactly the same as well.

so whats going on here?[/code]

Back to top
View user's profile Send private message Skype Account
Javier
My Rank Will Never Change


Joined: 24 Oct 2008
Location: Wars World!!! Posts: -99999999

PostPosted: Sat Feb 28, 2009 12:45 am    Post subject: Reply with quote  Mark this post and the followings unread

Can you post the code for DeathWeapon=SuperCrashEffect?

_________________
Awesome banner made by m-.. I mean AltomareXD!

MY MOOOOOOOOD!!!!!!11!!1!!1111!!!11!!!1

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Sat Feb 28, 2009 3:20 am    Post subject: Reply with quote  Mark this post and the followings unread

The death weapon causes the error on impact and if you say this crashes on being killed, it's something else.

I looked through and this is suspiciously like a bad ShadowIndex or a bad SHP... I can't tell which yet so I'll confer with DCoder...

After a little conferencing with DCoder...

Add these to your new plane and test again;
Code:
DisableVoxelCache=yes
DisableShadowCache=yes

Back to top
View user's profile Send private message
NakedCrook
Medic


Joined: 22 Jan 2009

PostPosted: Sat Feb 28, 2009 7:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hey guys, thanks for all your input, I really appreciate it but I decided that this was a very fruitless endeavor to pursue. I just decided to backup my current rulesmd.ini and artmd.ini and restore one of my mod backups (which functions perfectly with no IE). I am just going to accredit this glitch to a corrupt mix or vlx/hva.

@Dark Templar X

I already had those tags in the art coding but thank you for your suggestion.

anyways, thanks again guys.

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