End Team killing, [Discussion]

Started by Mötley, Oct 21, 2016, 03:26 AM

Previous topic - Next topic

Mötley

Okay, I have always scripted Independent servers, No Team system.

I want to know is their a method to disable a player from killing their own team member?

Maybe theres a built in VCMP configuration setting I'm missing in the wiki?



There is obviously no function for getting a players action when shooting another player like

http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Events/Player/onClientShot

To where I can cancel the damage. I would of done so If there were such function,.


If theres no way possible I will just remove my team system and focus on other stuff.

I have issues being able to test syncing two players at once on my OS.

Thijn

Just spawn as the same team, you wouldn't be able to shoot your own team mates.


Mötley

In my crappy operating system I cant really have two game windows open,

@Vito will that make it official with friendly fire? Can cars still kill them? Should I still run a kick?
Than you!

EK.IceFlake

The most effective yet simplest way is to use .Team and have some server rules.

Mötley

#5
Yes, I have already thought about server rules. As well methods with .Team,.

I hope to see a 'onPlayerShoot( Someshit.... )' 'onPlayerCollide'  one day.

Team deathmatches are new to me.
 
MoneyGrub servers are simple. Cant wait to finish the simple build, Get to the moneygrub build then I will have a really good basic deathmatch, I can focus on rebuilding the server to be really easy to work with as well update, It wont stay just a DM :P

vito

Quote from: Mötley on Oct 21, 2016, 11:29 AMCan cars still kill them?
Via cars - not, but using molotov is some cases - yes.

KAKAN

Quote from: vito on Oct 21, 2016, 03:39 PM
Quote from: Mötley on Oct 21, 2016, 11:29 AMCan cars still kill them?
Via cars - not, but using molotov is some cases - yes.
Molotov can't, cars can( drive-by or just by driving over the player )
oh no

vito

Quote from: KAKAN on Oct 21, 2016, 03:49 PM
Quote from: vito on Oct 21, 2016, 03:39 PM
Quote from: Mötley on Oct 21, 2016, 11:29 AMCan cars still kill them?
Via cars - not, but using molotov is some cases - yes.
Molotov can't, cars can( drive-by or just by driving over the player )
Wanna test molotov? IRC me

Mötley

So I guess players jumping out of cars to kill their own teammate with there vehicle is possible etc etc.

I might look at the wiki to see if it would be possible for a function where as a teammate could walk through another teammate etc.

If not that should be added. That would be a simple fix. This would cover bullets etc. To anything really..

vito


Mötley

^ Nothing for it exist. If there were a player.Collide(bool) || Team.Collide(bool) then maybe.