View Single Post
Re: Best way to detect the maps types ?
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Best way to detect the maps types ? - 01-07-2005

For me, hooking the entities spawning is the best way. If you find a func_hostage_rescue then it's a hostage map, if you find a func_bomb_target or info_bomb_target then it's a bomb map. If you have a func_vip_safetyzone, then it's an AS map, if you have a func_escapezone then it's an escape map, etc... If you have nothing of these, then -> deathmatch.

Try to make it so that a map can have several types at once.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote