Author Topic: \callvote layout  (Read 5459 times)

dimak

  • Posts: 19
  • Turrets: +0/-1
\callvote layout
« on: July 16, 2008, 11:20:07 pm »
Hi all....i hope i'm posting in the right place!
It's possible to call a layout and also a special cfg cvar-setting for the map in the same time?
If i call a map or load it with !map, if there is a base/mapconfigs/nameofmap.cfg i can do, but i don't know if is possible also call/load a layout and get particulary server-setting from a specific nameoflayout.cfg.
Thanks in advance......

dimak

Hendrich

  • Posts: 898
  • Turrets: +168/-149
    • TremCommands
Re: \callvote layout
« Reply #1 on: July 16, 2008, 11:26:22 pm »
Ok, so first I want to know if you want to make your OWN server for this or are you asking how to do this in any OTHER server?

dimak

  • Posts: 19
  • Turrets: +0/-1
Re: \callvote layout
« Reply #2 on: July 16, 2008, 11:31:48 pm »
I'm the owner of ITA prolinux server, the question coming becouse players asked me how they can callvote layout with special setting that for a moment only admin with high level can do with some special command in admin.dat.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: \callvote layout
« Reply #3 on: July 16, 2008, 11:44:29 pm »
P-g-qvm has callvote layout.

I cant remember the issue number.

∧OMG ENTROPY∧

dimak

  • Posts: 19
  • Turrets: +0/-1
Re: \callvote layout
« Reply #4 on: July 16, 2008, 11:53:13 pm »
I know your mod Paradox, i'm using it in my server, but what i mean is if i can load a layout.cfg with the layout itself in the same way as i can load a namemap.cfg with a \callvote namemap or !map namemap command putting the relative file in base/mapconfigs directory.
I Hope is more clear question now.
Thx

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: \callvote layout
« Reply #5 on: July 17, 2008, 12:39:47 am »
There is no functionality to to this, but it would be trivial to add.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: \callvote layout
« Reply #6 on: July 17, 2008, 11:33:11 pm »
Acutally david, i think p-g-qvm supports that too. I think it is the syntax of /callvote map layout.

But re-reading his post, i got another impression of what he meant. He meant a way to make a layout load by default, or even specify a new default layout.
I have added a new issue to the p-g-qvm issue tracker, for a new cvar g_defaultLayout added to the mapconfigs for each map. Lets you change the default layout of a map.

This might not be possible, however, i am not sure.

∧OMG ENTROPY∧

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: \callvote layout
« Reply #7 on: July 17, 2008, 11:55:44 pm »
I got the impression that he wanted it to automatically run a config depending on the layout, regardless of how that layout was launched, or it it was randomly chosen.  So exactly what he wrote in his post.
That's what my last post was referring too.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

dimak

  • Posts: 19
  • Turrets: +0/-1
Re: \callvote layout
« Reply #8 on: July 18, 2008, 12:01:36 am »
Ohhh.... thanks again Paradox for your post, but maybe my poor english it's not so clear!!!! :(
I try again to explain the question, i mean if it's possible to make a layoutconfigs for each layout as there are mapconfigs for each map.
So when i do /callvote map layout i can load new server setting from a ipotetical namelayout.cfg.




Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: \callvote layout
« Reply #9 on: July 18, 2008, 01:13:49 am »
Layoutconfigs aren't too hard to do. I've made it hackishly for a mod that I made a bit and have been sitting on for release until I get the time to actually do it. :p

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: \callvote layout
« Reply #10 on: July 18, 2008, 04:32:56 am »
Oh configs for layouts.

That shouldnt be too hard to do.

Ill open an issue.

But in the mean time, google has coded up g_defaultLayout

∧OMG ENTROPY∧

dimak

  • Posts: 19
  • Turrets: +0/-1
Re: \callvote layout
« Reply #11 on: July 18, 2008, 09:12:29 am »
YEAHHHH!!!! :D :D
Thanks very much Lakytu7 and Paradox.......you rocks!!!!! ;) ;)

I love Tremulous.....

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73