Posted: Wed Aug 01, 2018 12:05 pm Post subject:
building not showing shp in game
I am trying to replace the vanilla allied AirHQ with the runway version (by mig eater - downloaded from mental omega resource page) but ingame the building is invisible. none of the shps show up (I forgot to take a screen shot)
here is the code
;rulesmd.ini
[GAAIRC]
UIName=Name:GAAIRC
Name=Allied Airforce Command Headquarters
BuildCat=Tech
Prerequisite=GAREFN,GACNST
Strength=600
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=1000
Points=70
Power=-50
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=4
HasStupidGuardMode=false
Radar=yes
Spyable=yes
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
Image=GAAIRCHQ
All you need to change in the code is the Foundation & the DockingOffset, everything else can be the same. Check the shp files to see if they are named correctly & if you have the normal & snow versions etc. Could also be because your using Image=GAAIRCHQ & not the original GAAIRC etc. _________________
If I may: file placement might also be the source of the inviso building problem.
Whether or not the SHPs are all in an elocal or expand MIX.
^this is dependant on the game(md) you were testing with. _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
All you need to change in the code is the Foundation & the DockingOffset, everything else can be the same. Check the shp files to see if they are named correctly & if you have the normal & snow versions etc. Could also be because your using Image=GAAIRCHQ & not the original GAAIRC etc.
I have changed the foundation and docking, they are the same as MO and RR.
I also tried naming the shp files the same as GAAIRC, but it just shows the vanilla building with a larger foundation.
And TAK02, i have placed the files in expandmd02, which also has other shp files for different structures (and units) which work fine QUICK_EDIT
You'll need to change the GAAIRCHQ and related files to GAAIRC if you want to replace the original GAAIRC _________________ I'll throw bananas at your general direction. QUICK_EDIT
Hello there i woukd like to post a new problem here but after I saw these one, we have the same issues. No shps are showing, now i would like to ask if im adding a new building is it possible to make a new one and not based by just copied codes of other buildings also im running the NPATCH anyway???? QUICK_EDIT
Hello there i woukd like to post a new problem here but after I saw these one, we have the same issues. No shps are showing, now i would like to ask if im adding a new building is it possible to make a new one and not based by just copied codes of other buildings also im running the NPATCH anyway???? 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