Home   Help Search Login Register  

Author Topic: "Chaning clothes" possible?  (Read 2371 times)

0 Members and 1 Guest are viewing this topic.

Serial Killer

  • Guest
"Chaning clothes" possible?
« on: 03 May 2005, 18:56:23 »
Is it possible to change clothes in OFP? Like chanching model or textures, etc. etc. Possible?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:"Chaning clothes" possible?
« Reply #1 on: 03 May 2005, 19:06:48 »
Nop.

:beat: *Gets Shot* :beat:

Offline Garcia

  • Members
  • *
  • Leeds United is the best football team...EVER!
Re:"Chaning clothes" possible?
« Reply #2 on: 03 May 2005, 20:27:44 »
Errrm, I'm quite sure I saw someone do this a few years back...

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:"Chaning clothes" possible?
« Reply #3 on: 03 May 2005, 21:44:13 »
Only possible by doing a 'mini-campaign' (one mission in several parts, and between those parts the clothes get changed...) or with respawn in MP...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Morglor9

  • Members
  • *
Re:"Chaning clothes" possible?
« Reply #4 on: 03 May 2005, 23:20:38 »
would a new addon where the clothes are objecttextures work, so that you can use the setobjecttexture command like you do to change the nose paint on the nam pack hueys?
Cymbaline

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:"Chaning clothes" possible?
« Reply #5 on: 04 May 2005, 14:14:45 »
There is a way, might not be the ideal solution for what you want to do, however its the only way i know of

what you can do is the following


a) create a group of units Iideally 2)
..... 1 playable & 1 not playable
b) set respawn to group
d) when you want to change clothes, kill yourself, and you will automatically be transferred into the body of the new unit, and in the clothes for that class of unit
e) setpos that unit to your dead body
f) remove your dead body

to reduce the visualisation of dying and respawning, set respawn delay to 0.001


you need 1 unit alive before you die to respawn into
so what you can do is start with a spare unit and then on your death create a spare unit

this can all be incorporated into an Action available in your menu list
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Serial Killer

  • Guest
Re:"Chaning clothes" possible?
« Reply #6 on: 04 May 2005, 16:28:56 »
Is it possible in singlemissions?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:"Chaning clothes" possible?
« Reply #7 on: 04 May 2005, 16:58:50 »
No.   No respawn in SP.   You have to use the mini-campaign workaround.
Plenty of reviewed ArmA missions for you to play

Serial Killer

  • Guest
Re:"Chaning clothes" possible?
« Reply #8 on: 04 May 2005, 17:33:32 »
You know that BAS Tonal campaign? In first mission - if you die, you can play it again with new unit :o How is it possible?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:"Chaning clothes" possible?
« Reply #9 on: 04 May 2005, 20:26:28 »
I have no idea.  Why not unpbo it and find out?
Plenty of reviewed ArmA missions for you to play

Serial Killer

  • Guest
Re:"Chaning clothes" possible?
« Reply #10 on: 04 May 2005, 20:41:23 »
I deleted it and it's over 100mt. Don't want to download it again for that..

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:"Chaning clothes" possible?
« Reply #11 on: 04 May 2005, 21:54:57 »
Well I just played it and I sure AFAIK you ain't alive when you see the big red letters saying "YOU ARE DEAD". If you get an extra life why did nobody tell me? So much retry-pressing gone to waste. :-\

:beat: *Gets Shot* :beat:

hermano

  • Guest
Re:"Chaning clothes" possible?
« Reply #12 on: 24 May 2005, 17:06:57 »
Yes it is possible to some degree. BAS did it.
Have a look at the randCivieInit.sqs located in the FX folder of the BAS_OPCPP.pbo:

_unit = _this select 0

_randInt = loadFile "\BAS_OPCPP\FX\randInt.sqf"


_randHead = [0,5] call _randInt
_randTop = [6,11] call _randInt
_randTrouser = [12,17] call _randInt

; head
call format ["_unit setobjecttexture [%1,{\BAS_opfor\civ\bas_a_face_%2.pac}]",_randHead,_randHead+1];

; top
call format ["_unit setobjecttexture [%1,{\BAS_opfor\civ\bas_a_civ_%2.pac}]",_randTop,_randTop-5];

; trouser
call format ["_unit setobjecttexture [%1,{\BAS_opfor\civ\bas_a_civ_%2.pac}]",_randTrouser,_randTrouser-11];

exit

The problem is you will need a model that supports this and some textures. Have a look at the BAS Opfor files. I experimented with this a little, one problem is that you can change the appeareance of a unit only for a few times (~5 times, this was related to a pivots thingy, has been some time since I had a look at it) and only the textures.
h

Edit:
You could also remote control other units, look for a mission called 'fake' I posted there:
http://www.sinewsofwar.com/forum/viewtopic.php?t=48&postdays=0&postorder=asc&start=0&sid=0e35e19b26cafb03baa91a18f7085106

Later in the same thread I posted a 'changecloth' mission, using the bas functionality.
Hope this helps...
h
« Last Edit: 24 May 2005, 17:18:37 by hermano »

DBR_ONIX

  • Guest
Re:"Chaning clothes" possible?
« Reply #13 on: 10 Jun 2005, 14:45:38 »
You can remove helmets etc, so if you took this idea, and extended it, you could setobjecttexture various clothes/items (hide certain layers of clothing etc), you could have a wide selection of clothes..
For (simple) example, to change a top colour, and change it from long sleeve to short-sleeve, you make a selection out of the top and arms, then using setobjecttexture, you change the top colour to the new texture, and setobjecttexture the arms to textre ""

Only thing is, setobjecttexture is limited to the texture size it works with
- Ben

bdfy1

  • Guest
Re:"Chaning clothes" possible?
« Reply #14 on: 01 Aug 2005, 14:06:37 »
Quote
You know that BAS Tonal campaign? In first mission - if you die, you can play it again with new unit  How is it possible?
interesting...
can anyone rip and post this mission here ?