Raised This Month: $32 Target: $400
 8% 

[L4D1 & L4D2] Map changer with rating system


Post New Thread Reply   
 
Thread Tools Display Modes
timonenluca
Member
Join Date: Apr 2020
Location: Europe
Old 04-23-2020 , 06:42   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #31

Quote:
Originally Posted by Dragokas View Post
Because syntax is incorrect.

Try this one:

PHP Code:
"campaigns"
{
    
"Urban Flight"
    
{
        
"coop"
        
{
            
"1"
            
{
                
"Map" "uf1_boulevard"
                "DisplayName" "1: Boulevard"
                "Image" "maps/uf1_boulevard"
            
}
            
"2"
            
{
                
"Map" "uf2_rooftops"
                "DisplayName" "2: Rooftops"
                "Image" "maps/uf2_rooftops"
            
}
            
"3"
            
{
                
"Map" "uf3_harbor"
                "DisplayName" "3: Harbor"
                "Image" "maps/uf3_harbor"
            
}
            
"4"        
            
{
                
"Map" "uf4_airfield"
                "DisplayName" "4: Airfield"
                "Image" "maps/uf4_airfield"
            
}
        }
        
"versus"
        
{
            
"1"
            
{
                
"Map" "uf1_boulevard"
                "DisplayName" "1: Boulevard (VS)"
                "Image" "maps/uf1_boulevard"
                "VersusCompletionScore"    "500"
            
}
            
"2"
            
{
                
"Map" "uf2_rooftops"
                "DisplayName" "2: Rooftops (VS)"
                "Image" "maps/uf2_rooftops"
                "VersusCompletionScore"    "600"
                "versus_boss_spawning"
                
{
                    
"spawn_pos_min"        "0.0"
                    "spawn_pos_max"        "0.0"
                    "tank_chance"        "0"
                    "witch_chance"        "0"
                    "witch_and_tank"    "0"
                
}
            }
            
"3"
            
{
                
"Map" "uf3_harbor"
                "DisplayName" "3: Harbor (VS)"
                "Image" "maps/uf3_harbor"
                "VersusCompletionScore"    "700"
            
}
            
"4"
            
{
                
"Map" "uf4_airfield"
                "DisplayName" "4: Airfield (VS)"
                "Image" "maps/uf4_airfield"
                "VersusCompletionScore"    "800"
            
}
        }    
        
"survival"
        
{
            
"1"
            
{
                
"Map" "uf2_rooftops"
                "DisplayName" "Radio Station"
                "Image" "maps/uf2_station"
            
}
            
"2"
            
{
                
"Map" "uf4_airfield"
                "DisplayName" "Airfield"
                "Image" "maps/uf4_hanger"
            
}
        }    
        
"scavenge"
        
{
            
"1"
            
{
                
"Map" "uf4_airfield"
                "DisplayName" "Airfield"
                "Image" "maps/uf4_backarea"
            
}
        }    
    }
    
    
"Diescraper Redux 3.62"
    
{
        
"coop"
        
{
            
"1"
            
{
                
"Map" "l4d2_diescraper1_apartment_361"
                "DisplayName" "Apartment complex"
                "Image" "maps/l4d2_diescraper1_apartment_36"
            
}

            
"2"
            
{
                
"Map" "l4d2_diescraper2_streets_361"
                "DisplayName" "Downtown military outpost"
                "Image" "maps/l4d2_diescraper2_streets_36"
            
}

            
"3"
            
{
                
"Map" "l4d2_diescraper3_mid_361"
                "DisplayName" "The Skymall"
                "Image" "maps/l4d2_diescraper3_mid_36"
            
}
            
            
"4"
            
{
                
"Map" "l4d2_diescraper4_top_361"
                "DisplayName" "The top suites"
                "Image" "maps/l4d2_diescraper4_top_36"
            
}
        }
    
        
"survival"
        
{
            
"1"
            
{
                
"Map" "l4d2_diescraper3_mid_361"
                "DisplayName" "The Skymall"
                "Image" "maps/l4d2_diescraper3_mid_36"
            
}

            
"2"
            
{
                
"Map" "l4d2_diescraper4_top_361"
                "DisplayName" "The top suites"
                "Image" "maps/l4d2_diescraper4_top_36"
            
}
        }
        
        
"holdout"
        
{
            
"1"
            
{
                
"Map" "l4d2_diescraper4_top_361"
                "DisplayName" "The top suites"
                "Image" "maps/l4d2_diescraper4_top_36"
            
}
        }
        
        
"gdef"
        
{
            
"1"
            
{
                
"Map" "l4d2_diescraper2_streets_361"
                "DisplayName" "Downtown military outpost"
                "Image" "maps/l4d2_diescraper2_streets_36"
            
}
            
            
"2"
            
{
                
"Map" "l4d2_diescraper4_top_361"
                "DisplayName" "The top suites"
                "Image" "maps/l4d2_diescraper4_top_36"
            
}
        }
    }

This worked! Thanks , wait do i need notepad++ to get it to paste the correct syntax? I just used the .txt editor and the one provided with my host.
timonenluca is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-23-2020 , 07:25   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #32

It does not matter.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Lider99
Member
Join Date: Mar 2020
Old 06-02-2020 , 08:50   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #33

Hey .
how to open voting on a big black window?
type callvote changedifficulty.
What codes need to be removed for this?
and which to leave?
and plus I have a votemanager plugin
Lider99 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 06-02-2020 , 09:04   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #34

You need delete my plugin.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Lider99
Member
Join Date: Mar 2020
Old 06-02-2020 , 12:02   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #35

Quote:
Originally Posted by Dragokas View Post
You need delete my plugin.
why?
Lider99 is offline
Lider99
Member
Join Date: Mar 2020
Old 06-02-2020 , 12:03   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #36

well, the vote will be on a big window and that's it
Lider99 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-29-2020 , 14:04   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #37

Updated.

Quote:
1.18 (27-Aug-2020)
- Fixed flags access ConVars are misplaced.

1.19 (29-Nov-2020)
- Added "The Last Stand" maps.
- IsMapValid() replaced by FindMap() to prevent undefined behaviour.
- Removed unused signatures.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-25-2021 , 16:35   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #38

Updated.

Automatic parser is finally introduced !!!

Quote:
2.0 Beta (17-Mar-2021)
- Addon maps is now automatically parsed. You no longer need manually write map names in config file! Damaged mission files are supported! (thanks to Rikka for idea)
- Finale map finish (credits screen) is now tracked accurately (without a timer).

2.1 Beta (23-Mar-2021)
- UM Compatibility with L4D2.
Note: Beta-versions are not supporting L4D2 fully at the moment.
Required work on mission names extractor.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-02-2021 , 11:37   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #39

Updated.

Quote:
2.2 Beta (01-May-2021)
- Blocked commands "callvote ChangeChapter" and "callvote ReturnToLobby".
- "ReturnToLobby" UserMessage is redirected to force change next map.
- Added item "All maps".
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-08-2021 , 10:39   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #40

Updated.

Quote:
2.3 Beta (08-May-2021)
- Added ConVar "l4d_mapchanger_fin_map_random" - Choose the next map of custom campaign randomly? (1 - Tes, 0 - No)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas 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 21:25.


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