Raised This Month: $51 Target: $400
 12% 

[CS:GO] Map loading background picture


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 12-07-2016 , 19:35   [CS:GO] Map loading background picture
Reply With Quote #1

Hello guys, I have an idea of csgo plugin.
This idea is add a background picture when loading map for custom maps like official csgo maps.

What I think is, if the map name is "de_map", client will download "de_map.jpg", and make that picture as map loading background of "de_map".

So I try to write a plugin but this doesn't download pictures for client.

Here's my code.
Spoiler
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-07-2016 , 20:26   Re: [CS:GO] Map loading background picture
Reply With Quote #2

Why would you want to change the background image of another person's map.
Mitchell is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 12-07-2016 , 20:46   Re: [CS:GO] Map loading background picture
Reply With Quote #3

Quote:
Originally Posted by Mitchell View Post
Why would you want to change the background image of another person's map.
I want to change the background image to that map's image.
Just like you load a map which you subscribe from steam workshop.
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 12-08-2016 , 07:21   Re: [CS:GO] Map loading background picture
Reply With Quote #4

That sounds like a very good idea, it is horrible looking at a bland picture when joining a server running a custom map
__________________
B3none is offline
SonnyCrockett
Junior Member
Join Date: Jan 2012
Old 01-20-2017 , 08:26   Re: [CS:GO] Map loading background picture
Reply With Quote #5

Same here.
I tried to put the image in a .res file, like so:

Code:
Resources
{
"resource/overviews/de_winter_nuke.txt" "file"
"resource/overviews/de_winter_nuke_radar.dds" "file"
"resource/overviews/de_winter_nuke_lower_radar.dds" "file"
"maps/de_winter_nuke.jpg" "file"
}
Everything in the .res file gets downloaded, except for the .jpg image.
SonnyCrockett is offline
Reply



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 19:21.


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