Author Topic: [XP] Individual Enemy Kill Counter for Blizz ABS  (Read 8790 times)

Offline nathmatt

  • Chaos User
  • ******
  • Posts: 1289
  • LV: 114
  • Gender: Male
  • The Add_on King
    • View Profile
    • Nathmatt Productions
[XP] Individual Enemy Kill Counter for Blizz ABS
« on: November 03, 2010, 07:21:26 PM »
Individual Enemy Kill Counter for Blizz ABS
Authors: Nathmatt
Version: 2.0
Type: Enemy Counter
Key Term: Blizz-ABS Plugin

Introduction

keeps individual counters for each enemy

Features

  • Can create more than 1 counter for the same enemy
  • Keeps as many counts as you want
  • Keeps track of all enemies killed

Screenshots

no screen shot

Demo

No Demo

Script

(click to show/hide)

RMX-OS Plugin

(click to show/hide)

Instructions

in the script


Compatibility

no compatibility issues known

Credits and Thanks

  • Nathmatt

Author's Notes

if you have any issues or suggestions post here

« Last Edit: June 21, 2011, 02:36:43 AM by nathmatt »
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script
(click to show/hide)

keyonne

  • Guest
Re: Individual Enemy Kill Counter for Blizz ABS
« Reply #1 on: November 07, 2010, 12:24:32 AM »
Quick question, as I'm still learning basic scripting. What code should I use to activate a switch when a certain monster ID reaches a desired number?
$game_player.enemy[id] should be used somewhere I'm assuming. I apologize for my noobishness, but I'm more of a designer and artist than scripter. :/

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 512
  • LV: 16
    • View Profile
Re: Individual Enemy Kill Counter for Blizz ABS
« Reply #2 on: November 07, 2010, 12:45:26 AM »
Do a conditional branch

if $game_player.enemy[id] == X
Turn on switch.

Offline nathmatt

  • Chaos User
  • ******
  • Posts: 1289
  • LV: 114
  • Gender: Male
  • The Add_on King
    • View Profile
    • Nathmatt Productions
Re: Individual Enemy Kill Counter for Blizz ABS
« Reply #3 on: November 07, 2010, 05:57:00 PM »
first you want to turn the enemies counter on using this
Code: [Select]
$game_player.enemy_trigger[id] = true then in a condition branch you could turn on a switch or just use a condition script as
Code: [Select]
$game_player.enemy[id] >= x x being the amount needed to kill after so you will want to use
Code: [Select]
$game_player.enemy_reset(id) to reset it back to 0 and
Code: [Select]
$game_player.enemy_trigger[id] = false to turn it off so that it will be ready for the next quest that needs you to kill it
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script
(click to show/hide)

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 512
  • LV: 16
    • View Profile
Re: Individual Enemy Kill Counter for Blizz ABS
« Reply #4 on: November 07, 2010, 05:58:57 PM »
Would this script work with RMX-OS btw?

Offline nathmatt

  • Chaos User
  • ******
  • Posts: 1289
  • LV: 114
  • Gender: Male
  • The Add_on King
    • View Profile
    • Nathmatt Productions
Re: Individual Enemy Kill Counter for Blizz ABS
« Reply #5 on: November 09, 2010, 02:30:25 AM »
i don't see y it wouldn't but it would need the save data configured

edit: just use the newly added plug-in place it below this script 
« Last Edit: November 09, 2010, 02:33:41 AM by nathmatt »
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script
(click to show/hide)

Offline Dweller

  • Ethereal Devastator
  • ****
  • Posts: 334
  • LV: 44
  • Gender: Male
    • View Profile
    • Subir de Nivel
Re: Individual Enemy Kill Counter for Blizz ABS
« Reply #6 on: December 01, 2010, 09:54:38 AM »
I was looking to a script like this one. Using now and working fine. Thanks nathmatt (lvl up)
Dwellercoc
(click to show/hide)

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Individual Enemy Kill Counter for Blizz ABS
« Reply #7 on: December 02, 2010, 01:14:34 AM »
why the hell was this never moved? *moved to database after adding the [XP] tag to the title*
« Last Edit: December 02, 2010, 01:17:42 AM by Ryexander »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline nathmatt

  • Chaos User
  • ******
  • Posts: 1289
  • LV: 114
  • Gender: Male
  • The Add_on King
    • View Profile
    • Nathmatt Productions
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #8 on: December 02, 2010, 10:38:46 AM »
The xp tag was probably the reason it didn't get moved
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #9 on: December 02, 2010, 11:17:22 AM »
nathmatt got it right. ;)
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #10 on: December 02, 2010, 11:34:21 AM »
pssh, it's not like it take more than ten seconds to add the tag, lazy other mods.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #11 on: December 02, 2010, 11:52:35 AM »
Nathmatt's been doing that a couple of times so I just decided not to fix his post this one time as a lesson. :P
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline nathmatt

  • Chaos User
  • ******
  • Posts: 1289
  • LV: 114
  • Gender: Male
  • The Add_on King
    • View Profile
    • Nathmatt Productions
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #12 on: December 02, 2010, 09:08:07 PM »
i have to admit i didn't even notice it wasn't in the database until you mentioned it
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script
(click to show/hide)

Offline WhiteRose

  • Trying to code in Ruby
  • Moderator
  • Lexima Warrior
  • ***
  • Posts: 2341
  • LV: 127
  • Gender: Female
  • <3
    • View Profile
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #13 on: December 03, 2010, 12:05:43 AM »
pssh, it's not like it take more than ten seconds to add the tag, lazy other mods.

I plead innocent; I'm not a mod over this section.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #14 on: December 03, 2010, 09:46:36 AM »
I plead innocent as well, because I can. :=
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Dweller

  • Ethereal Devastator
  • ****
  • Posts: 334
  • LV: 44
  • Gender: Male
    • View Profile
    • Subir de Nivel
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #15 on: January 22, 2011, 12:31:41 PM »
I´m having a problem using this script on my game. After killing an enemy if I use a Custom Event Triggers the $game_player.enemy[id] variable count +14 enemies killed instead +1. (I tested too on a new Blizz-ABS game with only Individual Enemy Kill Counter for Blizz ABS script and got the same error)
Dwellercoc
(click to show/hide)

Offline nathmatt

  • Chaos User
  • ******
  • Posts: 1289
  • LV: 114
  • Gender: Male
  • The Add_on King
    • View Profile
    • Nathmatt Productions
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #16 on: January 22, 2011, 03:14:59 PM »
send me a quick demo so i can see it
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script
(click to show/hide)

Offline Dweller

  • Ethereal Devastator
  • ****
  • Posts: 334
  • LV: 44
  • Gender: Male
    • View Profile
    • Subir de Nivel
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #17 on: January 22, 2011, 06:23:28 PM »
Demo explaining the problem:
http://www.sendspace.com/file/95nlto
Dwellercoc
(click to show/hide)

Offline nathmatt

  • Chaos User
  • ******
  • Posts: 1289
  • LV: 114
  • Gender: Male
  • The Add_on King
    • View Profile
    • Nathmatt Productions
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #18 on: January 22, 2011, 10:54:16 PM »
update 1.10 fixed above error
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script
(click to show/hide)

Offline Dweller

  • Ethereal Devastator
  • ****
  • Posts: 334
  • LV: 44
  • Gender: Male
    • View Profile
    • Subir de Nivel
Re: [XP] Individual Enemy Kill Counter for Blizz ABS
« Reply #19 on: January 23, 2011, 09:54:30 AM »
updated my game to 1.10 and no errors, ty.
Dwellercoc
(click to show/hide)