Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: EK.IceFlake on Mar 16, 2016, 02:56 PM

Title: FFA skins
Post by: EK.IceFlake on Mar 16, 2016, 02:56 PM
Hi guys!
I was making a server and I wanted to implement FFA skins. How should I make them so they can kill each other? I tried -1 team
Title: Re: FFA skins
Post by: Xmair on Mar 16, 2016, 03:38 PM
SetFriendlyFire will help maybe.
Title: Re: FFA skins
Post by: aXXo on Mar 16, 2016, 04:40 PM
onPlayerSpawn, if the player selects a FFA skin, set his color to white and player.Team to ( 100 + player.ID )
This means everyone in that skin would be in a unique team.
Title: Re: FFA skins
Post by: KAKAN on Mar 19, 2016, 02:28 AM
Quote from: aXXo on Mar 16, 2016, 04:40 PMonPlayerSpawn, if the player selects a FFA skin, set his color to white and player.Team to ( 100 + player.ID )
This means everyone in that skin would be in a unique team.
player.Team = -1; or player.Team = 255; works for me though
Title: Re: FFA skins
Post by: Stormeus on Mar 19, 2016, 02:18 PM
Quote from: KAKAN on Mar 19, 2016, 02:28 AM
Quote from: aXXo on Mar 16, 2016, 04:40 PMonPlayerSpawn, if the player selects a FFA skin, set his color to white and player.Team to ( 100 + player.ID )
This means everyone in that skin would be in a unique team.
player.Team = -1; or player.Team = 255; works for me though

Yeah, team 255 is reserved for free-for-all. I would recommend explicitly specifying it rather than using -1 though.
Title: Re: FFA skins
Post by: EK.IceFlake on Mar 19, 2016, 05:14 PM
Sorry forgot to update this.
I resolved the issue that same day by reversing team and skin (I was using doomplay and I made a mistake on the class loading so team and skin were swapped, team 166 skin -1).
Notice to all doomplay users: in Classes>Load swap team and skin