home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Arguments for CTF actions...

by R0b0t1 on 08/03/2008 02:53, 1 messages, last message: 08/03/2008 03:00, 795 views, last view: 04/27/2024 06:14, closed on 08/03/2008 03:00

I would have posted this in the general thread, but if all questions redirect there, it will get very cluttered and no one will be able to figure out who still needs help. Its like coming into a conversation with a random question.

Anyway, as I was looking through client.h I say the large switch statement that had things prefixed with SV_. As I kept reading, I started wondering where those variables came from. So, anyway, I know how to use addmsg(), but I want some information (because I couldn't figure out the meanings from the source) about SV_[*]FLAG values.

1) SV_DROPFLAG -- what are its arguments? I am guessing one is the flag's id.

2) SV_SCOREFLAG -- Same here, but I'm guessing one is the flag's id, the other is the point it should return to, and...?

3) SV_TAKEFLAG -- I imagine this is exactly the same as SV_DROPFLAG.

4) SV_RESETFLAG -- the only number this takes is the flag number, right?

5) SV_REPAMMO -- where does this send ammo to?

   Board Index   

#1: ..

by R0b0t1 on 08/03/2008 03:00

Oh, and I believe making a gravity variable to use in-game is:

VARP(GRAVITY, 0, 200, 1000,)

-- is this right?

reply to this message

   Board Index   


Thread closed!

This thread has been closed, which is why you can't post any more messages in it.


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53862493 visitors requested 71637585 pages
page created in 0.021 seconds using 10 queries
hosted by Boost Digital