BNWCS Melee Weapons

Intro

Unlike most existing combat systems, there is no special "melee API" for the BNWCS. Developers can simulate melee damage within the BNWCS in two main ways:

  1. Making "Linden Damage" melee weapons that rez a prim at the coordinates of the target avatar.
  2. Using the ability to "target" the splash API to limit splash damage to avatars that "should" receive melee damage.

Both of these methods have proven to be more effective than the original method, best described as "Shoot a large bullet down from head height to the floor. Make the long side of the bullet reach from the attacking avatar, out forward. The longer the bullet, the farther the melee range."



Last updated Mar 26, 2010
meter_state
integer

Values:
0: Loading
1: Non-combative
2: Combative
3: Dead
Team
string

Values:
None, Red, Orange, Yellow, Green, Blue, Purple, Pink
Achievement_Type
string

Values:
headshot, multi_kill, killing_spree
This is a list of all the avatar's statistics and ranking information for the current sim, in stat=value format.

You would probably want to split this string at an ampersand (&) character, then split each of THOSE pieces at an equals sign (=).

The statistics are identified by shortened names in lower-case, as follows:

rtg: Rating
k: Kills
d: Deaths
a: Assists
kpd: Kills per Death
m: Longest Life
p: Total Playtime
r: Revived
hl: Healed
s: Sniped
hd: Headshots
mk: Multikills
ks: Killing Sprees
rnk: Rank
This is a list of all of the sim's settings, as provided by the "BNWCS Combat Zone Custom Settings Server" object.

You would probably want to split this string at an ampersand (&) character, then split each of THOSE pieces at an equals sign (=).

More information about all the different settings you will encounter in this string can be found at http://BNWCS.org/?zone_notes
Statistic_Name
string

Values:
Rating
Kills
Deaths
Assists
KPD (Kills per Death)
Maxlife (Longest Life)
Playtime (Total Playtime)
Revived
Healed
Sniped
Headshots
Multikills
Sprees (Killing Sprees)
Rank