Home   Help Search Login Register  

Author Topic: Changing skin ...durring mission!?  (Read 791 times)

0 Members and 1 Guest are viewing this topic.

frag

  • Guest
Changing skin ...durring mission!?
« on: 02 Dec 2002, 00:36:42 »
Hi guys,

here is a tougher one...let's think about it.

Is it possible to change the skin of the player in game. I want to create a mission where the player first look as a civilian and change for the sniper skin later in the game.

1. Is it possible to change the skin of the same player? (I dont think so though)
2. Is it possible to destroy the current player in mid game ...and create a new one dynamicly?

I am even ready to switch character side if I have too (like civilian to west... or resistance to west)...

Briefly, any idea?

O Neil

  • Guest
Re:Changing skin ...durring mission!?
« Reply #1 on: 03 Dec 2002, 06:23:59 »
Can't, too painful!  ;)

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:Changing skin ...durring mission!?
« Reply #2 on: 03 Dec 2002, 22:15:32 »
Argh. This was already brought up in another post just now ;) Oh well...here it is again:

1) Hm, nope, skins are very-much attached to the model being used, and you can't change your player model in-game, not in 1.46 in any case.

2) it's not possible to move the player control over to another unit mid-game, once again, the closest thing is the "switchCamera" command...all we'd need is a "switchControl" command and it'd work...  ::) until then, alas, no.

Sorry. It'd be damned useful though...maybe BIS thought it'd be used to "cheating" in multiplayer games...  :P Explain the logic to me, someone, please... (Player addaction ["Kill Player", "killplayer.sqs"])  ::)

Good luck anyhow mate!

Oneil, another friendly suggestion: Check your last ten posts (from your profile page, bottom), and see how many of them have been the least bit useful. Hate to lecture but...PiNs did have something of a point.  :(

Wolfrug out.

"When 900 years YOU reach, look as good you will not!"

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Changing skin ...durring mission!?
« Reply #3 on: 04 Dec 2002, 00:39:34 »
The closest thing I can think of is to have the mission allow group respawns.  Then, make sure that the player is alone in a group and have an AI sniper join his group.  Kill the player (via setDamage), and he should respawn as the sniper.  Naturally, move the sniper to where the player was standing and delete the player's corpse.
« Last Edit: 04 Dec 2002, 00:42:41 by Ranger »
Ranger

frag

  • Guest
Re:Changing skin ...durring mission!?
« Reply #4 on: 05 Dec 2002, 08:02:42 »
Ranger ...you are a GENIUS...I will try that RIGHT AWAY. But how can you permit group respawn in your mission?

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Changing skin ...durring mission!?
« Reply #5 on: 05 Dec 2002, 19:13:05 »
 :D

In your description.ext file, put the following code near the top of the file:

respawn = "group"
respawndelay = time

Where time is how long in seconds you want the player to have to wait before he respawns into the next group member.

Somewhere in the Editors Depot, you can find examples of this.

Good luck!
Ranger