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 Thu Mar 28, 2024 1:17 pm
All times are UTC + 0
building not showing shp in game
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
UNSC THE CHILL OF WAR
Combat Engineer


Joined: 15 Nov 2017

PostPosted: Wed Aug 01, 2018 12:05 pm    Post subject:  building not showing shp in game Reply with quote  Mark this post and the followings unread

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


[Animations]
811=GAAIRCHQ_A
812=GAAIRCHQ_AD
813=GAAIRCHQ_B
814=GAAIRCHQ_BD
815=GAAIRCHQ_C
816=GAAIRCHQ_CD


;artmd.ini


[GAAIRCHQ] ;allied air HQ
Remapable=yes
CameoPCX=heliicon.pcx
Foundation=3x5
Height=7
Flat=yes
Buildup=GAAIRCHQMK
BibShape=GAAIRCHQBB
NewTheater=yes
DockingOffset0=40,-400,0
DockingOffset1=40,150,0
DockingOffset2=220,-150,0
DockingOffset3=220,400,0
;DockingOffset0=-256,-384,0
;DockingOffset1=0,-128,0
;DockingOffset2=-256,256,0
;DockingOffset3=0,512,0
ActiveAnim=GAAIRCHQ_A
ActiveAnimZAdjust=-25
ActiveAnimYSort=362
ActiveAnimPowered=no
ActiveAnimTwo=GAAIRCHQ_B
ActiveAnimTwoDamaged=GAAIRCHQ_BD
ActiveAnimTwoZAdjust=0
ActiveAnimTwoYSort=362
ActiveAnimTwoPowered=no
ActiveAnimThree=GAAIRF_C
ActiveAnimThreeDamaged=GAAIRCHQ_CD
ActiveAnimThreeZAdjust=-80
ActiveAnimThreeYSort=543
ActiveAnimThreePowered=true
CanHideThings=True
CanBeHidden=False
OccupyHeight=2
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
ZShapePointMove=100,50

[GAAIRCHQBB]
Layer=ground

[GAAIRCHQ_A]
Normalized=no
LoopStart=0
LoopEnd=8
LoopCount=-1
Rate=220
Layer=ground
NewTheater=yes
Shadow=yes

[GAAIRCHQ_B]
Normalized=no
LoopStart=0
LoopEnd=6
LoopCount=-1
Rate=220
Layer=ground
NewTheater=yes
Shadow=yes

[GAAIRCHQ_BD]
Image=GAAIRCHQ_B
Normalized=no
LoopStart=6
LoopEnd=12
LoopCount=-1
Rate=220
Layer=ground
Shadow=yes

[GAAIRCHQ_C]
Normalized=no
LoopStart=0
LoopEnd=8
LoopCount=-1
Rate=220
Layer=ground
NewTheater=yes
Shadow=yes

[GAAIRCHQ_CD]
Image=GAAIRCHQ_C
Normalized=no
LoopStart=8
LoopEnd=16
LoopCount=-1
Rate=220
Layer=ground
Shadow=yes

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Aug 01, 2018 12:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

_________________



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
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Wed Aug 01, 2018 2:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

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. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
UNSC THE CHILL OF WAR
Combat Engineer


Joined: 15 Nov 2017

PostPosted: Wed Aug 01, 2018 3:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
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

Back to top
View user's profile Send private message ModDB Profile ID
Flaguna
Cyborg Engineer


Joined: 07 Feb 2018
Location: HUELand

PostPosted: Thu Aug 02, 2018 5:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
Junie Jolo
Civilian


Joined: 30 Nov 2018

PostPosted: Sat Dec 01, 2018 1:16 am    Post subject: Reply with quote  Mark this post and the followings unread

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????

Back to top
View user's profile Send private message
Junie Jolo
Civilian


Joined: 30 Nov 2018

PostPosted: Sat Dec 01, 2018 1:18 am    Post subject: Reply with quote  Mark this post and the followings unread

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????

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


Joined: 09 Feb 2015

PostPosted: Sat Dec 01, 2018 2:21 am    Post subject: Reply with quote  Mark this post and the followings unread

Just to clarify, are they invisible in-game or in map editor?

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

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.1476s ][ Queries: 11 (0.0080s) ][ Debug on ]