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 Wed Jan 22, 2025 11:42 pm
All times are UTC + 0
Crashing Voxel RA2YR
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
happy072893
Vehicle Driver


Also Known As: Reii
Joined: 18 Nov 2024

PostPosted: Tue Nov 19, 2024 12:48 am    Post subject:  Crashing Voxel RA2YR
Subject description: A newbie RA2 member needing help with voxels
Reply with quote  Mark this post and the followings unread

I apologize if this might be the wrong section to post this, please kindly correct me where this should be posted if so.

The game crashes when the unit dies.
I'm trying to use a new plane model for the paradrop other than the default.

I've made entries on rulesmd.ini for new superweapon, unit, and in artmd.ini to make it work, making sure the "Image=" in rulesmd.ini is set to the voxel file name, also in artmd.ini "Voxel=yes"

These were the ones I wanted to use,

[RA2] BOMBER : Crashes the game
https://ppmforums.com/topic-19239/big-us-transport-planes-ra2/

And this mod: [RA2] BOMBER : also crashes the game
https://ppmforums.com/topic-23509/ra2-bomber/

They spawn without problems and are able to make the paradrop(tested on empty space on the map), I can spam it many times with no issues.

But as soon as I try to drop it at an enemy base and the enemy is able to kill the unit with anti-air weapons, it gives me the error message and the only option is "OK" then it closes the game. The crash happens when the unit dies before it even hits the ground if that helps.

This other one I tried, works perfectly fine, and can run the game for hours without crashing

Marauder : Working fine
https://ppmforums.com/viewtopic.php?t=14289

I've also attached an except.txt with the error code. I've been reading through this forum for hours and I can't seem to find the right places to conclude but to say the voxel may be corrupted?

Is there anyway I would be able to use the other first two links?

Any replies will be appreciated!



except.txt
 Description:

Download
 Filename:  except.txt
 Filesize:  27.5 KB
 Downloaded:  1 Time(s)


Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Tue Nov 19, 2024 3:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Most likely missing death sequence for the unit being killed, or you have some immunity tags possibly screwing with it.

You can at least test this by making it explode, specify valid DeathAnim=, and giving it a valid DeathWeapon...

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
happy072893
Vehicle Driver


Also Known As: Reii
Joined: 18 Nov 2024

PostPosted: Wed Nov 20, 2024 2:50 am    Post subject: Reply with quote  Mark this post and the followings unread

G-E wrote:
Most likely missing death sequence for the unit being killed, or you have some immunity tags possibly screwing with it.

You can at least test this by making it explode, specify valid DeathAnim=, and giving it a valid DeathWeapon...


Hi G-E! Thank you for your reply! I've actually seen your work with SE and it's absolutely fantastic!

By death sequence do you mean it's something that is encoded to the downloaded voxel file? because the last one I've downloaded works perfectly fine with the same codes, the first 2 are what is causing the crash when they die.

Not sure for any immunity tags sorry, I've only copied the base code of the original para drop plane's rules and art to the new one. Here is the code.

[newparaplane] ; New Paratrooper Drop Plane
UIName=Name:new paradrop pplane
Name=new paradrop pplane
Image=newplane111
Strength=400
Category=AirLift
Armor=light
TechLevel=-1
Primary=ParaDropWeapon ; Doesn't really fire it; dummy weapon
Spawned=yes ; Created by another object and therefore not player controllable
LeadershipRating=10
Selectable=no
RadarInvisible=no
Sight=0
Landable=no
MoveToShroud=yes
PitchAngle=0 ; default is 20 degrees
Speed=15
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Points=30
ROT=2
Crewed=yes
Ammo=100
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToPsionics=yes
CanPassiveAquire=no ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
MoveSound=PDPlaneMoveLoop
DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash
DeathWeapon=SmallExplosion

ARTMD.INI
[newplane111] ;New Paradrop Plane
Cameo=OBMBICON
Voxel=yes
PrimaryFireFLH=0,32,0
DisableVoxelCache=yes ; HY
DisableShadowCache=yes ; HY

I've only added the name and a death weapon, that was it.

With or without the death animation, the first two voxel links both crash regardless when they die. The third link is fine with or without the "DeathWeapon" entry

How do i "specify valid DeathAnim=" for planes, sorry I can only see InfDeath= on my rulesmd.ini, for infantry.

Please let me know how to resolve the issue of the game crashing when the plane dies, it only happens to the first two voxel links

Back to top
View user's profile Send private message
wow4ik81
Cyborg Soldier


Joined: 30 Nov 2023
Location: Germany

PostPosted: Wed Nov 20, 2024 1:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

what I would correct:

; rulesmd.ini
[NEWPARAPLANE]

UIName=Name:NEW_PARADROP_PPLANE

Image=NEWPLANE111


; artmd.ini
[NEWPLANE111]


pay attention to upper and lower case.

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Nov 20, 2024 1:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

The DeathWeapon is probably the issue, try removing it from the airplane's code and see if it work and/or post the weapon code here.

_________________



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
happy072893
Vehicle Driver


Also Known As: Reii
Joined: 18 Nov 2024

PostPosted: Wed Nov 20, 2024 11:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for the responses everyone, but It was the map that was causing it to crash, I don't know why, it's a custom YR map made from Final Alert 2, as soon as I changed maps the errors no longer occur. Thanks for the help!

Back to top
View user's profile Send private message
wow4ik81
Cyborg Soldier


Joined: 30 Nov 2023
Location: Germany

PostPosted: Thu Nov 21, 2024 3:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

could you upload the map?

Back to top
View user's profile Send private message
happy072893
Vehicle Driver


Also Known As: Reii
Joined: 18 Nov 2024

PostPosted: Tue Dec 10, 2024 12:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sorry for the late reply, here's the map. Everything is working fine now once I used Ares, been only using Npatch before. thanks



MapYR 8 X233 Yellow Star V2.yrm
 Description:

Download
 Filename:  MapYR 8 X233 Yellow Star V2.yrm
 Filesize:  713.51 KB
 Downloaded:  1 Time(s)


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