The difference between SET and SETA?

Locked
nightwing
Posts: 59
Joined: Wed Oct 19, 2005 12:58 pm

The difference between SET and SETA?

Post by nightwing »

Hello all,

What seems to be the difference between having 'set' instead of 'seta' before a console command?

I tried them both and they seem to do the same thing. Thanks in advance.
nightwing
Posts: 59
Joined: Wed Oct 19, 2005 12:58 pm

Post by nightwing »

Thanks riddla
xchaser
Posts: 280
Joined: Sat Dec 04, 1999 8:00 am

Post by xchaser »

set sets a cvar
seta sets a cvar and flags it as archive
sets sets a cvar and flags it as server info
sett sets a cvar and flags it as tool
setu sets a cvar and flags it as user info
|-----|
NitrousFlare
Posts: 81
Joined: Sun Oct 30, 2005 6:32 am

Post by NitrousFlare »

you nerd
nightwing
Posts: 59
Joined: Wed Oct 19, 2005 12:58 pm

Post by nightwing »

wow that's some good info xchaser. Thank you :)
Oeloe
Posts: 1529
Joined: Fri Mar 19, 2004 8:00 am

Post by Oeloe »

In Q3, 'seta' is usually used for main config settings (binds, graphics etc. ) and 'set' is used for scripts because scripts don't need to be archived (config files with the scripts are loaded every time you startup Q3 when you use autoexec.cfg). Q3 doesn't archive variables you declare with set; only cvars you declare with seta are archived or when you changed them in the console.

I don't know Q4 if archives everything, could be...
User avatar
hemostick
Posts: 203
Joined: Wed Feb 14, 2001 8:00 am

Post by hemostick »

seta is set with a Mario Accent.
(i.e. "itsa me, Mario !")
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

xchaser wrote:set sets a cvar
seta sets a cvar and flags it as archive
sets sets a cvar and flags it as server info
sett sets a cvar and flags it as tool
setu sets a cvar and flags it as user info
Nice.

What is the end product of these, though.

I'm guessing 'seta' makes the cvar get written into the .cfg file. sets makes it get sent to the master server/sent in query. setu and t.... I dunno
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
xchaser
Posts: 280
Joined: Sat Dec 04, 1999 8:00 am

Post by xchaser »

I am not a nerd its a easy copy and paste from upset chaps:
http://ucguides.savagehelp.com/Quake4/fullcmdlist.htm

:paranoid: LOL :paranoid:
|-----|
Locked