Ok so i am trying to save space in my mod so i tried to use the SetClassProperty to change the geometry to use a different skin and model i added this line to my lua am i doing this right?
SetClassProperty("rep_inf_ep3_engineer", "GeometryName","rep_inf_brown_scout.msh")
or is it
SetClassProperty("rep_inf_ep3_engineer", "GeometryName","rep_inf_brown_scout")
or something totally different?
in my bf2 log it says it cant find the geometry help please.
SetClassProperty
Moderator: Moderators
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: SetClassProperty
i dont think that will work, but what it appears you are trying to do is just set the geometry, not change the skin.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: SetClassProperty
the rep_inf_brown_scout msh uses a different skin and model and why wont it work? if you would please elaborate 
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: SetClassProperty
Are you making a custom side? If so then this will not save you any space, it will actually cost you a few bytes. If you are changing a stock side, cool idea, make sure you load a unit that uses that .msh by default before you try adding the .msh to another unit, you dont have to add it to a team though.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: SetClassProperty
i am useing the stocks sides edited though so let me see if i get what your saying if i made a new unit req,odf,ect and had it use the brown scout msh than i could use set class property for any other units i wanted to use that msh?
