Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Free Animations~! Fully original


Zappy
 Share

Recommended Posts

Hey y'all. I've been trying to spruce up the combat in eclipse, rewriting how everything is calculated, and giving it some more graphical… pizzazz.

The least I can do is hand out most of my work to the community, as you're all so great.

It's not too special, but they look really nice in combat ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

Feel free to use them, even commercially if you really wish!

(Though I do ask you don't take credit for them)

**Critical Hit**

![](http://imageshack.us/a/img96/6946/criticalhit.png)

**Dodge**

![](http://imageshack.us/a/img801/9931/dodgerm.png)

**Deflect (Parry)**

![](http://img5.imageshack.us/img5/5096/deflect.png)

**_In Action Gifs !_**

Critical, Dodge

![](http://imageshack.us/a/img541/1516/demo.gif)

Critical, Dodge, Deflect

![](http://img4.imageshack.us/img4/3040/demo2m.gif)

I MIGHT take requests if anyone has them, but obviously that has to do with interest/time/ambition.

I'll keep adding more to this main OP as they come ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

**_Code Tutorial_**

If you aren't sure how to add these in, it's actually quite simple, and doesn't require any client work!

**Server:**

In _modConstants_, scroll to the bottom and paste this:

```

' Attack Animation Constants

Public Const CRITICAL_HIT_ANIM As Long = 1

Public Const DODGE_ANIM As Long = 2

```
Make sure to set the number to whatever animation in the animation editor you want to play. For instance, my critical hit animation is the very first animation, so I set it to "1".

Then, in _modCombat_, You'll have to find 3 subs and change little aspects in each of them.

TryPlayerAttackNpc

TryNpcAttackPlayer

TryPlayerAttackPlayer

^ If we don't alter each of these, then the animations won't play for all combat situations.

(I guess you could throw these commands in CanPlayerCrit/CanNpcCrit, but it wouldn't work for my own code since I've changed combat around a bit.)

Now, in Sub TryPlayerAttackNpc, find:

```

SendActionMsg mapnum, "Dodge!", BrightGreen, 1, (MapNpc(mapnum).NPC(mapNpcNum).x * 32), (MapNpc(mapnum).NPC(mapNpcNum).y * 32)

```

Comment that out with a ' (or remove it if you wish, it won't hurt.)

Underneath, paste this:

```

SendAnimation mapnum, DODGE_ANIM, (MapNpc(mapnum).NPC(mapNpcNum).x), (MapNpc(mapnum).NPC(mapNpcNum).y)

```

Now in Sub TryNpcAttackPlayer, find:

```

SendActionMsg mapnum, "Dodge!", BrightGreen, 1, (Player(Index).x * 32), (Player(Index).y * 32)

```

Do the same with this as before, then paste this:

```

SendAnimation mapnum, DODGE_ANIM, (Player(Index).x), (Player(Index).y)

```

Finally, in Sub TryPlayerAttackPlayer

```

SendActionMsg mapnum, "Dodge!", BrightGreen, 1, (GetPlayerX(victim) * 32), (GetPlayerY(victim) * 32)

```

And Paste:

```

SendAnimation mapnum, DODGE_ANIM, (Player(victim).x), (Player(victim).y)

```

For other animations such as Crit and parry, do the same thing, but in their respective if conditions. I'm not going to write it out because it's pretty simple and following what you did for dodge, it's pretty straight forward ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

Just remember to change "DODGE_ANIM" to "CRITICAL_HIT_ANIM" or whatever the constant we set awhile back is.
Link to comment
Share on other sites

Oh these look really nice, this is a great resource i think I'll be using these in my project. Thanks for making them!

EDIT- Wait, how do I actually add these in? Do I need to change stuff in the code? If so, could you write up a tutorial for that if you have the time?
Link to comment
Share on other sites

Aha no problems <3 I think I'll post the code tutorial for new members as well. ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

EDIT: Oh look, lucky for you I planned on it ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
Link to comment
Share on other sites

thanks for the idea xD ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) and the tut. ill prop do my own but urs gives me something togo by ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png).
Link to comment
Share on other sites

I'm at work so I can't change the OP right now. Ignore that it says brightgreen, I changed that so itd look nicer before I made these, pretend it just says pink ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Also, this is only REALLY comaptible with eo 3 with dx8, since my animations use transparency. The crit animation may not look the same because I used another animation to play below the sprite that I did not create
Link to comment
Share on other sites

  • 3 weeks later...
Symphony, your work is beautiful! The only problem is I know not how to add it into my work in progress. I believe I have EO3 but no where does this fool see a modConstants and modCombat. Nor do I have VB6 :c Am I missing a folder or file forbidding the use of such an amazinnngggg resource? D:
Link to comment
Share on other sites

oh hello ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Thanks everyone for the compliments, you're all awesome ![^_^](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/happy.png) <3

Anywho, PalePony, if you're new to the whole coding/programming thing or this forum in general, it may be a bit confusing for you to pick up. I know I was totally lost at first myself and didn't know where to start.

Anywho, modConstants and modPlayer aren't folders, their modules. Modules are pretty much classes in visual basic. You can find the raw source for them in the "src" folders in both the client and server folders. Now, you won't be able to just edit them like text documents and hope it works.

You'll have to edit the project files that use the modules. Each project file is also located in the client/server folders.

Unfortunately you'll need visual basic blah blah to do all the editing, so go grab that. Anywho, I'm not amazing at giving instructions, so you may have to ask someone else or snoop around for tutorials, but I hope I managed to give you a hand ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) <3
Link to comment
Share on other sites

xD….

@NEW PERSON

you must have "Visual Basic 6.0" installed.

there is a file to open the source code.

in the code(in the mod folder) you will see the files that need editing.

then follow the tut. o-o this wasnt hard to install its just you need make sure the number you set the animations to is the same slot in the animation editor holding the animation. o-o
Link to comment
Share on other sites

  • 3 months later...
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...