World Weapons

Questions and answers about the how and why of making maps.
Post Reply
Scythio
Private First Class
Private First Class
Posts: 42
Joined: Sun Feb 08, 2009 7:35 pm
Location: Aperture Science Lab Contaminant Quarantine

World Weapons

Post by Scythio »

Ok.

I am trying to make a World Weapon SW 100 units up in the air to prevent GM camping.

This is the code I am using:

Code: Select all

weapon
  type SW
  delay 3
  trigger oncap
  position 0.0 0.0 100.0000
end
But it doesn't work. When I test the map, there is no shockwave.

Can anyone tell me what I am doing wrong?

Thanks!
Soon we will be facing bots that we can't beat...
User avatar
SkillDude
Private First Class
Private First Class
Posts: 336
Joined: Sun Apr 01, 2007 4:50 pm
Location: United States

Re: World Weapons

Post by SkillDude »

trigger oncap is the problem.
Unless you wanted it to activate like that, you shouldn't have that there. Right now you are saying that when someone caps, it will shoot the shockwave. However, if you intended to have it for when someone caps, then you are missing something.
eventteam X

Where X is the number of the team. 1 is red, 2 is green, 3 is blue, and 4 is purple.

So either your problem was you had that in there, or your problem was you didn't include which team upon cap to activate it for. I believe you can even do it for all teams like so: eventteam 1 2 3 4
Scythio
Private First Class
Private First Class
Posts: 42
Joined: Sun Feb 08, 2009 7:35 pm
Location: Aperture Science Lab Contaminant Quarantine

Re: World Weapons

Post by Scythio »

Thanks Sig! That worked!
Soon we will be facing bots that we can't beat...
User avatar
Agent West
Private First Class
Private First Class
Posts: 318
Joined: Thu Jan 31, 2008 1:32 pm

Re: World Weapons

Post by Agent West »

i believe another way of doing the SW is in "base". Example:
base
position 0 0 0
size 10 10 3
color 1
oncap SW
end
Rest in peace, AliceD (AKA Happy Alice)! miss ya!
Post Reply