developer's kit changelog

Critical updates are highlighted. You should always update to versions marked as "critical" as quickly as possible. Due to the nature of the API scripts, I will try to avoid making any changes that result in a critical update to the API.

Current API Versions:

  • Info API: 0.4
  • Query API: 0.2
  • Splash API: 1.5
  • Target API: 1.9
  • Vehicle API: 4.2

Current Developer's Kit Version: 5.3

New in this version:

  • BNWCS.api.info.0.4.lsl
    - Allows developers to listen for meter state changes, avatar death, headshots, flag capture, splash damage, headshots, and more.
  • BNWCS.api.query.0.2.lsl
    - Allows developers to find out an avatar's HP, team, meter version nuber, sim settings, top-ranked players in the sim, and more.

Past Versions:

  • 5.2

    New in this version:

    • BNWCS.api.AoE.1.5.lsl
      - Allows targetting of splash to one specific avatar.
      - Sends a confirmation linked message back when splash damage is successfully sent.
  • 5.1

    New in this version:

    • BNWCS.api.vehicle.4.2.lsl2
      - Vehicles can be repaired, and repaired HP is tracked as a statistic.
      - Vehicles can pick up vehicle health packs.
      - Only combative avatars can damage vehicles.
    • BNWCS.api.target.1.9.lsl2
      - Targets can be repaired, and repaired HP is tracked as a statistic.
      - Only combative avatars can damage targets.
      - Targets can be set to "combative" by default
      - Targets can be set to only take damage from explosives
      - Targets can be set to automatically respawn
    • BNWCS Damage Tester 0.7.5+
      - Obeys the "hit_cap" set for the sim.
    • Weapon-Disabling API removed.
      - Now that only combative avatars can damage, there is no need for this API anymore.
  • 4.4

    New in this version:

    • BNWCS.api.vehicle.3.6.lsl2
      Splash damage from LL-damage explosives adjusted.
  • 4.2

    New in this version:

    • BNWCS.api.vehicle.3.4.lsl2
      Can take splash damage from some existing LL-damage explosives with no modification of explosives necessary.
  • 4.1

    New in this version:

    • BNWCS.api.vehicle.3.2.lsl2
      Compatible with Combat Zone Custom Settings Server 2.0. No longer compatible with the old Combat Zone Custom Settings Server. "Damage Modifier" and "Default State" settings of old Settings Servers will not be honored by the new API, and the old API will not honor those settings from newer Settings Servers. Expect improved performance and loading of settings in high lag.
    • BNWCS Damage Tester v0.6.7+
      Compatible with Combat Zone Custom Settings Server 2.0. No longer compatible with the old Combat Zone Custom Settings Server. "Damage Modifier" and "Default State" settings of old Settings Servers will not be honored by the new target, and the old target will not honor those settings from newer Settings Servers.
    • 3.0

      New in this version:

      • BNWCS.api.vehicle.2.0.lsl2
        Allows 3rd-party scripts to change vehicle state, no longer makes vehicle temporary, or disables any other scripts, on vehicle death. Does not take damage from driving on prim roads.
    • 2.91

      New in this version:

      • BNWCS.api.vehicle.1.9.lsl2
        Responds to the BNWCS "/8 check <Owner Name>" command.


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