Addon mesh causing CTD?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Commander_Keller
Master Sergeant
Master Sergeant
Posts: 171
Joined: Sun Apr 16, 2006 1:16 pm

Addon mesh causing CTD?

Post 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
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

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

Post 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.
Commander_Keller
Master Sergeant
Master Sergeant
Posts: 171
Joined: Sun Apr 16, 2006 1:16 pm

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

Post 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...
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

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

Post by Delta-1035 »

for the visor:

in the rep_inf_ep3_sniper.odf put:

AnimatedAddon = "headpiece"
GeometryAddon = "rep_waz_add_gogs"
AddonAttachJoint = "bone_head"
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

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

Post 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.
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

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

Post by Delta-1035 »

then i don't know why the game crash... i'm sorry
Commander_Keller
Master Sergeant
Master Sergeant
Posts: 171
Joined: Sun Apr 16, 2006 1:16 pm

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

Post by Commander_Keller »

don't matter... i'll keep trying. but thanks for your answers so far.

maybe i am gonna call it fart...
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

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

Post 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
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

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

Post 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?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

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

Post 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.
User avatar
Null_Clone_Assasin
Lance Corporal
Posts: 90
Joined: Wed Nov 12, 2008 7:24 pm

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

Post 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
Commander_Keller
Master Sergeant
Master Sergeant
Posts: 171
Joined: Sun Apr 16, 2006 1:16 pm

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

Post 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... ;)
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

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

Post by Teancum »

Hmmm, do you get any munge errors at all?
Commander_Keller
Master Sergeant
Master Sergeant
Posts: 171
Joined: Sun Apr 16, 2006 1:16 pm

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

Post 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
Post Reply