OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: xCIA_BlackThorn on 19 May 2005, 09:11:16

Title: Player replacment in game...
Post by: xCIA_BlackThorn on 19 May 2005, 09:11:16
Im trying to figure out if I am able to replace my 'Player' model from a Soldier to a Sniper in game at a certain point or trigger. Is it possible?

Using: CwC 1.46

Thanks.
Title: Re:Player replacment in game...
Post by: bedges on 19 May 2005, 09:14:39
if you made a mini-campaign, then yes it's possible to change models between missions. in one single mission, sadly not.  :-\
Title: Re:Player replacment in game...
Post by: macguba on 19 May 2005, 09:15:50
You can also fake in MP with respawn.    But in SP single mission, no, can't be done.    And believe me, plenty of people have tried.
Title: Re:Player replacment in game...
Post by: xCIA_BlackThorn on 19 May 2005, 20:51:04
Dam,  ok   I was hoping it was. Ill keep researching it, maybe, just maybe it is posible if there is a way around it.  I would let you guys know if I find anything down the road.

Thanks anyway guys.
Title: Re:Player replacment in game...
Post by: Grendel on 19 May 2005, 22:22:50
Hi,

Yeah the inability to switch player models in game is a beyatch.  

A sort of workaround for this that I have been experimenting with is to have a proxy unit that you can control in third person using the switchcamera "group" comand, and the squad order/cursor system (as well as some action menu items for fine tune control.  you don't have direct first person control of the proxy "normal" unit, but you can make him go where you want, and then have an action to set up a sniper hide and get in your ghillie suit.  When selected, the proxy is whisked away (with a titlecut black in/out to hide the transition) and the sniper player is setpos'd and setdir'd into position and you have total control again...

Not perfect, but it works well enough, and actually sometimes it is nice to have "your" guy crawl long distances with one click...

Versions of this will be incorporated into my fothcoming script based MOD in several manners.

-Grendel
Title: Re:Player replacment in game...
Post by: xCIA_BlackThorn on 20 May 2005, 02:01:17
Interesting. I Like It!    That works for me,  Thanks for your help Grendel.