Author Topic: Flag entities  (Read 1236 times)

Caboose

  • PGP
  • Posts: 34
Flag entities
« on: February 24, 2007, 06:20:15 PM »
What you you put into the key and value for team/neutral flags?

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Flag entities
« Reply #1 on: February 24, 2007, 08:22:19 PM »
Use the "teamnumber" key for team flags (corresponds to the "team#" key in worldspawn), and for neutral flags you just make the flag entity and don't add any keys.

Caboose

  • PGP
  • Posts: 34
Re: Flag entities
« Reply #2 on: February 25, 2007, 01:17:29 PM »
Ok thanks.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Flag entities
« Reply #3 on: February 25, 2007, 01:24:03 PM »
Welcome.

Caboose

  • PGP
  • Posts: 34
Re: Flag entities
« Reply #4 on: February 25, 2007, 01:59:13 PM »
New problem.....
I've made the spawn entities and have programed them properly but some how on red team the spawnpoints are f'ed up and the blue team respawns there and the blue spawnpoints are fine. I don't know what to do.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Flag entities
« Reply #5 on: February 25, 2007, 02:24:26 PM »
Delete the spawn points, and start over. :)

Caboose

  • PGP
  • Posts: 34
Re: Flag entities
« Reply #6 on: February 25, 2007, 06:32:12 PM »
I already tried that but I'll try again.

Eiii

  • Autococker
  • Posts: 4595
Re: Flag entities
« Reply #7 on: February 25, 2007, 06:35:51 PM »
Yeah, sounds like the value isn't setting at all for those. Like Zorch said, try again.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Flag entities
« Reply #8 on: February 26, 2007, 05:52:32 PM »
If you have the following in your worldspawn:
"team1" "red"
"team2" "blue"

Then red flags and spawn points will need:
"teamnumber" "1"

And blue flags and spawn points will need:
"teamnumber" 2"

White flags and non team-specific spawns will need:
"teamnumber" "0"