OBJ to TDM problem

Started by Daggers, January 17, 2006, 07:25:29 PM

Previous topic - Next topic

JADE

// THE BRIDGE
   // ARCHITECTURE: POWZER
   // SCRIPTING: POWZER
   
   main:
   
   
   setcvar "g_obj_alliedtext1" "Defend the bridge"
   setcvar "g_obj_alliedtext2" ""
   setcvar "g_obj_alliedtext3" ""
   
   setcvar "g_obj_axistext1" "Place an explosive"
   setcvar "g_obj_axistext2" "under the bridge"
   setcvar "g_obj_axistext3" "to destroy it"
   
   setcvar "g_scoreboardpic" "objdm4"
   
      level waittill prespawn
   
      //*** Precache Dm Stuff
      exec global/DMprecache.scr
   
      level.script = maps/obj/obj_team4.scr
      exec global/ambient.scr obj_team4
   
      thread global/exploder.scr::main
      thread global/minefield.scr::minefield_setup
      exec global/door_locked.scr::lock
   
      level waittill spawn
   
      level.defusing_team = "allies"
      level.planting_team = "axis"
      level.targets_to_destroy = 1 // only one of the two bombs in the level needs to be blown
      level.bomb_damage = 300
      level.bomb_explosion_radius = 1024
   
      // set the parameters for this round/wave based match
      level.dmrespawning = 1   // 1 **wave based** or 0 **round based**
      level.dmroundlimit = 5   // round time limit in minutes
      level.clockside = allies // set to axis, allies, kills, or draw
   
      level waittill roundstart
   
         $bridge_bomb thread global/obj_dm.scr::bomb_thinker
         $bridge_bomb2 thread global/obj_dm.scr::bomb_thinker
   
         $bridge_bomb thread axis_win_bomb
          $bridge_bomb thread allied_win_timer
   
   
   end
   
   
   axis_win_bomb:
   
      while(level.targets_destroyed < level.targets_to_destroy)
         waitframe
   
      teamwin axis
   end
   
   //*** --------------------------------------------
   //*** "Allied Victory"
   //*** --------------------------------------------
   
   allied_win_timer:
   
      level waittill allieswin
   
   end

   

   this scr works for me on this map

   

   JADE
im back for a while but not to stay so if you need anything fixed just ask away.

Daggers

Hi mate,

   

   This one is probably a dumb question... Would changing the time limit effect the running of it? We play ours at 15mins so I changed that part.

   

   The only other thing on the server is Admin Pro, and scanning with foresight.

   

   Thanks for all your help mate

   

   Daggers

Cobra {sfx}

I dont think AP or Foresight would interfere with respawn, if your normal timelimit is 15 then just use rcon timelimit 15 once you see the map starting to change to put it back to 15.

   

   The map scripts have that Jade ( level.dmrespawning = 1 )

   

   EDIT

   

   Ive moved the respawning to after level waittill spawn - see if that helps - try the same link Daggers
Sleep? What is that?

STORMnl

so when we download the maps again,they are improved?????

   

   =STORM=
Dutch Blue Oyster mean machine instructor + The Jack off the dutch platoon - My Drill Instruction http://es.youtube.com/watch?v=25Qhbdijv5Y&feature=related

Daggers

Yo Cobra,

   

   You're a star mate!!!

   

   All are working without any problems. Many thanks mate from me and the guys in the clan :)

   

   Take Care

   

   Daggers

Cobra {sfx}

Not improved Storm, Daggers was having respawn problems, they seem ok now
Sleep? What is that?

Cobra {sfx}

I went on your server earlier Daggers - it is easy to get under the maps :con
Sleep? What is that?

Daggers

Hmmm.... HELP!!!!!!!!!!!

   

   Only had the server for 3 weeks, I thought it was all covered, what do you recommend please mate

Cobra {sfx}

You just need some kill triggers in certain places really. Do you use msn? if so - pm me
Sleep? What is that?

JoeyC

Doesn't AP have a under map script in it. Shouldn't that stop people from getting under the map.

Cobra {sfx}

It didnt stop me in Mohdm2
Sleep? What is that?

Daggers

Yo Cobra,

   

   Everything has been tested mate :satisfied

   

   Running sweet as

   

   Cheers mate :)

   

   Daggers

Cobra {sfx}

Sleep? What is that?

Elgan {sfx}

Daggers :
   Yo Cobra,

   

   Everything has been tested mate :satisfied

   

   Running sweet as

   

   Cheers mate :)

   

   Daggers

   

   

   lol "sweet as"

   

   what part of Uk u from?;

Card {sfx}

Elgan :
   

   

   

   lol "sweet as"

   

   what part of Uk u from?;

   

   

   Is there a good part to UK???...

   

   Kidding!!!!