Page 1 of 1

Addon mesh causing CTD?

Posted: Wed Feb 04, 2009 10:40 am
by Commander_Keller
after making the serach engine steam and running out of fuel i finally have no other choice than creating a thread.
i wonder what i am doing wrong. i want to add a visor to a sniper unit and pauldrons to another unit (i know one can normally add only one mesh to a unit) and every time i do this it causes my game to CTD. i added the following lines to the respective units:

to the gunner's odf u added:
AnimatedAddon = "headpiece"
GeometryAddon = "rep_waz_add_pauldron"
AddonAttachJoint = "bone_ribcage"

to the sniper's odf i added:
AnimatedAddon = "GOGGLES"
GeometryAddon = "rep_waz_add_gogs"
AddonAttachJoint = "bone_head"

when i delete those lines the game works just fine. and yes, i have put the meshes the odf's are calling for into my side's msh folder. nothing else has been changed in these odf's exept those addon lines. the units are ep2 clones.
did i mix something up in the lines i added? can someone out there help me please?

so thanks in advance,
keller

Re: asking for help please: addon mesh => CTD

Posted: Wed Feb 04, 2009 10:43 am
by Teancum
Did you try only removing one of those? It may be that only one of those is causing a crash, and that would help narrow it down.

Re: asking for help please: addon mesh => CTD

Posted: Wed Feb 04, 2009 10:56 am
by Commander_Keller
first of all, thanks for your answer.
yes, i did. it seems to happen for each single one of them. do you think i have screwed up meshes maybe? they are from wazmol's asset pack. but what i could read in the forums nobody seems to have problems with them so i guess it's me who made a mistake...

Re: asking for help please: addon mesh => CTD

Posted: Wed Feb 04, 2009 11:05 am
by Delta-1035
for the visor:

in the rep_inf_ep3_sniper.odf put:

AnimatedAddon = "headpiece"
GeometryAddon = "rep_waz_add_gogs"
AddonAttachJoint = "bone_head"

Re: asking for help please: addon mesh => CTD

Posted: Wed Feb 04, 2009 11:20 am
by Teancum
That shouldn't matter if I remember right. I had a custom headpiece and I called it FART for testing. It's just a reference name.

Re: asking for help please: addon mesh => CTD

Posted: Wed Feb 04, 2009 11:24 am
by Delta-1035
then i don't know why the game crash... i'm sorry

Re: asking for help please: addon mesh => CTD

Posted: Wed Feb 04, 2009 12:01 pm
by Commander_Keller
don't matter... i'll keep trying. but thanks for your answers so far.

maybe i am gonna call it fart...

Re: asking for help please: addon mesh => CTD

Posted: Wed Feb 04, 2009 6:36 pm
by obiboba3po
Teancum wrote:That shouldn't matter if I remember right. I had a custom headpiece and I called it FART for testing. It's just a reference name.
:lol: yea that part does not matter

Re: asking for help please: addon mesh => CTD

Posted: Wed Feb 04, 2009 8:10 pm
by fiddler_on_the_roof
did you add it to the unit odf, not the default odf? I don't know if it matters, but that is where i put it and
Hidden/Spoiler:
Image
(yes the guy looks stupid with it, just trying it out.)

this is my odf
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default_commander"


[Properties]
ClothODF = "rep_inf_ep3sniper_cape"

AnimationName = "fett"

AnimatedAddon = "headpiece"
GeometryAddon = "rep_waz_add_pauldron"
AddonAttachJoint = "bone_ribcage"

GeometryName = "rep_inf_ep3sniper"
GeometryLowRes = "rep_inf_ep3sniper_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"
plus, do you have an error log, in case there is anything in there?

Re: asking for help please: addon mesh => CTD

Posted: Thu Feb 05, 2009 1:54 am
by AQT
fiddler_on_the_roof wrote:did you add it to the unit odf, not the default odf? I don't know if it matters
It shouldn't matter. The addon mesh would end up being attached to the main msh anyway as the "unit" odf inherits from the "default" odf.

Re: asking for help please: addon mesh => CTD

Posted: Thu Feb 05, 2009 1:48 pm
by Null_Clone_Assasin
i added gogs and it easily worked!!! :D

can we see the whole odf?
here is mine
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default_rifleman"


[Properties]

AnimatedAddon = "headpiece"
GeometryAddon = "rep_waz_add_gogs"
AddonAttachJoint = "bone_head"

GeometryName = "rep_inf_ep3jango"
GeometryLowRes = "rep_inf_ep3jango"
FirstPerson = "REP\reptroop;rep_1st_trooper"
here is what i added to make it work
Hidden/Spoiler:
AnimatedAddon = "headpiece"
GeometryAddon = "rep_waz_add_gogs"
AddonAttachJoint = "bone_head"
thats all and it should work
at least it worked for me

Re: asking for help please: addon mesh => CTD

Posted: Thu Feb 05, 2009 2:50 pm
by Commander_Keller
of course you can see the whole odf:


rep_inf_ep3_sniper.odf:

[GameObjectClass]
ClassParent = "rep_inf_default_sniper"

[Properties]

GeometryName = "rep_inf_ep3trooper"
GeometryLowRes = "rep_inf_ep3trooper"
FirstPerson = "gre\reptroop;rep_1st_troopr"

AnimatedAddon = "headpiece"
GeometryAddon = "rep_waz_add_pauldron"
AddonAttachJoint = "bone_ribcage"


the first person view works. that's definitely not the problem.
maybe somebody else can see more than i do... ;)

Re: asking for help please: addon mesh => CTD

Posted: Thu Feb 05, 2009 3:20 pm
by Teancum
Hmmm, do you get any munge errors at all?

Re: asking for help please: addon mesh => CTD

Posted: Thu Feb 05, 2009 4:24 pm
by Commander_Keller
nope, only the usual warnings. maybe i should start all over and go step by step.
thank you all for your efforts.
see ya 'round...
keller