Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Опубликовано:

This voting system includes map and gametype voting (works on dedicated servers and in private match).

 

You can even decide if you want both or just one of them (map/gametype) to be voted.

It's adjustable by dvar.

The voting system pops-up on map-end with some kind of timer (33 seconds stock...)

 

Beta1 video (recorded on MAGIC's dedi):

//sorry for that 4:3 ratio, recorded on crt

 

Dvars (adjustable in server.cfg):

 

set sv_votemaps "Favela,Afghan,Crash,Skidrow,Estate,Trailerpark,Strike,Vacant,Highrise,Storm,Invasion,Karachi,Bailout,Subbase,Rundown,Quarry"  //map pool from which maps to be voted will be chosen randomly

set sv_votemodes "sd,war,dom,ctf,dm" //gametypes to be voted, use the name which you'd use in server.cfg

set sv_mapcount "8" //Number of maps to be displayed in menu, they will be chosen randomly from sv_votemaps pool.

set sv_voteAll "0" //1 = map and gametype voting, 0 = only one of them

set sv_voteOnly "map" //"gametype" only map/gametype voting (will work if sv_voteAll is set to 0 only)

set sv_menusound "1" //lel

 

If there are any typing errors in sv_votemaps or sv_votemodes dvar, the server will display an error message when you're connected to it

Mapnames to choose from:

Favela
Crash
Skidrow
Estate
Wasteland
Strike
Vacant
Highrise
Invasion
Karachi
Bailout
Subbase
Afghan
Carnival
Fuel
Salvage
Scrapyard
Derail
Quarry
Rundown
Rust
Underpass
Overgrown
Storm
Trailerpark

 

Modes to choose from:

war
dm
dom
koth
sab
sd
arena
dd
ctf
oneflag
gtnw
oitc
gg
ss
m40a3 //Note: only works on oilrig AFAIK

Some config examples:

 

You want both, map and gametype to be voted:

//Make sure sv_voteAll is set to 1, sv_voteOnly doesn't matter then :

set sv_voteAll "1"

 

You want map voting only:

set sv_voteAll "0"

set sv_voteOnly "map"

 

You want gametype voting only

//NOTE: make sure you haven't set gametypes in your maprotation, check sv_maprotation dvar in your server.cfg

and delete the gametypes in front of maps, if needed.

set sv_voteAll "0"

set sv_voteOnly "gametype"

 

The other dvars should be kinda self-explanatory.

 

If the server is empty or no one votes for map, a map from sv_votemaps will be chosen randomly.

If gametype and map voting is on, but nobody votes for a gametype, the gametype will stay.

If only gametype voting is on, but no one votes, a gametype will be chosen randomly from sv_votemodes.

Players have 33 seconds to vote by default.

 

MAGIC's mapvote server: (running beta1)

connect 176.28.52.170:28972

 

About merging with other mods:

If the mod you want to merge this with isn't modifiying _gamelogic.gsc, you'll just have to copy-paste the folders of this mod to the mod you want to add voting to. (extract the .iwd before of course)

In case your mod does modify _gamelogic.gsc, compare both _gamelogic.gsc's with notepad++ and copy-paste the appropriate lines.

If you need any help, feel free to contact me.

 

Note:If you want to use this in private match make sure to change setDvar( "sv_changemethod", 1 ); to 0 in _vote_menu.gsc

 

Credits: iAegle for some of the menu parts, rest to me

 

Virustotal: https://www.virustotal.com/file/cf4de6d ... 357685804/

Опубликовано:
Looks nice but I am waiting for mouse-movement menus. Like create class and change team etc. Using your mouse or Arrow keys and Enter...

But that's not possible on pubs, unless the person launches the mod before connecting.

Опубликовано:
  • Автор
this UI seems like it's made for consoles

Well, i guess it was originally. I just took the one from promod which iAegle made/ported about 1.5 year ago or so...

Haven't ever bothered to change its appearance, as i don't have any ideas for changes which would impove its actual usability.

Might just move the gamevoting part to the right side of the screen, so that map/gametype voting is on 'one page'.

 

Looks nice but I am waiting for mouse-movement menus. Like create class and change team etc. Using your mouse or Arrow keys and Enter...

Waiting? They are already there but aren't really an option if used on a public server atm, as they don't get loaded properly 'on first connect' (after being downloaded on the client) and players would have to reconnect to the server to be able to use the menu...Not sure if NTA is working on a fix.

Опубликовано:

Waiting? They are already there but aren't really an option if used on a public server atm, as they don't get loaded properly 'on first connect' (after being downloaded on the client) and players would have to reconnect to the server to be able to use the menu...Not sure if NTA is working on a fix.

 

so can you send the link of these files via pm? especially hud menu file...

Опубликовано:
  • Автор

Waiting? They are already there but aren't really an option if used on a public server atm, as they don't get loaded properly 'on first connect' (after being downloaded on the client) and players would have to reconnect to the server to be able to use the menu...Not sure if NTA is working on a fix.

 

so can you send the link of these files via pm? especially hud menu file...

 

You missunderstood my i think. I meant self made .menu files. Only 'stock' files i have are the ones available here:

viewtopic.php?f=17&t=13469

 

Unluckily the most interesting ones, the scriptmenus, aren't included.

 

@banz plz tell. I wanna add this to my QCZM mod :>

Tell what? Functionality isn't even implemented yet.

I was just wondering, if people would actually use it. (What heavily depends on how bug-free it would be, i guess but still..)

Опубликовано:

Waiting? They are already there but aren't really an option if used on a public server atm, as they don't get loaded properly 'on first connect' (after being downloaded on the client) and players would have to reconnect to the server to be able to use the menu...Not sure if NTA is working on a fix.

 

so can you send the link of these files via pm? especially hud menu file...

 

You missunderstood my i think. I meant self made .menu files. Only 'stock' files i have are the ones available here:

viewtopic.php?f=17&t=13469

 

Unluckily the most interesting ones, the scriptmenus, aren't included.

 

@banz plz tell. I wanna add this to my QCZM mod :>

Tell what? Functionality isn't even implemented yet.

I was just wondering, if people would actually use it. (What heavily depends on how bug-free it would be, i guess but still..)

There is voting in QCZM v5 (official) but yeah it's not as clean and good looking as yours.

Опубликовано:

I would say "defenitly yes", keep it as simple as possible for client connection, even if we have to give up on mouse motion (something that runs "z_svr_ style" to avoid download on connect) and if possible, to load it from something else than _rank.gsc, to allow it to run side-by-side with most mods out there.

Опубликовано:
  • Автор
I would say "defenitly yes", keep it as simple as possible for client connection, even if we have to give up on mouse motion (something that runs "z_svr_ style" to avoid download on connect) and if possible, to load it from something else than _rank.gsc, to allow it to run side-by-side with most mods out there.

 

Yes sure, i won't modify any of the 'stock' .gsc files, but _gamelogic.gsc. Won't be possible without modifying that one.

Опубликовано:

the menu is good, its like promod

Опубликовано:
the menu is good, its like promod

ProMod's menu is even better now. Shame that you can't use it in multiplayer though, as it doesn't load it until you reconnect.

well thats true

Опубликовано:
Well, i have an alpha ready. Doesn't include gametype voting yet though...

 

Download and instructions can be found in the first post.

 

I created a server and tested it. It works...

connect 176.28.52.170:28972

 

SERVER OFFLINE

Stay tuned...

Опубликовано:
  • Автор
plz make client version so I can test this easily :> (Don't have an IW4M server that's why :( )

 

You can use it in private match already, just change sv_changeMethod dvar to 0 in _menu.gsc.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.