OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CopyrightPhilly on 22 Jun 2005, 08:17:26

Title: remove players hat/helmet?
Post by: CopyrightPhilly on 22 Jun 2005, 08:17:26
i read somone that this was possable with the setobjecttexture command

can somone tell me if it is possable and how to do it?

cheers,
Phil
Title: Re:remove players hat/helmet?
Post by: h- on 22 Jun 2005, 12:47:39
Would include things like making your own soldier model, or at least editing an existing one, etc...

You would need to 'mark' the helmet as a named selection (in O2) which would then be listed in the soldier's config in hiddenSelections after which you could add and remove textures from that named selection (the helmet) with setObjectTexture...
Title: Re:remove players hat/helmet?
Post by: CopyrightPhilly on 22 Jun 2005, 21:38:24
far to much work, i make maps, not addons  ;D

well at least the answer is here for the next john doe that comes along

thanks anway,

cheers,
Phil