--Gm_Mobenix Mapsettings --open with notepad++ --Through this mapconfig you've the possibility to control the functioniality of several map-unique features. This is usefull to get more free edicts* or simply disallow some features to run. --*What are edicts?! You can imagine edicts as slots in the Hl2-engine to register entitys. As a conclusion, every weld connection, every rope and every map entity need a free edict slot. --If all slots are engaged your game will crash and you get the engine error: ED_Alloc: No free edicts. --So it's advisable to disable some map features to get more free edicts. --map feature & status |needed edicts|description -- | | local DisableAll = 0 --(1/0)| 1450 |"Default = 0" Delete all ------------------------------------------------------------------------------------------ local Battery = 1 --(1/0)| 21 |"Default = 1" Need a battery to turn the lights in undergroundarea on else its default on local Bowlingallay = 1 --(1/0)| 71 |"Default = 1" The bowling allay will be usable local Crashelevator = 1 --(1/0)| 38 |"Default = 1" The crash-elevator is available local Disco = 1 --(1/0)| 93 |"Default = 1" Disco is available local Door_Controller = 1 --(1/0)| 20 |"Default = 1" Place wire door control entitys at map if Rp_area and Hotel are 1 too local Gman = 1 --(1/0)| 30 |"Default = 1" Have fun with banana Gman local Hotel = 1 --(1/0)| 58 |"Default = 1" The hotel have Doors and Breakable Windows local Infohints = 0 --(1/0)| - |"Default = 1" Enable Info hints with some infos about the map local Offroadcars = 1 --(1/0)| 38 |"Default = 1" Two spawnable offroadcars local Physdoor = 1 --(1/0)| 5 |"Default = 1" Physic door in construct area is available local Race = 1 --(1/0)| 178 |"Default = 1" Roundcounting and displays for the race are available local Racenpcs = 1 --(1/0)| 50 |"Default = 1" You can race vs Npcs local RacetrackHouse = 1 --(1/0)| 27 |"Default = 1" The racetrack house has breakable windows, doors and 4 garagedoors local Ropes = 1 --(1/0)| 37 |"Default = 1" Power lines at forest (only decoration) local Rp_area = 1 --(1/0)| 20 |"Default = 1" rp area have a shop with a working anti-theft system and apartments with prop_doors local Spotlights = 1 --(1/0)| 78 |"Default = 1" Spotlights for a better look (only decoration) local Taxi = 1 --(1/0)| 130 |"Default = 1" The Taxi service is available at map local Train = 1 --(1/0)| 240 |"Default = 1" The train will be spawnable local Trainai = 0 --(1/0)| - |"Default = 0" The Autopilot of the Train is -ON- at Mapstart local Train_switches = 1 --(1/0)| 6 |"Default = 1" Switch the Train_switches via mouse aiming at the yellow signs local Tunneleditor = 1 --(1/0)| 307 |"Default = 1" The Tunneleditor will be usable --------------------------------------------------------------------- if Train == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_train_kill")) do v:Fire("trigger","","0") end end if Trainai == 1 then for k,v in pairs(ents.FindByName("luaconfig_train_ai")) do v:Fire("trigger","","0") end end if Train_switches == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByClass("trigger_look")) do v:Fire("kill","","0") end end if Racenpcs == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_race_npc")) do v:Fire("trigger","","0") end end if Taxi == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("taxi*")) do v:Fire("kill","","0") end end if Gman == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("gman*")) do v:Fire("kill","","0") end end if Tunneleditor == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("Tunneleditor*")) do v:Fire("kill","","0") end end if Door_Controller == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("wdc")) do v:Fire("kill","","0") end end if Infohints == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("hint_*")) do v:Fire("kill","","0") end end if Bowlingallay == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_bowling")) do v:Fire("trigger","","0") end end if Rp_area == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_rparea")) do v:Fire("trigger","","0") end end if Battery == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_underground")) do v:Fire("trigger","","0") end end if Disco == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_disco")) do v:Fire("trigger","","0") end end if Hotel == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_hotel")) do v:Fire("trigger","","0") end end if Race == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_race")) do v:Fire("trigger","","0") end end if Offroadcars == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_getcar")) do v:Fire("trigger","","0") end end if Ropes == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_ropes")) do v:Fire("trigger","","0") end end if RacetrackHouse == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_offroad_house")) do v:Fire("trigger","","0") end end if Crashelevator == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_elevator")) do v:Fire("trigger","","0") end end if Spotlights == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_spotlights")) do v:Fire("trigger","","0") end end if Physdoor == 0 or DisableAll == 1 then for k,v in pairs(ents.FindByName("luaconfig_brusheddoor")) do v:Fire("trigger","","0") end end