Help - Search - Members - Calendar
Full Version: More SHP Trouble
TiberiumWeb.org Community Forums > Tiberian Sun > TS Discussion
Altzan
I have seen many topics here regarding SHP troubles but I still cannot solve this problem.
I have tried to install Mech Factory by LKO (very nice btw wink2.gif ) And No matter what I try it won't show up ingame.
Here's what I have:
I downloaded the files.
I installed the SHPs in ECACHE02.mix in the main SUN directory.
I also installed them in EXPAND01.mix.
I put in this code:

ART.INI
CODE
; Clone of MECHFACT
[MECHFACT]
Remapable=yes
Cameo=MECHFACTICONG
Foundation=4x3
Height=3
AnimActive=0,0,0
Buildup=MECHFACTMK
DemandLoadBuildup=true
FreeBuildup=true
DeployingAnim=MECHFACT_2
DoorAnim=MECHFACT_D
DoorStages=17
DamagedDoor=yes
UnderDoorAnim=MECHFACT_1
;NewTheater=yes
BibShape=MECHFACT_BB
NormalZAdjust=8
ActiveAnim=MECHFACT_A
ActiveAnimZAdjust=-119
ActiveAnimTwo=MECHFACT_B
ActiveAnimTwoZAdjust=-25
ProductionAnim=MECHFACT_P
ProductionAnimZAdjust=-125

ActiveAnimFour=NAREFN_B
ActiveAnimFourZAdjust=-125
ActiveAnimFourX=5
ActiveAnimFourY=-30


; Clone of MECHFACT_A
[MECHFACT_A]
Normalized=yes
LoopStart=0
LoopEnd=8
LoopCount=-1
Rate=400
Surface=yes
DetailLevel=1


; Clone of MECHFACT_B
[MECHFACT_B]
Normalized=yes
LoopStart=0
LoopEnd=19
LoopCount=-1
Rate=300
Surface=yes
DetailLevel=1


; Clone of MECHFACT_P
[MECHFACT_P]
Image=MECHFACT_P
Start=20
End=24
LoopStart=20
LoopEnd=24
LoopCount=1
Rate=50
Surface=yes
DetailLevel=1
Next=MECHFACT_P2


; Clone of MECHFACT_P2
[MECHFACT_P2]
Image=MECHFACT_P
Normalized=yes
Start=0
LoopStart=0
LoopEnd=19
LoopCount=-1
Rate=300
Surface=yes
DetailLevel=1


RULES.INI
CODE
Buildings list
263=DLIMPET
264=C_KODIAK
265=DGWEAP
266=DNWEAP
267=MSTL
268=DDEFD
269=AAOB
270=CORE
271=CROB
272=INORNGLAMP
273=MECHFACT
...

Animations List
834=OBL2_BD
835=OBL2_C
836=OBL2_CD
837=DEFD_EXP
838=MEMPFX
839=MECHFACT_A
840=MECHFACT_B
841=MECHFACT_1
842=MECHFACT_2
843=MECHFACT_D
844=MECHFACT_P
845=MECHFACT_P2
...


; Clone of MECHFACT
[MECHFACT]
Name=Mech Factory
WeaponsFactory=yes
Prerequisite=FACTORY
Factory=UnitType
DeployTime=.044
Strength=1000
Armor=heavy
TechLevel=2
Sight=4
Adjacent=5
Owner=GDI
Cost=2000
Points=80
Power=-30
Capturable=true
Crewed=yes
Bib=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=8
ThreatPosed=0; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=408, 880, 435
;AIBuildThis=yes
Image=MECHFACT


I can build it but there is no image, it is invisible.
I am sure this is unrelated but I am using TibEd to add this.

Anyone have an idea what I'm doing wrong?
SeekSomethingNew
TibEd = Fail

LKO... your SHP's are attracting errors tongue.gif
Lin Kuei Ominae
QUOTE (TSHyper @ Nov 25 2007, 12:56 AM) *
LKO... your SHP's are attracting errors tongue.gif
i noticed this too.
maybe because SHP's are more tricky than vxl, especially if they add new anims.

@Altzan
From what i can see you have FS. Maybe this tutorial helps.
However, the code you posted seems to be correct. Maybe you check again your mix files. btw the game doesn't read SHP's from expandXX.mix files. Only ecacheXX.mix files work. But you wrote that you already tried it with ecache02.mix, what is correct.
Do you renamed the shp files?

you can upload (or send me a pm) your art.ini, rules.ini and ecache02.mix and i'll have a look.
Altzan
QUOTE (Lin Kuei Ominae @ Nov 25 2007, 12:03 AM) *
Maybe this tutorial helps.


Yeah I do have FS.The tutorial looks helpful, I'll try it. I'll also upload the files.

EDIT: Haha, congrats LKO. Good news and bad news:
I can see the factory now. Looks great! biggrin.gif
But now FS units aren't showing up. (Juggernaut was invisible except for the rotating gun in deployed mode.) dry.gif
Any idea what i might have done wrong? I d/l the files from tutorial, inserted rules and art into expand01, copied rules, art, and expand02 into main directory. Then I reinstalled the mech factory.
Lin Kuei Ominae
i think i found the error.
Don't use tibed and move the entries at the correct point in the inis.
In art.ini move the entries before the [Movies] section. the building to the other buildings (together with its anims) and the units to the beginning of the file where the other units are.
In rules.ini move the building to the other buildings and the Starwars units to the other units.

tibed also adds silly lines "; clone of ..." to them. i don't know from what tibed cloned them since these are complete new entries.

i also recommend to rename ecache97.mix back to ecache02.mix.
Altzan
QUOTE (Lin Kuei Ominae @ Nov 26 2007, 12:53 AM) *
i think i found the error.
Don't use tibed and move the entries at the correct point in the inis.
In art.ini move the entries before the [Movies] section. the building to the other buildings (together with its anims) and the units to the beginning of the file where the other units are.
In rules.ini move the building to the other buildings and the Starwars units to the other units.

tibed also adds silly lines "; clone of ..." to them. i don't know from what tibed cloned them since these are complete new entries.

i also recommend to rename ecache97.mix back to ecache02.mix.

I didn't use Tibed to install those files from tutorial so it shouldn't have to do with the problem.
Entries are at their proper locations, and the files witht he shps are in ecache01.mix.
Lin Kuei Ominae
no, don't use ecache01.mix. It's already used from firestorm, placed in expand01.mix.
Use ecache02.mix!
Altzan
That makes perfect sense, I can't believe I did that tongue.gif
I can't try it right now though, I'll give it a shot when I get home.
Thanks LKO!

EDIT: Confirmed, everything works. Thanks everyone!
Aro
I don't understand why people are having problems with LKO's mech factory. Someone was asking me for help on it on MSN. huh.gif
When i first downloaded it, it worked perfectly fine first time, no problems, no nothing... Have you updated it since the first release, LKO?
Lin Kuei Ominae
no. It's still the same version.
But to implement SHPs seems to be a problem for some, due to the things you have to watch out. ecacheXX.mix files, [Animations] list + add firestorm anims first, the place where to put the ini entries etc.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.