Results 1 to 2 of 2

Thread: Why does Freezetag not work on this map?

  1. #1

    Default Why does Freezetag not work on this map?

    i cant get ft to work in this map any idea?.

    Code:
    // Storage Facility 1.11
    // Author: Voxel
    // Web: www.viziongrafx.com/moh
    
    
    	
    main:
    
    
    // call additional stuff for playing this map round based is needed
    	if(level.roundbased)
    		thread roundbasedthread
    		
    // ******************************************************** 
    // ******************* NEW CODE *************************** 
    // ******************************************************** 
    
       switch (waitthread global/libmef/util.scr::get_gametype) 
       { 
          case "ctf": 
          case "ftctf": 
          case "dem": 
          case "ftdem": 
             waitthread global/libmef/bases.scr::addbasepair "-336 -2807 64.13 0 East Barracks" "-39 1328 0.12 -90 West Well" 
             break 
       } 
    
    // ******************************************************** 
    // ***************END OF NEW CODE ************************* 
    // ********************************************************
    
    set g_gametype 3
    aet g_extgametype ft
    
    	exec global/ai.scr
    	
    	level waitTill prespawn
    
    
    
    
    	//*** Precache Dm Stuff
    	exec global/DMprecache.scr
    
    	level.script = maps/dm/StorageFacility111.scr
    	exec global/ambient.scr StorageFacility111
    
    	setcvar "g_obj_alliedtext1" "Storage Facility 1.11"
    	setcvar "g_obj_alliedtext2" "Created by Voxel"
    	setcvar "g_obj_alliedtext3" "VizionGrafx.com/MOH"
    	setcvar "g_obj_axistext1" "missing GMC trucks"
    	setcvar "g_obj_axistext2" "fixed by"
    	setcvar "g_obj_axistext3" "<TWZ>Gold"
    	setcvar "g_scoreboardpic" "StorageFacility111.tga"
    	
    
    
    level waittill spawn
    
    end
    Last edited by Slimbips {sfx}; May 2nd, 2019 at 11:33 AM.

  2. #2

    Default

    I have use this code and works fine:


    level.mef_mapname = "StorageFacility111"
    level.mef_maptype = "dm"
    level.mef_supportedgametypes = "ft"::"ftdem"
    level.mef_defaultgametype = "ftdem"

    switch (waitthread global/libmef/util.scr::get_gametype)
    {
    case "ftdem":
    waitthread global/libmef/bases.scr::addbasepair "-336 -2807 64.13 0 East Barracks" "-39 1328 0.12 -90 West Well"
    thread global/libmef/dem.scr::dem_begin
    break

    case "ft":
    thread global/libmef/ft.scr::ft_begin
    break

    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •