Jump to content
Sign in to follow this  
Zululu

Adding a new building in RA2:YR

Recommended Posts

I everyone, i started modding Red Alert 2 Yuri's Revenge just recently. Right now i'm having a lot of trouble trying to add a new building to the game: i was planning to add a new Soviet power plant using "I Man"'s Mini Reactor from YR Argentina. I used most of the pre-made codes in the download, with little changes in the rules and i saved the ini files. Since i then, the game keep crashing when i try to run it, giving me the error sound but no error notifications. This are the ini codes i'm using:

 

-ART:

 

[NAMREAC]
Normalized=yes
Remapable=yes
Cameo=MREACICON
Foundation=2x2
Height=4
Buildup=NAMREACMK
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
ActiveAnim=NAMREAC_A
ActiveAnimDamaged=NAMREAC_AD
ActiveAnimZAdjust=-5
CanBeHidden=False
OccupyHeight=3
RemoveOccupy1=0,-1
RemoveOccupy2=-1,1
RemoveOccupy3=-1,2
RemoveOccupy4=0,2
RemoveOccupy5=0,3
DamageFireOffset0=72,15
DamageFireOffset1=-44,71
[NAMREAC_A]
Image=NAMREAC_A
Normalized=yes
NewTheater=yes
Layer=ground
Start=0
LoopStart=0
LoopEnd=10
LoopCount=-1
Rate=220
DetailLevel=2
; Mini Nuclear power plant damaged active animation
[NAMREAC_AD]
Image=NAMREAC_A
Normalized=yes
;NewTheater=yes
Layer=ground
Start=11
LoopStart=11
LoopEnd=21
LoopCount=-1
Rate=220
DetailLevel=2
-RULES:
#Buildingtypes: 407=NAMREAC
#Animations: 1072=NAMREAC_A
1073=NAMREAC_AD
#Buildingrules:
[NAMREAC]
UIName=Name:NAMREAC
Name=Soviet Nuclear Reactor
BuildCat=Power
Strength=600
Armor=concrete
TechLevel=1
Prerequisite=NACNST
Adjacent=2
Sight=4
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs
AIBasePlanningSide=1 ;gs 0 for Good, 1 for Evil
Cost=800
Points=20
Power=600
Crewed=yes
Capturable=true
DamageSmokeOffset=410, 100, 165
MaxDebris=15
MinDebris=5
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM
DamageParticleSystems=SmallGreySSys,BigGreySmokeSys
Powered=no
IsImmuneToRadiation=yes
Explodes=yes
AIBuildThis=yes
DeathWeapon=TerrorBomb
DeathWeaponDamageModifier=0.5
Spyable=yes
ProtectWithWall=no
That's it. I can't tell what i did wrong with it: acording to the instructions in the download, everything should be alright, but since i'm total noob with RA2YR modding and the fact that i haven't found any tutorial on adding a new building to the game, i must have messed up something. Can anybody help me? Sorry for my poor english.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×