How to plug-in the codes?
- Mudsquisher
- Private First Class
- Posts: 48
- Joined: Sat Apr 18, 2009 1:36 pm
- Location: USA HEH =] GO AMERICANS!
How to plug-in the codes?
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.
Re: How to plug-in the codes?
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)
http://my.bzflag.org/w/Category:Map_Making
(Hint: Look at the articles near the bottom of that page)
- Dontkillme
- Private First Class
- Posts: 69
- Joined: Thu May 15, 2008 4:42 pm
- Location: Germany
Re: How to plug-in the codes?
(From Wiki)
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
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.
(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