Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

4 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> Multi-Slot Equipment VX, Extra armor slots, cursed equipment, and more...
DerVVulfman
post Apr 6 2008, 08:08 PM
Post #1


Level 12
Group Icon

Group: Revolutionary
Posts: 218
Type: Scripter
RM Skill: Skilled




sleep.gif Removed until iEntry's Legal Terms properly spell out Member Rights regarding ownership of submitted content. The terms in use are way too vague for comfort.


__________________________
Up is down, left is right and sideways is straight ahead - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Show/Hide] My main haunts

Clickable links:


(My own forum)





(My first forum)
Go to the top of the page
 
+Quote Post
   
Warder
post Apr 6 2008, 08:39 PM
Post #2


Level 31
Group Icon

Group: Revolutionary
Posts: 750
Type: None
RM Skill: Undisclosed




I'm certainly happy to see this script. I liked the XP one, and had been hoping someone would make a VX equivalent. This should make a nice addition to my project. Thanks. smile.gif
Go to the top of the page
 
+Quote Post
   
DerVVulfman
post Apr 6 2008, 08:44 PM
Post #3


Level 12
Group Icon

Group: Revolutionary
Posts: 218
Type: Scripter
RM Skill: Skilled




Thanks.

Well, I didn't make slots for weapons... but like I pointed out in the script. Who has more than two hands? tongue.gif And some people always had problems with Guillaume's use of additional fonts, but that was a result of it being designed in the 'Postality Knights' era of RPGMaker XP users.

And I may do some tweaking here and there. Some people always complained that there wasn't support for Left-Handed characters.


__________________________
Up is down, left is right and sideways is straight ahead - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Show/Hide] My main haunts

Clickable links:


(My own forum)





(My first forum)
Go to the top of the page
 
+Quote Post
   
Znikomek
post Apr 7 2008, 04:01 AM
Post #4


Level 3
Group Icon

Group: Member
Posts: 36
Type: None
RM Skill: Undisclosed




i have a small request
can you show me how can i put into x the variable?
SWITCH_EQUIP_WEAPONS = [ [1,x] ]
SWITCH_EQUIP_ARMORS = [ [1,x] ]
becouse i need it to identifycation

and additional question:
how can i disequip teh curse item o additional slot?

thx

This post has been edited by Znikomek: Apr 7 2008, 07:43 AM
Go to the top of the page
 
+Quote Post
   
TiPere
post Apr 7 2008, 04:42 PM
Post #5


Level 2
Group Icon

Group: Member
Posts: 19
Type: None
RM Skill: Undisclosed




Screeennnnshottttt pleaseeeeee
Go to the top of the page
 
+Quote Post
   
Senreichi
post Apr 7 2008, 06:47 PM
Post #6


There's always another choice, you just have to find it.
Group Icon

Group: Revolutionary
Posts: 357
Type: None
RM Skill: Undisclosed




Nice! Its one of the many scripts Im looking for.


__________________________

[Show/Hide] Gamer Card


[Show/Hide] Quotes, Can you read this?
QUOTE
For every action, there is an equal and opposite reaction. Thus if humanity is born humanity shall die and be reborn anew. If the universe is born, the universe shall die and be reborn anew thus we live in a never ending cycle of despair and happiness.


QUOTE
"Rely on your on strength of body & soul. Take for your star self-reliance, faith, honesty, & industry. Don't take too much advice- keep at the helm and stear your own ship, and remember that the great art of commanding is to take a fair share of the work. Fire above the mark you intend to hit. Energy, invincible determination with the right motive, are the levers that move the world."
-Noah Porter

QUOTE
It's not the INTENT that matters but the IMPACT that does.

[Show/Hide] Can you read this
Cna yuo raed tihs? Olny 55% of plepoe can.
I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.

[Show/Hide] Price My Name



Go to the top of the page
 
+Quote Post
   
DerVVulfman
post Apr 7 2008, 07:56 PM
Post #7


Level 12
Group Icon

Group: Revolutionary
Posts: 218
Type: Scripter
RM Skill: Skilled




QUOTE (Znikomek @ Apr 7 2008, 06:15 AM) *
i have a small request
can you show me how can i put into x the variable?
SWITCH_EQUIP_WEAPONS = [ [1,x] ]
SWITCH_EQUIP_ARMORS = [ [1,x] ]
becouse i need it to identifycation

and additional question:
how can i disequip teh curse item o additional slot?

thx


CODE
  SWITCH_EQUIP_WEAPONS  = [ [1,4] ]

When your character equips the 1st weapon in your database, it is substituted with the 4th weapon. This is fun when you're disguising your 'cursed' weapons with what appears to be regular ones.

Only with the traditional unequip feature in RPGMakerVX's event system [ Change Equipment ] can you remove 'cursed' equipment. But I do plan to make a script call to do 'searches' through an actor's inventory for a 'REMOVE CURSE' call. That would perform a 'remove all cursed items' routine.


__________________________
Up is down, left is right and sideways is straight ahead - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Show/Hide] My main haunts

Clickable links:


(My own forum)





(My first forum)
Go to the top of the page
 
+Quote Post
   
aevonhaldy
post Apr 7 2008, 08:35 PM
Post #8


Level 4
Group Icon

Group: Member
Posts: 58
Type: Developer
RM Skill: Beginner




Thank you SO much, DerVVulfman! I have SO long wanted cursed items, and you have answered my prayers.

------------EDIT--------------

Okay, I love love love this script.... However, there is something wierd going on.

I have a couple events where an item gets automatically put on a character (the "change equipment" event). Works like a charm. However, after I implemented this script, not only would armor type items not be equipped, they would not even be put into my inventory! (so, I use the event: "Change armor," and add an accessory; then, I use "change equipment" and equip the accessory on Actor 001...BUT, when I have this script, nothing happens).

Although, when I use ONLY the "change equipment" event, the armor appears in the inventory. It seems to be the "Change Equipment" event that somehow erases the armor. Furthermore, the weapon event I have does get added to the inventory and then equipped, just not any armor types. AND, these are not new, added slot types, but default armor types: accessory & body.

I made sure it was this script by taking it out when I noticed the problem. After doing so, the armor events worked perfectly as before. But when I put the script back in, again the armor did not get added or equipped.

This is crucial to my game because I need a character to have a "cursed" piece of body armor put on them by another character, without relying on the player to do it.

SO--how can I get this to work? Do I need to call a script now that I am using this script? I could do that, as long as it would allow me to have my cake and eat it too. Just don't know how to script it... Or change this script so that the pre-made event will work.

THANKS!

This post has been edited by aevonhaldy: Apr 9 2008, 01:04 PM


__________________________
[Show/Hide] VX Project

Story - 85%
Database - 55%
Scripts - 90%
Maps - 8%
Graphics - 38%
Original Music - 20%
Go to the top of the page
 
+Quote Post
   
aevonhaldy
post Apr 9 2008, 09:18 PM
Post #9


Level 4
Group Icon

Group: Member
Posts: 58
Type: Developer
RM Skill: Beginner




Bumpers.


__________________________
[Show/Hide] VX Project

Story - 85%
Database - 55%
Scripts - 90%
Maps - 8%
Graphics - 38%
Original Music - 20%
Go to the top of the page
 
+Quote Post
   
DerVVulfman
post Apr 10 2008, 07:25 PM
Post #10


Level 12
Group Icon

Group: Revolutionary
Posts: 218
Type: Scripter
RM Skill: Skilled




Just saw.

Just tried.

Just... ARGH!??

Just gotta look into why.

Why????????


__________________________
Up is down, left is right and sideways is straight ahead - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Show/Hide] My main haunts

Clickable links:


(My own forum)





(My first forum)
Go to the top of the page
 
+Quote Post
   
Apkx24
post Apr 12 2008, 10:02 AM
Post #11


Level 4
Group Icon

Group: Member
Posts: 55
Type: None
RM Skill: Skilled




SWEET omg this script was one of the best innovations ever for vx..... dude ur awesome
Go to the top of the page
 
+Quote Post
   
DerVVulfman
post Apr 12 2008, 10:08 PM
Post #12


Level 12
Group Icon

Group: Revolutionary
Posts: 218
Type: Scripter
RM Skill: Skilled




QUOTE (aevonhaldy @ Apr 7 2008, 10:49 PM) *
.....Although, when I use ONLY the "change equipment" event, the armor appears in the inventory. It seems to be the "Change Equipment" event that somehow erases the armor...


Looking into it, I found a script call works for all the armor slots, even the extended ones:

CODE
$game_actors[1].change_equip_by_id(3, 21, true)

This makes actor #1 apply the 21st armor into the 3rd slot.

This post has been edited by DerVVulfman: Apr 12 2008, 10:09 PM


__________________________
Up is down, left is right and sideways is straight ahead - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Show/Hide] My main haunts

Clickable links:


(My own forum)





(My first forum)
Go to the top of the page
 
+Quote Post
   
aevonhaldy
post Apr 13 2008, 07:58 AM
Post #13


Level 4
Group Icon

Group: Member
Posts: 58
Type: Developer
RM Skill: Beginner




laugh.gif Hurray! My dream is possible!

Thanks for the call script, DerVVulfman!


__________________________
[Show/Hide] VX Project

Story - 85%
Database - 55%
Scripts - 90%
Maps - 8%
Graphics - 38%
Original Music - 20%
Go to the top of the page
 
+Quote Post
   
Neku
post Apr 15 2008, 05:27 AM
Post #14


lOvE iS nOiSe
Group Icon

Group: Revolutionary
Posts: 159
Type: Event Designer
RM Skill: Skilled




Is it possible to check what armour is equipped in the extra slots?
e.g. If $game_actors[1].armour_id == ##
kinda thing?


__________________________
Go to the top of the page
 
+Quote Post
   
Mokimoki
post Apr 17 2008, 04:49 PM
Post #15



Group Icon

Group: Member
Posts: 1
Type: Developer
RM Skill: Skilled




Very nice, I was just looking for a script so I could equip two accessories, this is quite a bit more than that but it works. That's pretty cool. laugh.gif
Go to the top of the page
 
+Quote Post
   
Zinos666
post Apr 18 2008, 07:52 AM
Post #16


Level 7
Group Icon

Group: Revolutionary
Posts: 105
Type: Event Designer
RM Skill: Advanced




Ah the return of multi-equip from XP.
Good to see this in VX, nice conversion VV.


__________________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Go to the top of the page
 
+Quote Post
   
DerVVulfman
post Apr 18 2008, 08:10 PM
Post #17


Level 12
Group Icon

Group: Revolutionary
Posts: 218
Type: Scripter
RM Skill: Skilled




To Vivi:

Dunno. Think I need to add that if I don't find a way around it by accident. When I found the script call for aevonhaldy, that was by accident too.


__________________________
Up is down, left is right and sideways is straight ahead - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Show/Hide] My main haunts

Clickable links:


(My own forum)





(My first forum)
Go to the top of the page
 
+Quote Post
   
Neku
post Apr 19 2008, 03:37 AM
Post #18


lOvE iS nOiSe
Group Icon

Group: Revolutionary
Posts: 159
Type: Event Designer
RM Skill: Skilled




Never Mind I found How to call them biggrin.gif
CODE
if $game_actors[ID].extra_armor_id[slot_id] == ??
Blah
end

ID = Actors Id from the Database
slot_id = the extra armor slot's id for example extra slot 0 would be the 4th armor slot (after Accessory) 1 would be the 5th etc

hope that helps everyone else wink.gif


__________________________
Go to the top of the page
 
+Quote Post
   
DerVVulfman
post Apr 19 2008, 08:36 PM
Post #19


Level 12
Group Icon

Group: Revolutionary
Posts: 218
Type: Scripter
RM Skill: Skilled




Kewl.

But an addition is being made to read the slots (from 0 to ... whatever you have the slots up to).

You'll be able to read the ID of any slots, regular or extra.


__________________________
Up is down, left is right and sideways is straight ahead - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Show/Hide] My main haunts

Clickable links:


(My own forum)





(My first forum)
Go to the top of the page
 
+Quote Post
   
chaos2200
post Apr 19 2008, 09:23 PM
Post #20


Level 2
Group Icon

Group: Member
Posts: 17
Type: None
RM Skill: Skilled




I need to be able to equip multiple weapons (more then 2) as I am using this for a mecha-type game. Can you show me how to do that?
Go to the top of the page
 
+Quote Post
   

4 Pages V   1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 05:08 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker