Adding a new item

corruptedninja

Villager
Member
Joined
Oct 10, 2013
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I am trying to add another Blade  to this part of the script-

#-------------------------------------------------------------------------------

# * Interactive tool Blade

  

  # Blade graphic

  BladeGraphic = "$Navaja"

    

  # Weapon id that need to be equiped in order to use the Blade

  BladeWeaponId = 65

  

  # Sound played when using the blade

  BladeSoundSe = "Bow2"

    

# Blade Actions, write the followings lines on event comment tag

#

# BLADE SELF SWITCH     Put self switch letter you want to activate when the

#                       blade hit the event ex: BLADE SELF SWITCH A

#

# BLADE HIT ANIMATION   Put animation id that you want to be showed when the

#                       blade hit the event ex: BLADE HIT ANIMATION 112

#

#-------------------------------------------------------------------------------

 

Its like when ever i try to fill in the following for weapon graphic, graphic id and sound,for the weapon i am trying to put in the game works, but when i equip the defalt sword that i started off with it wont allow me to use the attack animation.

 

Can anyone help me add another blade graphic when i equip it.

 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support (Ace Scripts is for completed scripts that you are sharing with others). Please be sure to post your threads in the correct forum next time. Thank you.


What script are you talking about? Please provide a link so we can get the full story. What you have there is A (single) weapon, not something that you can add multiples of. Unless we see what script it is you're trying to modify, we can't help you.
 

corruptedninja

Villager
Member
Joined
Oct 10, 2013
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I've moved this thread to RGSSx Script Support (Ace Scripts is for completed scripts that you are sharing with others). Please be sure to post your threads in the correct forum next time. Thank you.

What script are you talking about? Please provide a link so we can get the full story. What you have there is A (single) weapon, not something that you can add multiples of. Unless we see what script it is you're trying to modify, we can't help you.
The name of the script is the FA Interactive System 2.0

Here is the full script for more information:

script.txt
 

Attachments

Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
The original snipped you gave is only the configuration part of the script, to add funcionality to it will require changes in the later programming part - and that's a lot more difficult: You would have to create new constants to hold the different ID's and pictures for the second tool, then implement those into the code by adding lines to check for the other tool options and so on.

I made a short check on the constants in the script - adding a second tool that will use the same pictures as the first might be simpler, but even that is beyond what I could do at the moment.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top