Jump to content

Photo

can someone give me an example of a simple sword script?

item scrip help

  • Please log in to reply
4 replies to this topic

#1 Shadowblitz16

Shadowblitz16

    Illustrious

  • Members

Posted 05 January 2017 - 02:58 PM

can someone give me an example of a simple sword script?

I want this because I want to make a gameboy style sword script from scratch but I don't know how to do the following

 

- create a sword at links position

- animated the sword

- update its hitboxes

- set its defences to that of the sword class

- create custom sword beam

 

this is my script so far

Spoiler

Edited by Shadowblitz16, 05 January 2017 - 03:11 PM.


#2 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 06 January 2017 - 04:55 AM

Your best option is to use the included swords with stdWeapons.zh

 

This is an early prototype for them.



#3 Shadowblitz16

Shadowblitz16

    Illustrious

  • Members

Posted 06 January 2017 - 04:12 PM

@ZoriaRPG what is stdWeaponsExtra.zh? I googled it and nothing comes up



#4 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 07 January 2017 - 03:26 AM



@ZoriaRPG what is stdWeaponsExtra.zh? I googled it and nothing comes up

 

..., stdWeapons.zh

 

Where did you come up with stdWeaponsExtra.zh?

 

It's Alucard's header, and I thought that you were using it???


Edited by ZoriaRPG, 07 January 2017 - 03:27 AM.


#5 Shadowblitz16

Shadowblitz16

    Illustrious

  • Members

Posted 07 January 2017 - 02:26 PM

your script has a commented out "//import "stdWeaponsExtra.zh""

 

also I was but I can't seem to offset the sword when its on specific frames

and drawing the sword doesn't have collisions so I can't draw a charging blade with it


Edited by Shadowblitz16, 07 January 2017 - 10:25 PM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users