Forum

Problem with CTF plugin

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Problem with CTF plugin

Postby dr_mabuse » Mon Sep 19, 2011 2:08 pm

Hi,

I am working on a MOD based on the Kurok QC and i want to add the [url]CTF plugin by Wazat[/url]
but it doesnt work (i got compiler errors all the time)...
Any idea how i can add this to a Kurokbased MOD with Frikbots?
User avatar
dr_mabuse
 
Posts: 80
Joined: Sat Sep 03, 2011 6:07 pm

Re: Problem with CTF plugin

Postby Electro » Mon Sep 19, 2011 10:47 pm

Link doesn't work (doesn't exist).
Need to know the errors.
Benjamin Darling
http://www.bendarling.net/

Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
Electro
 
Posts: 312
Joined: Wed Dec 29, 2004 11:25 pm
Location: Brisbane, Australia

Re: Problem with CTF plugin

Postby leileilol » Tue Sep 20, 2011 12:45 am

i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Problem with CTF plugin

Postby Nahuel » Tue Sep 20, 2011 12:58 am

leileilol wrote:it's this one

:D :o Great (and unknow for me) stuff leileilol!
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: Problem with CTF plugin

Postby dr_mabuse » Wed Sep 21, 2011 3:39 pm

Yes, this one :D

But i have problems to put it in a Kurok based MOD... :oops:
I got it working, but the players only spawning on team red -.-
User avatar
dr_mabuse
 
Posts: 80
Joined: Sat Sep 03, 2011 6:07 pm

Re: Problem with CTF plugin

Postby r00k » Wed Sep 21, 2011 4:08 pm

look in ctf.qc top of the file, make sure u followed those steps exactly. set deathmatch to 1,
Step 5:
=======
In Client.qc, find PutClientInServer(), and add the following lines to the very top:
// ### CTF plugin
EnforceTeams(self);
SetTeam_no(self);

Note that this will effectively force players to be the right team, but bots' colors may not be affected.

r00k
 
Posts: 1110
Joined: Sat Nov 13, 2004 10:39 pm

Re: Problem with CTF plugin

Postby dr_mabuse » Wed Sep 21, 2011 4:09 pm

i will try it again when i finished my Gatling gun :D

EDIT: Ok, i found the problem!
It was Kurok, but i switched now to "vanilla Quake source" for my mod and it all works like it sould to work! YAY! ;D
User avatar
dr_mabuse
 
Posts: 80
Joined: Sat Sep 03, 2011 6:07 pm


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest