Posted: Tue May 10, 2011 4:14 am Post subject:
SHP failed to show in game [RA2]
Hi there,
I am quite new to modding and recently, I tried to put a new pillbox into RA2.
For some reasons, the pillbox just won't show up on the map in the game. But I can see the cameo showing correctly.
These are the THREE .mix files I have, lying discretely in the RA2 directory.
- expand98.mix
- ecache98.mix
- ra2.csf (probably irrelevant to my problem)
So I put gafpill.shp, gafpillmk.shp and gafpillico.shp in ecache98.mix. Then I updated rules.ini and art.ini (code shown below) and put them in expand98.mix.
Rules.ini
Code:
[BuildingTypes]
;... continuing from original BuildingTypes list
320=gafpill
;... go to [gapill] and copied the section and pasted below
[GAFPILL]
UIName=Name:SPILL ;already updated in CSF
Name=Sniper Pillbox
BuildCat=Combat
Strength=700
Armor=steel
Prerequisite=BARRACKS,GACNST
TechLevel=5
Adjacent=12
ROT=10
Sight=9
DetectDisguise=no
Owner=British,French,Germans,Americans,Alliance
RequiredHouses=French
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=1300
BaseNormal=no
Points=30
Power=0
Crewed=no
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
MaxDebris=15
MinDebris=5
Primary=AWP3
ThreatPosed=30 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,LGSparkSys
IsBaseDefense=yes
HasStupidGuardMode=false
AIBuildThis=yes
The first letter of building file names are factional. G=Allies, N=Soviets, Y=Yuri. I am unsure if this has any real value.
However, the second letter is important as it dictates what theater to show a building in. G=General (default for the others), A=Artic, T=Temperate, U=Urban. _________________ "It's got that Droke style to it!" QUICK_EDIT
G, N, Y and C are the only valid starting letters in vanilla (aka no NPatch/RockPatch or Ares) RA2 and YR. If you use the others, multiple theater art doesn't work; it will always show arctic. _________________ KGR | AT
AZUR
Discord: theastronomer1836
Steam QUICK_EDIT
From what I saw, yes. Add them. I personally didn't see anything else wrong, though I could have missed something.
Cameos go in ecache*.mix, and I believe buildings also work there. I personally put buildings into expand*.mix, but I think both work. _________________ "It's got that Droke style to it!" QUICK_EDIT
Posted: Tue May 10, 2011 5:21 am Post subject:
shp
FurryQueen wrote:
G, N, Y and C are the only valid starting letters in vanilla (aka no NPatch/RockPatch or Ares) RA2 and YR. If you use the others, multiple theater art doesn't work; it will always show arctic.
Well, I never used G, N, Y, C to start off a building name in Van Yuri. I've labeled them as Building01 and so on, or what ever the building was. And that was before I used any patch _________________ I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue May 10, 2011 9:02 am Post subject:
If you use non-valid letters at start, then you can't use NewTheater. That's fixed on Ares 0.1.
Felastine, at NewTheater=yes, the second character defines the terrain. G is generic, A is arctic, D is desert, U is urban and L is lunar. If a terrain-specific art is missing, generic will be loaded instead. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Felastine, at NewTheater=yes, the second character defines the terrain. G is generic, A is arctic, D is desert, U is urban and L is lunar. If a terrain-specific art is missing, generic will be loaded instead.
And for sake of completeness: You forgot NewUrban which is letter N. _________________ QUICK_EDIT
Well, I never used G, N, Y, C to start off a building name in Van Yuri. I've labeled them as Building01 and so on, or what ever the building was. And that was before I used any patch
As long as art uses this logic it'll work. In rulesmd you can use any reasonable name and Image=.
Anyway labeling your stuff "Building01 and so on" sounds like a really dumb idea.
Graion Dilach wrote:
G is generic, A is arctic, D is desert, U is urban and L is lunar.
Posted: Tue May 10, 2011 12:39 pm Post subject:
shp
Sorry, forgot to mention those were just my civilian buildings. _________________ I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue May 10, 2011 1:24 pm Post subject:
@OBolt and Starkku
I remembered NewUrban uses Urban buildings... OK, thanks. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... 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