Dynamic Equipped Armor/Sprite

Joined
May 30, 2014
Messages
23
Reaction score
1
First Language
English
Primarily Uses
Hello, what I am looking for here is a script that changes your sprite based on your equipped armor. I am talking only armor and helmets. I don't need shields and weapons. I have already tried Jeneeus Guruman's script and Hime's script, but they didn't support helmet and armor combinations. If there is anyone who can do this, or a script out there that I may have missed, please tell me. Thank you for your time.
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
Wait something doesn't sound right, you say you have Hime's script, which one is that? Because I don't think you're using the script I'm thinking of.

Hime has a script for equip events(works with all equipment), equiping or even unequiping can be made to call common events(then just make the common event change the sprite as desired), which you setup in note tags.
 
Last edited by a moderator:
Joined
May 30, 2014
Messages
23
Reaction score
1
First Language
English
Primarily Uses
Wait something doesn't sound right, you say you have Hime's script, which one is that? Because I don't think you're using the script I'm thinking of.

Hime has a script for equip events(works with all equipment), equiping or even unequiping can be made to call common events(then just make the common event change the sprite as desired), which you setup in note tags.

 
Zoltor, from what I see in that script, you put note tags in the individual armors. I need it so that I can have combinations of armor. EX: Gold Helmet and Iron Armor
 
Last edited by a moderator:

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
Zoltor, from what I see in that script, you put note tags in the individual armors. I need it so that I can have combinations of armor. EX: Gold Helmet and Iron Armor
Seeing how it just calls common events, that's easy enough to do.

Just have each equip of a set, add +1 to a variable when equiped(-1 when unequiped), then have a condition branch, if variable = X, do Y. With this method, each piece of equip would call this same common event, when equiped.
 
Last edited by a moderator:
Joined
May 30, 2014
Messages
23
Reaction score
1
First Language
English
Primarily Uses
Sorry Zoltor, but I don't quite understand what you are saying. From what I understand, you are saying to have each set a single item. Would you mind giving me a walk through of what you are saying?
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
Sorry Zoltor, but I don't quite understand what you are saying. From what I understand, you are saying to have each set a single item. Would you mind giving me a walk through of what you are saying?
In the note tag, you have a equip call a common event(make every piece of equipment in the set call the same common event(It would be done a bit different, if each individual equip also changes the sprite, but if you just want it to happen when a complete set is put on, this will do)

In the common event, have it add 1 to a variable

Then make a condition branch. The condition should be, if Variable = X(X being the number of equipment in the set that must be equiped)

Change sprite.
 
Joined
May 30, 2014
Messages
23
Reaction score
1
First Language
English
Primarily Uses
Ok now I see what you are saying, but is it possible to do it with individual AND a complete set?
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
Ok now I see what you are saying, but is it possible to do it with individual AND a complete set?
Yea, but such would use fewer resources giving each equip It's own common event(each equip would add +1 to the variable, and have the same variable condition branch for having the set equiped), then making a single common event, try to do it all.

The only differnt thing placed in the common events, is you'll need to put change graphic at the start of each common even, for It's individual graphic.

Note: However to make each individual equip change the graphic, yet not look sloppy, would require a lot more sprites/variations of sprites, a switch assigned to each piece of equipmenet, and a bunch of condition branches.

I strongly suggest, unless you're using "huge" sprites(aka the High Fantasy sprites) forget about individual equip sprite changes all together(stick with just the set change), and even if you are using the High Fantasy sprites, think really hard how important it is to your game, before deciding to do that, because even if you found a script that did most of the eventing stuff automatically, you would still have to provide a metric ton of variations for each sprite.

You see games that do this in the commercial industry, don't change the sprite at all, instead they have a clothing system so to say, where they just add things on top of the sprite. Otherwise such games would require millions of sprite variations.
 
Last edited by a moderator:

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
no one read my post??? :D . it's simpler to use existing scripts. eventing is tedious. especially if you have lots of different combination:

fire armor, wind helm, earth boot => show this sprite.

lots of combination. not to mention if people unequip one of them:

fire armor, blank, earth boot => means lots more combination...

just use scripts that add extra 'piece' of graphic on TOP of your 'naked' sprites. need more effort on aligning the sprites... but at least it's lots easier than checking all possible combination.

but it's up to you.

btw in my post above. i post two of the best visual equip scripts. i personally use victor. but it's because i don't make commercial games. if you're making commercial games. using victor visual equip might cost you $$. use modern algebra instead.
 
Last edited by a moderator:
Joined
May 30, 2014
Messages
23
Reaction score
1
First Language
English
Primarily Uses
I did read your post estriole, but I already have made all of the sprites, I just need a way to make them appear in game
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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'??

Forum statistics

Threads
105,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top