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 Sun Apr 12, 2026 12:01 am
All times are UTC + 0
Shipyard problem
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Paranoia
Cyborg Specialist


Joined: 04 Aug 2007

PostPosted: Fri Oct 05, 2007 8:15 am    Post subject:  Shipyard problem Reply with quote  Mark this post and the followings unread

Very strange.
-Doesn't appear ingame with any Cameo
-Active Animation doesn't work
-Only selectable on top right hand corner.

I'm sure the code is 100% correct, dont know whats going on.
Am i missing an important tag or something?

art.ini

[NADOCK]
Remapable=yes
Normalized=yes
Cameo=NTCHICON
Foundation=3x3
Buildup=NADOCKMK
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=no
ActiveAnim=NADOCK_A

[NADOCK_a]
Image=NADOCK_A
NewTheater=yes
Normalized=yes
LoopStart=0
LoopEnd=23
LoopCount=-1
Rate=220
Surface=yes
Start=0


rules.ini

[Nod Dock]
WaterBound=yes
Factory=UnitType
WeaponsFactory=no
BaseNormal=no
Adjacent=8
Name=Shipyard
Image=Nadock
Cost=1500
Owner=Nod
Prerequisite=NAPOWR
TechLevel=1
Capturable=yes
Powered=yes
ShipYard=yes
Power=-10
Strength=1500
Armor=light
AIBuildThis=yes

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Oct 05, 2007 9:08 am    Post subject: Re: Shipyard problem Reply with quote  Mark this post and the followings unread

-shp files must be in an ecacheXX.mix file (XX is a number higher than 01)
-you use NAdock. tthe second letter A tells the game that this is theater specific. So your dock (if in ecacheXX.mix) is only visible on snow maps. rename all SHPs so the second letter isn't an A or T. eg NXDOCK.
-don't know what you mean with only selectable on top right hand corner. Is it selectable or not? Only a part is strange.

In your code NADOCK has NewTheater=no telling that it has no theater specific image, but your activeanim has newtheater=yes. Check this. (rename your shps to no theater specific file name)

Do you added NADOCK_A to the [Animations] list in rules.ini? If not no anim is played.

In your anim the Start=0 tag can be removed.
Also remove the Image tag and write the a in NADOCK_a big. NADOCK_A
Write always and ever every name in Brackets and behind image tags UPPERCASE! (only for units/buildings/animations. Weapons and projectiles can use lowercase characters since they aren't connected to an external file with their name)
oh and don't use space in names. I doubt that it's good that you name it [Nod Dock]. Name it [NODDOCK]

Last edited by Lin Kuei Ominae on Fri Oct 05, 2007 9:29 am; edited 1 time in total

Back to top
View user's profile Send private message
Paranoia
Cyborg Specialist


Joined: 04 Aug 2007

PostPosted: Fri Oct 05, 2007 9:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
-shp files must be in an ecacheXX.mix file (XX is a number higher than 01

Cameo=NTCHICON


Quote:
-you use NAdock. tthe second letter A tells the game that this is theater specific. So your dock (if in ecacheXX.mix) is only visible on snow maps. rename all SHPs so the second letter isn't an A or T. eg NXDOCK.

Done. Still same problem


Quote:
-don't know what you mean with only selectable on top right hand corner. Is it selectable or not? Only a part is strange.


sorry wasn't being very clear, i meant the foundation, its 1x1 when it should be 3x3



ahhh.PNG
 Description:
 Filesize:  151.45 KB
 Viewed:  2075 Time(s)

ahhh.PNG



Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Oct 05, 2007 9:33 am    Post subject: Reply with quote  Mark this post and the followings unread

replace Nod Dock or NODDOCK however your name is here, with the name you put after the image tag. then delete the image tag.

If the rules.ini name is the same as the art.ini name you don't need image tags , so you can't mix up something with these.

the 1x1 foundation and missing cameo tells me that your building in rules.ini doesn't use the corresponding art.ini entry. So check all names! They have to be the same in both inis.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Paranoia
Cyborg Specialist


Joined: 04 Aug 2007

PostPosted: Fri Oct 05, 2007 9:46 am    Post subject: Reply with quote  Mark this post and the followings unread

well, the foundation is fixed and the cameo now appears however, the active animation still doesn't work.

rules.ini

[NXDOCK]
WaterBound=yes
Factory=UnitType
WeaponsFactory=no
BaseNormal=no
Adjacent=8
Name=Shipyard
Cost=1500
Owner=Nod
Prerequisite=NAPOWR
TechLevel=1
Capturable=yes
Powered=yes
ShipYard=yes
Power=-10
Strength=1500
Armor=light
AIBuildThis=yes

art.ini

[NXDOCK]
Remapable=yes
Normalized=yes
Cameo=NTCHICON
Foundation=3x3
Buildup=NXDOCKMK
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=no
ActiveAnim=NXDOCK_A

[NXDOCK_A]
NewTheater=no
Normalized=yes
LoopStart=0
LoopEnd=23
LoopCount=-1
Rate=220
Surface=yes

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Oct 05, 2007 10:04 am    Post subject: Reply with quote  Mark this post and the followings unread

-NXDOCK_A is in the [Animations] list in rules.ini?
-your SHPs filename is NXDOCK_A.shp or nxdock_a.shp (upper/lowercase doesn't plays a role on filenames)

if both is ok, add ActiveAnimZAdjust= tag to your [NXDOCK]. Without this, the anim can be played, but covered by the building itself, because the anim has a lower rendering layer.

ActiveAnimZAdjust raises the layer of the anim. you should test it with
ActiveAnimZAdjust=-25
ActiveAnimZAdjust=-50
ActiveAnimZAdjust=-75
ActiveAnimZAdjust=-100 or
ActiveAnimZAdjust=-125

a value higher (eh lower) than -127 is afaik not possible or isn't used by the game. But only on 4x4 buildings a value of about -100 is necessary. In most cases a value between -25 and -100 is enough.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Paranoia
Cyborg Specialist


Joined: 04 Aug 2007

PostPosted: Fri Oct 05, 2007 11:33 am    Post subject: Reply with quote  Mark this post and the followings unread

ahhhh! the animation list!

it all works now, thanks for your help.
Its always such a stupidly simple explanation. I feel like an idiot.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 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.1862s ][ Queries: 12 (0.0089s) ][ Debug on ]