How to plug-in the codes?

General talk about the map making process.
Post Reply
User avatar
Mudsquisher
Private First Class
Private First Class
Posts: 48
Joined: Sat Apr 18, 2009 1:36 pm
Location: USA HEH =] GO AMERICANS!

How to plug-in the codes?

Post by Mudsquisher »

Well i just found the notepad on bzedit1.6.5 and i want to add world weapon in it. But i want the world weapon to only go off after a capture. How do i put that in to the code and where on the page? Also how do u know what color is wich on the teams? Like mp 0(what color is tht?), 0(wich is tht?),0(and tht is?),0(??),0(??),0(??). O and how do you plug in the code for autoteam (where it automaticly joins u in so tht teams r even)??? Please help me. Thanks in advance.
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: How to plug-in the codes?

Post by blast »

BZEdit does not have a "notepad", so I assume you're talking about the Notepad application that is part of Windows. Anyway, you should really read up on the wiki. All the information you need is right there...

http://my.bzflag.org/w/Category:Map_Making

(Hint: Look at the articles near the bottom of that page)
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
Dontkillme
Private First Class
Private First Class
Posts: 69
Joined: Thu May 15, 2008 4:42 pm
Location: Germany

Re: How to plug-in the codes?

Post by Dontkillme »

(From Wiki)

Code: Select all

weapon
 name example_weapon
 position 0.0 0.0 0.0
 rotation 0.0
 color 0
 trigger oncap
 eventteam 1
end

eventteam	: the team to use when looking at oncap weapons. Use numeric values 1 - red 2 - green 3 - blue 4 - purple. Explodes when the flag of that team is captured.
http://my.bzflag.org/w/World_Weapon

(Not from wiki)
If you want to make a ww which explodes on blue capture you need:

Code: Select all

weapon
 name example_weapon
 position 0.0 0.0 0.0
 rotation 0.0
 color 0
 tilt 0.0
 trigger oncap
 eventteam 3
end
Post Reply