blizzABS script questoins

Started by legacyblade, October 23, 2008, 05:56:14 pm

Previous topic - Next topic

legacyblade

Well, I'm working on making an addon for blizzABS. Its really small, but it would allow a temporary patch to give some of XAS' features to blizzABS. I want that because I use blizzABS in my game, and want it to look nice even before blizzard makes his updates to blizzABS.

Anyways, I'm wondering which methods I would need to change to do the following:

Make it so skills no longer have sprite handling:

You CAN remove actor animations, but that makes the game boring. To get the evented skill movement to work, I can't have the game doing anything to the sprite (changing the actor graphic in the event has issues with the skill sprite handling)

Animation speed

Yes, I know this will be configurable in later versions of the script, but for the moment I want to make it have the same speed as XAS.

Anyways, that's all I wanted to know. Thanks for reading (and yes, I looked)

Aqua

Make it so skills no longer have sprite handling:

Part 3 Lines 415 and 6540

These lines contain
setup_sprites('_skl')


So I assume that's where you'd edit.

As for the animation speed, I'm not entirely sure.  Good luck with this add-on :)

legacyblade

Thanks, that's exactly what I needed, aqua. And it's a very small addon, just as a simple patch for some of XAS' functionality

Blizzard

October 23, 2008, 06:20:24 pm #3 Last Edit: October 23, 2008, 06:22:31 pm by Blizzard
The second things isn't so easy to find since I haven't explicitely mentioned where it is. Just find the method "def pattern" in Map_Battler. It alters the @pattern variable to display the animation. I think I gave Aqua some of the code in an easier-to-read form. Right below there are "sprite_update" and "setup_sprites" which handle the processing and the setup of the counter data.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

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.