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

Combat script!


crowdz
 Share

Recommended Posts

It is possible but I'm not a professional, I think you can ask at Scripting Section.

For seeing the weapon equipped, go to Server folder and open Data.ini.
Change Paperdoll=0 to Paperdoll=1
Now go in the game and make a new weapon and wear it, you'll see it on your hand.

Sincerely,
Rithy
Link to comment
Share on other sites

I'm no expert in scripting or anything, but when you do ask for the script, maybe make it more specific. I believe you should have a solid plan for your game, before you jump into asking for scripts. Tell everyone what you want specifically and then someone is more likely to post. If you aren't that bothered, than that is your choice, just make sure someone's time isn't going to waste.

Not sure what you mean by "Attack Graphics"..

Good luck ;)
Link to comment
Share on other sites

Well..I saw people did it but I have no clue how.
I don't know if it's Scripting or Source Edit.

All I know it it's possible to do it.
With scripting, I'm not sure…but you can make a command to display a spell animation in front of the sprite in the OnAttack sub.

Sincerely,
Rithy
Link to comment
Share on other sites

@KillerRazor:

> Maybe create a new module that will do it?

Why waste time to do that?
You already have the script that activate every time you attack.
So just add a little script that display a Spell Animation and make the attack animation you want in the Spell.bmp.
In fact, here's the command :

> Call SpellAnim(SpellNum, map, x, y)
> –----
>     Call SpellAnim(spellnum, map, x, y)
>     - displays the animation on the specified map and x and y position
>     Example: Call SpellAnim(5, 1, 10, 12)

Sincerely,
Rithy
Link to comment
Share on other sites

Yes, just do what Rithy said and select a paperdolled Armour sprite to do it. And what Rithy suggested would do what you want. It would show a spell animation from the sheet, infront of the weapon, to create the effect of a sword slash, but not fire a spell. Just a mask really. You'd need to select the animation you want, or create one I suppose.
Link to comment
Share on other sites

Well if you have the default sheet, then you're fine.

Make sure when you make the item, you select the right graphic.

It's a one picture. And you click that one picture.
If you selected the picture that have a lot of rows, then you did it wrong.
If you're not using the default item sheet that come with the download then the sheet is wrong.

Sincerely,
Rithy
Link to comment
Share on other sites

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...