Posted: Sat Dec 07, 2024 9:12 pm Post subject:
Yuri Airpad Crashes The Game ?
I don't know if this code is complete because I downloaded it from YR ARGENTINA'S site.
When the game goes to the loading screen, around 5 seconds later you see the computer's cursor so you know it crashed.
FROM THE INCLUDED CODES
[YAAIRPAD]
Remapable=yes
Cameo=YAAIRPADICON
Foundation=3x2
Height=7
Flat=yes ; while this is a valid BuilType flag, it does nothing.
Buildup=YAAIRPADMK
BibShape=YAAIRPADBB
ZShapePointMove=60,30 ; SJM is fixing zshape/zshapelocky problems, changed from 0,0
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
DockingOffset0=0,-128,0 ;-80,80,0
DockingOffset1=0,128,0 ;-80,-208,0
DockingOffset2=256,-128,0 ;208,80,0
DockingOffset3=256,128,0 ;208,-208,0
CanHideThings=True
CanBeHidden=False
OccupyHeight=3
AddOccupy1=-1,-1
AddOccupy2=-1,0
AddOccupy3=-2,-1
AddOccupy4=-3,-2
RemoveOccupy1=1,0
RemoveOccupy2=2,0
RemoveOccupy3=1,1
RemoveOccupy4=2,2
DamageFireOffset0=-36,23
DamageFireOffset1=-21,6
[YAAIRPAD]
UIName=Name:YAAIRPAD
Name=Yuris Airpad
BuildCat=Tech
Prerequisite=YAREFN,YACNST
Strength=450
Armor=steel
Adjacent=2
TechLevel=3
Sight=5
UnitReload=yes
;UnitRepair=yes;gs this is part of reloading + being an aircraft (Repair code is oogly, only Reload got rewritten for four ports.)
Helipad=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
ForbiddenHouses=Americans
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=450
Points=40
Power=-25
Factory=AircraftType
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6LG,DBRIS6SM,DBRIS7LG
MaxDebris=8
MinDebris=4
ThreatPosed=0 ; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=75, 270, 140
AIBuildThis=yes
NumberOfDocks=1
HasStupidGuardMode=false
Radar=no
Spyable=no
ImmuneToPsionics=no ; defaults to yes for buildings, no for others QUICK_EDIT
I have been at this for around 8 hours and no matter what I do this airpad crashes the game.
I'm also wasn't sure about the aircraft vxl and wonder if that file is corrupted.
Since this airpad was made for 1 aircraft, I deleted 3 ofthe ADDOCCUPY, REMOVEOCCUPY and DOCKING OFFSET lines of code and just left the first lines.
This did not work.
When I remove all traces of this yuri airpad code, including theSHP files from the MIX, instantly the game works.
Here is the full code along with the plane that goes to the pad.
[ARTMD]
[YAAIRPAD]
Remapable=yes
Cameo=YAAIRPADICON
Foundation=3x2
Height=7
Flat=yes ; while this is a valid BuilType flag, it does nothing.
Buildup=YAAIRPADMK
BibShape=YAAIRPADBB
ZShapePointMove=60,30 ; SJM is fixing zshape/zshapelocky problems, changed from 0,0
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
DockingOffset0=0,-128,0 ;-80,80,0
DockingOffset1=0,128,0 ;-80,-208,0
DockingOffset2=256,-128,0 ;208,80,0
DockingOffset3=256,128,0 ;208,-208,0
CanHideThings=True
CanBeHidden=False
OccupyHeight=3
AddOccupy1=-1,-1
AddOccupy2=-1,0
AddOccupy3=-2,-1
AddOccupy4=-3,-2
RemoveOccupy1=1,0
RemoveOccupy2=2,0
RemoveOccupy3=1,1
RemoveOccupy4=2,2
DamageFireOffset0=-36,23
DamageFireOffset1=-21,6
BUILDING LIST
541=YAAIRPAD
ANIMATION LIST
1185=YAAIRPADMK
1186=YAAIRPADBB
[AIRCRAFT FOR AIRPAD]
[DRAGONON]
UIName=Name:DRAGONON
Name=DRAGONON
Image=DRAGONON
;Image=FALC
Prerequisite=RADAR
Primary=ValhalaMissile
ElitePrimary=ValgaMissile
CanPassiveAquire=yes ; Won't try to pick up own targets
CanRetaliate=yes; Won't fire back when hit
Strength=600
Category=AirPower
Armor=light
TechLevel=3
Sight=8
RadarInvisible=no
Landable=yes
MoveToShroud=yes
Dock=YAAIRPAD
Speed=16
PitchSpeed=0.9
PitchAngle=1.5
RollAngle=50
JumpjetCrash=25 ; Climb, but down
JumpjetHeight=2575
OmniFire=yes
Owner=YuriCountry
ForbiddenHouses=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs
Cost=1500
Points=20
ROT=6
Ammo=8
PipScale=Ammo
Crewed=yes
ConsideredAircraft=yes
AirportBound=yes
Explodes=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DeathWeapon=JetCrashExplosion
MaxDebris=58
IsSelectableCombatant=yes
;VoiceSelect=IntruderSelect
;VoiceMove=IntruderMove
;VoiceAttack=IntruderAttackCommand
;VoiceCrashing=IntruderVoiceDie
DieSound=JetAirExplo
MoveSound=IntruderMoveLoop
CrashingSound=IntruderDie
ImpactLandSound=RaiderDie
;ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=IntruderTakeOff ;Taking off
AuxSound2=IntruderLanding ;Landing
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=STRONGER,FIREPOWER,ROF
Fighter=yes
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
PreventAttackMove=yes
SelfHealing=yes
GuardRange=175
[ValhalaMissile]
Damage=150
ROF=50
Range=9
Projectile=AirToGroundMissile ;GEF was AAHeatSeeker2 ; was HeatSeeker
Speed=70
Warhead=ValWH
Report=IntruderAttack
Burst=1;2
[ValgaMissile]
Damage=200
ROF=50
Range=18
Projectile=AirToGroundMissile ;GEF was AAHeatSeeker2 ; was HeatSeeker
Speed=70
Warhead=ValHeadWH
Report=IntruderAttack
Burst=1;2
[ValWH]
Wall=yes
Wood=yes
CellSpread=2
PercentAtMax=1
Verses=100%,100%,100%,100%,100%,100%,100%,100%,50%,100%,100%
Conventional=yes
InfDeath=3
AnimList=S_CLSN16,S_CLSN22,S_CLSN30,S_CLSN42,S_CLSN58
ProneDamage=75%
PenetratesBunker=yes;If shot at a bunkered tank, no means the bunker gets the damage, yes means the unit does
YAAIRPADMK doesnt need to be defined as an animation or given a dedicated art.ini entry since buildup animations are handled with hardcoded
settings, but YAAIRPADBB should be defined with an art.ini entry. also; even though it is a bib, you should list it instead as an active animation and
use flat=yes to make it render underneath the aircraft. bib logic actually has hardcoded stuff attached to it that you arent going to want in your building. _________________ visit my moddb profile for .shp downloads and stuff QUICK_EDIT
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