noclip for 1 player on server ?

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

Post Reply
denzil3009
CJ Wannabe
CJ Wannabe
Posts: 7
Joined: February 18th, 2011, 11:15 pm
Gamertag: CW|Denzil

noclip for 1 player on server ?

Post by denzil3009 » February 21st, 2011, 3:52 am

Is it possible to turn on noclip for just a single player ?

I have been trying to get this working but it turns it on for the whole server. I have also tried modding some scripts i have seen, but with no luck.

Does anybody know how to do this ? Is it even possible ?

If its not possible to have noclip for a single player, is there a script that will do the same sort of thing ?


Thank you in advance :)

User avatar
Shinryu
CJ Fan
CJ Fan
Posts: 199
Joined: September 7th, 2010, 10:35 pm

Re: noclip for 1 player on server ?

Post by Shinryu » February 21st, 2011, 7:03 am

Hmm. Really. I just go to a devmap'd server and put noclip in the console :) works fine.
Image

denzil3009
CJ Wannabe
CJ Wannabe
Posts: 7
Joined: February 18th, 2011, 11:15 pm
Gamertag: CW|Denzil

Re: noclip for 1 player on server ?

Post by denzil3009 » February 21st, 2011, 12:15 pm

Shinryu wrote:Hmm. Really. I just go to a devmap'd server and put noclip in the console :) works fine.

Didnt help at all, because then any player in the server could do this........

User avatar
MasterThomy
CJ Wannabe
CJ Wannabe
Posts: 42
Joined: December 23rd, 2008, 5:14 pm

Re: noclip for 1 player on server ?

Post by MasterThomy » February 21st, 2011, 12:55 pm

Well I have a script that functions as a kind of noclip (pressing Use moves you a little in the direction you are facing...), and it's for CoD2. I don't know if thats any good for you.
Ex CoD2 mapper/modder.

denzil3009
CJ Wannabe
CJ Wannabe
Posts: 7
Joined: February 18th, 2011, 11:15 pm
Gamertag: CW|Denzil

Re: noclip for 1 player on server ?

Post by denzil3009 » February 21st, 2011, 1:38 pm

MasterThomy wrote:Well I have a script that functions as a kind of noclip (pressing Use moves you a little in the direction you are facing...), and it's for CoD2. I don't know if thats any good for you.

Yes that sounds like just what i need, if you dont mind could you post it ?

Thanks

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: noclip for 1 player on server ?

Post by megazor » February 22nd, 2011, 12:00 pm

Code: Select all

main()
{
	thread lol();
}

lol()
{
	players = getEntArray("player", "classname");
	for (i = 0; i < players.size; i++)
		if (isDefined(players[i].sessionstate) && players[i].sessionstate == "playing" && players[i] useButtonPressed() && !isDefined(players[i].noclip))
			players[i] thread omg();
	wait .1;
	thread lol();
}

omg()
{
	self.noclip = 1;
	rofl = 0;
	wait .05;
	while (isPlayer(self) && self useButtonPressed())
	{
		rofl++;
		if (rofl == 10)
			break;
		wait .05;
	}

	if (rofl == 10)
		while (isPlayer(self) && self useButtonPressed())
		{
			angles = self getPlayerAngles();
			vector = anglesToForward(angles);
			vector = maps\mp\_utility::vectorScale(vector, 100);	//this function might have a different name
			self moveTo(self.origin+vector, 1);
			wait 1;
		}
	
	if (isPlayer(self))
		self.noclip = undefined;
}

User avatar
Badeendnl
CJ Fan
CJ Fan
Posts: 133
Joined: April 11th, 2011, 4:05 pm

Re: noclip for 1 player on server ?

Post by Badeendnl » April 28th, 2011, 7:06 am

This isn't a advertising community......

BeZZo
CJ Worshipper
CJ Worshipper
Posts: 495
Joined: June 25th, 2010, 11:23 pm
Location: Croatia

Re: noclip for 1 player on server ?

Post by BeZZo » April 28th, 2011, 10:41 am

Badeendnl wrote:This isn't a advertising community......
:?:

User avatar
Badeendnl
CJ Fan
CJ Fan
Posts: 133
Joined: April 11th, 2011, 4:05 pm

Re: noclip for 1 player on server ?

Post by Badeendnl » April 28th, 2011, 12:43 pm

Never mind the post with the advertising stuff has allready been removed

User avatar
Badeendnl
CJ Fan
CJ Fan
Posts: 133
Joined: April 11th, 2011, 4:05 pm

Re: noclip for 1 player on server ?

Post by Badeendnl » April 28th, 2011, 1:52 pm

K i will remind that:)

Alex
CJ Wannabe
CJ Wannabe
Posts: 3
Joined: August 17th, 2011, 6:07 pm
Gamertag: Xbox
PSN ID: 420

Re: noclip for 1 player on server ?

Post by Alex » August 21st, 2011, 4:22 pm

That's why we ask people not to reply to bots but to just ignore them until removed 8)


I think this is the best way. :twisted:
Im 22, Im student and I love to learn.
Debt management
Pet insurance
Micro SD Card

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests