![]() |
Custom baddies
I'm working on a system for custom baddies for my server. I already have the movement, targeting and attack systems done, so the more involved steps of creating a custom baddy are already done.
What should be the more simple step of creating a custom baddy is something I've never done before. Right now the custom baddies that I'm fighting are all block.png's, which doesn't make for a very interesting baddy. So can anyone tell me the technique for setting the animations on baddies? My first thought was to simply create the baddy and that I'd be able to use replaceani, or setani on it, but since it isn't a showcharacter I'm not sure if that's possible. Thanks! |
setcharani
|
Quote:
When you use this command is it necessary to check the direction of the baddy? And since the baddy is not a showcharacter how can you check which direction the baddy is facing in the first place? Or would actually making it a showcharacter and then using setcharani on it work well enough? |
If you are cool with the baddy being basically 32x32, showcharacter seems to be the way to go.
If not, you could emulate the whole thing with a bunch of clientside showanis and manually keeping track of the direction, I guess. |
Well, it doesn't need to be anything complicated, so I suppose showcharacter will work for now.
|
Quote:
PHP Code:
|
Quote:
|
Hmm. Something like that would be nice but that brings back the question of; if it's not a showcharacter then how do you decide which direction the baddy is facing so that the gani will work properly?
|
Quote:
Quote:
|
Quote:
I now see why so many people would like to see a basic open-source baddy. |
Quote:
|
Quote:
|
Source code?
|
All times are GMT +2. The time now is 12:06 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.