Raised This Month: $99 Target: $400
 24% 

CSGO Map thumbnails at endgame vote


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-02-2018 , 12:38   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #11

My answer would be, it won't work from server.
Thumbnail images are loaded when player launch his game and not later anymore.



I looked again and this is only way I got it work. In player game.
gamemodes.txt


gamemodes_server.txt


Code:
...Counter-Strike Global Offensive\csgo\materials\panorama\images\map_icons\screenshots\360p\cs_mansion_go.png
__________________
Do not Private Message @me
Bacardi is offline
wanko
Junior Member
Join Date: Nov 2018
Old 12-02-2018 , 13:35   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #12

Where does your cs_mansion_go.bsp lie? Is it in maps/workshop/####/cs_mansion_go.bsp?
wanko is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-02-2018 , 14:16   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #13

yes
__________________
Do not Private Message @me
Bacardi is offline
wanko
Junior Member
Join Date: Nov 2018
Old 12-03-2018 , 14:45   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #14

OK, so I finally was able to reproduce your result.
Thanks for your detailled explanation, this means a lot!

With this added to gamemodes.txt:
gamemodes.txt

and this added to gamemodes_server.txt:
gamemodes_server.txt

and with the copied pictures in the 360p directory, I get it to work, see https://i.imgur.com/v8hKL9D.jpg


The quite interesting and not understood part is, once I move the (empty) map definitions from the gamemodes.txt into the gamemodes_server.txt:
gamemodes_server.txt

Then it no longer works, the preview pictures are gone, see https://i.imgur.com/DZctb5d.jpg

So there is a difference between gamemodes.txt and gamemodes_server.txt.
I'm just not quite sure what to make with this piece of information now.
wanko is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 12-03-2018 , 14:59   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #15

Is it possible you are not overriding with _server to the key?

Eg: your data is not in the same spot in the keyvalues tree.
__________________
Neuro Toxin is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-03-2018 , 15:06   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #16

yep, I assume they (game devs) haven't look the way how we community add thumbnails in vote. This panorama is new thing tough
__________________
Do not Private Message @me
Bacardi is offline
wanko
Junior Member
Join Date: Nov 2018
Old 12-03-2018 , 15:10   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #17

I just thought it's maybe a parsing problem and those keyvalues are parsed one after another. So my theory was, that the pictures are not shown in the second case, because the maps were not defined yet when the magroup was parsed.

So I put "maps" before "maggroups" and tested again. But it did not work, only the default pictures showed up.

From my experience I'm quite confident that the _server does add a new value (unless its a changed value). What I mean, if the gamemodes.txt has like
Code:
"a" {
"1" ""
}
and the _server.txt has like
Code:
"a" {
"2" ""
}
it's the same result as there would be with a
Code:
"a" {
"1" ""
"2" ""
}
inside one file only.

What surprises me is the fact, that there is a difference between the _server and the gamemodes.txt. I've never seen anyone give a hint of that anywhere.
wanko is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 12-04-2018 , 13:50   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #18

if this all set and add images to fastdownload for client will be work?
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 12-04-2018 , 14:51   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #19

I think we are waiting for someone to try.
__________________
Neuro Toxin is offline
EarthsDefect
Junior Member
Join Date: Apr 2019
Old 04-04-2019 , 10:25   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #20

anyone find out how to do this? could you please info on how to make vote preview images on end match vote screen?
EarthsDefect is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:18.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode