[XP] Touch Damage for Blizz-ABS

Started by winkio, February 14, 2009, 05:46:52 pm

Previous topic - Next topic

Kagutsuchi

I would like the option to turn off blockable touch damage.. like rolling stones, or fire and such.

Kagutsuchi

I get an error message after having updated to blizz abs v2.53

Spoiler: ShowHide

Blizzard

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


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

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

Kagutsuchi

May 10, 2009, 11:49:01 am #23 Last Edit: May 10, 2009, 12:08:19 pm by Kagutsuchi
No tha can't be the problem, I started a new game, since the old savegames was already incompatible with the update to blizz abs 2.53.

    # stop attack if pressing CTRL in debug mode
    return false if $DEBUG && @ai.basic != 0 && Input.press?(Input::CTRL)

(The last line there is line 138)

Blizzard

Right. Since Blizz-ABS now uses groups it's not "@ai.basic" but "@ai.group". I'll edit the first post.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


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

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

Kagutsuchi


Blizzard

It just came to my mind that this add-on kind of loses its purpose after I added Custom Event Triggers. >.<
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


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

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

winkio

yeah, I didn't update this for a reason.  It's outdated.  Sometime, when I have nothing else to do, I'll make it an actual system with more features.  But it was really a quick fix that became outdated because of Blizz's updates (a good thing, by the way).

Boba Fett Link

When I move onto a map with enemies this error occurs:

Script 'Touch Damage' line 68: NoMethodError occurred.

undefined method 'intersection' for nil:NilClass


On that line I have:

!battler.battler.dead? && @utils.intersection(

I am using Blizz-ABS version 2.84.
This post will self-destruct in 30 seconds.

Boba Fett Link

This post will self-destruct in 30 seconds.

winkio

Quote from: Blizzard on August 16, 2009, 12:01:51 pm
It just came to my mind that this add-on kind of loses its purpose after I added Custom Event Triggers. >.<


Quote from: winkio on August 16, 2009, 05:44:02 pm
yeah, I didn't update this for a reason.  It's outdated.  Sometime, when I have nothing else to do, I'll make it an actual system with more features.  But it was really a quick fix that became outdated because of Blizz's updates (a good thing, by the way).


This script doesn't work because the feature was built into Blizz-ABS.  I will remake it and add more features eventually.

Boba Fett Link

Thanks. I think I have it figured out now. Just got to try it.
This post will self-destruct in 30 seconds.

Boba Fett Link

But wait. If I use custom event triggers for touch damage, I won't be able to use them for triggering events once you kill the enemy or other similiar stuff, right?
This post will self-destruct in 30 seconds.

MarkHest

December 24, 2013, 07:38:09 pm #33 Last Edit: December 24, 2013, 07:39:36 pm by MarkHest
Quote
Script ' ' line 68 NoMethodError occurred.

undefined method 'intersection' for nil:NilClass


Got this as I entered a map with an enemy on it. The enemy has ID1 and the script is set to deal touch damage with enemy ID1
   

KK20

Try replacing (CTRL + H) utils with util.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

MarkHest

The game didn't crash once entering the map like before. However, I did get this when I touched the enemy:

Quote
Script 'Blizz-ABS Touch Damage' line 153: NoMethodError occurred.

undefined method 'apply_action_effect' for #<Game_Player:0x691d738>
   

KK20

Hmm...I guess BlizzABS has made too many changes since the time of this script. It needs to be updated.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!