Lomax_Iced Posted November 14, 2015 Share Posted November 14, 2015 Salve amici. Oggi voglio condividere con voi quest'altra risorsa. Siamo all'interno del Menu, alla voce equipaggiamento.Per chi non ne fosse a conoscenza, dovete sapere che il plugin di base che gestisce la possibilità di equipaggiare armi, armature e accessori, di default è limitato. Nel senso che un attore in game può avere una sola arma, un solo accessorio per il corpo o per il capo ecc ecc In sostanza sono solo 5 voci disponibili. Benissimo. Questo Plugin, invece ve ne fornisce molti di più. Ma ecco a voi un video che illustra nel migliore dei modi cosa intendo: https://www.youtube.com/watch?v=fXcA0IdPsPg visto?Good!Ed..Ecco a voi la risorsa: /*: ------------------------------------------------------------------------- @title Equip Slots Core @author Hime @ HimeWorks @date Nov 12, 2015 @url http://himeworks.com/2015/11/equip-slots-core/ ------------------------------------------------------------------------- @plugindesc Provides you with tools to set up custom equip slots for each actor individually. @help ------------------------------------------------------------------------- == Description == Video: https://www.youtube.com/watch?v=fXcA0IdPsPg By default, RPG Maker gives you 5 equip types to work with: Weapon Shield Head Body Accessory You also have the ability to add and modify equip slots directly in the database. However, one problem you might notice is that every actor will have those equip slots, even if they can't use any of the equips that you've designed for those slots. Another problem is you can't add multiple copies of the same slot to an actor: they can only have one of each. Want to wear two accessories? Can't be done. This plugin solves that problem. It provides ways for you to customize your actors' equip slots, allowing you to choose exactly which slots they will have in the game. == Terms of Use == - Free for use in non-commercial projects with credits - Contact me for commercial use == Change Log == Nov 12, 2015 - initial release == Usage == -- Adding equip slots -- First, if you are using this plugin, the default "Initial equipment" box will no longer be used. Instead, you will manage all actor equip slots using note-tags. To add an equip slot, use the following note tag: <equip slot: ETYPE> The ETYPE, which is short for "equip type", is one of the equip types that you have set up for your project. You can see this in the Types tab. You can either write the ID of the etype, or you can write the exact name of the etype. For example, Weapon is equip type 1, so you can write either <equip slot: 1> <equip slot: Weapon> Depending on your preferences. I would recommend writing out the full name so that it is clearer, but if you ever change your equip types names you will need to remember to update these note-tags. If you would like to add more equip slots, just add more note-tags. Want 3 weapons and 2 rings, assuming they are in the database? <equip slot: Weapon> <equip slot: Weapon> <equip slot: Weapon> <equip slot: Ring> <equip slot: Ring> -- Specifying Initial Equip -- Because the Initial Equipment box is no longer used, you will need to find another way to specify them. The equip slot note-tag supports initial equip, using something called an "Item Code", and is written like this: <equip slot: ETYPE ITEMCODE> An Item code is a quick way to reference a particular weapon, armor, or item. They look like this: a1 - armor 1 w3 - weapon 3 i5 - item 5 So for example, if you want your actor to have a weapon slot with weapon 4 from the database as its initial equip, use the note-tag <equip slot: Weapon w4> -- Custom Scenes -- This plugin provides bare-bones equip slot functionality. The purpose is to be able to use it with *any* equip scene, whether it is the default scene or a custom scene. ------------------------------------------------------------------------- */ var Imported = Imported || {} ; var TH = TH || {}; Imported.EquipSlotsCore = 1; TH.EquipSlotsCore = TH.EquipSlotsCore || {}; function Game_EquipSlot() { this.initialize.apply(this, arguments); }; Game_EquipSlot.prototype.initialize = function() { this._etypeId = 1; this._item = new Game_Item(); }; Game_EquipSlot.prototype.setEtypeId = function(etypeID) { this._etypeId = etypeID; }; Game_EquipSlot.prototype.etypeId = function() { return this._etypeId; }; Game_EquipSlot.prototype.setObject = function(item) { this._item.setObject(item); }; Game_EquipSlot.prototype.object = function() { return this._item.object(); }; Game_EquipSlot.prototype.setEquip = function(isWeapon, item) { this._item.setEquip(isWeapon, item); }; (function ($) { $.Regex = /<equip[-_ ]slot:\s+(\w+)(?:\s+(\w)(\d+))?>/img $.etypeNameToId = function(etypeName) { if (!$.etypeMap) { $.etypeMap = {} for (var i = 1; i < $dataSystem.equipTypes.length; i++) { var name = $dataSystem.equipTypes[i].toUpperCase(); $.etypeMap[name] = i; } } return $.etypeMap[etypeName.toUpperCase()]; } $.baseActorSlots = function(actor) { if (!actor.baseEquipSlots) { actor.baseEquipSlots = []; var res; while (res = $.Regex.exec(actor.note)) { var equipSlot = new Game_EquipSlot(); var etypeId = res[1]; var itemType = res[2]; var itemID = res[3]; // /* Not a number. Assume it's the name of an equip type */ if (isNaN(etypeId)) { etypeId = $.etypeNameToId(etypeId); } else { etypeId = Math.floor(etypeId) } equipSlot.setEtypeId(etypeId); if (itemType) { equipSlot.setEquip(itemType.toLowerCase() === "w", Math.floor(itemID)); } actor.baseEquipSlots.push(equipSlot); } } return actor.baseEquipSlots; }; /* Overwrite. We maintain our own equip slots for each actor */ Game_Actor.prototype.equipSlots = function() { var slots = []; console.log(this._equips); for (var i = 0; i < this._equips.length; i++) { slots.push(this._equips[i].etypeId()); } return slots; }; /* Overwrite. Slots are pulled from the actor */ Game_Actor.prototype.initEquips = function(equips) { var defaultSlots = this.defaultSlots(); var maxSlots = defaultSlots.length; this._equips = []; for (var i = 0; i < maxSlots; i++) { this._equips[i] = JsonEx.makeDeepCopy(defaultSlots[i]); } this.releaseUnequippableItems(true); this.refresh(); }; Game_Actor.prototype.defaultSlots = function() { return $.baseActorSlots(this.actor()) }; })(TH.EquipSlotsCore); Per chi avesse bisogno di maggiori chiarimenti per l'implementazione del pluginvi rimando alla video-guida rilasciata dall'autore stesso dello script: https://www.youtube.com/watch?v=TU1nBCKavOISpero che tutto ciò possa esservi utile. Ciao raga https://youtube.com/shorts/IeFx6zFuE0A?feature=share https://youtu.be/z8XXIWEDrw8 https://youtu.be/g4-mMbCTX6I https://youtu.be/YZDK0M6BMsw <p> Link to comment Share on other sites More sharing options...
Guardian of Irael Posted November 14, 2015 Share Posted November 14, 2015 Oh una degli script della principessa. Così ora puoi dare al tuo personaggio 4444 armi diverse! Ottimo! XD^ ^ (\_/)(^ ^) <----coniglietto rosso, me! (> <) Il mio Tumblr dove seguire i miei progetti, i progetti della Reverie : : Project ^ ^ http://i.imgur.com/KdUDtQt.png disponibile su Google Play, qui i dettagli! ^ ^ http://i.imgur.com/FwnGMI3.png completo! Giocabile online, qui i dettagli! ^ ^ REVERIE : : RENDEZVOUS (In allenamento per apprendere le buone arti prima di cominciarlo per bene ^ ^) Trovate i dettagli qui insieme alla mia intervista (non utilizzerò più rpgmaker) ^ ^ 🖤http://www.rpg2s.net/dax_games/r2s_regali2s.png E:3 http://www.rpg2s.net/dax_games/xmas/gifnatale123.gifhttp://i.imgur.com/FfvHCGG.png by Testament (notare dettaglio in basso a destra)! E:3http://i.imgur.com/MpaUphY.jpg by Idriu E:3Membro Onorario, Ambasciatore dei Coniglietti (Membro n.44) http://i.imgur.com/PgUqHPm.pngUfficiale"Ad opera della sua onestà e del suo completo appoggio alla causa dei Panda, Guardian Of Irael viene ufficialmente considerato un Membro portante del Partito, e Ambasciatore del suo Popolo presso di noi"http://i.imgur.com/TbRr4iS.png<- Grazie Testament E:3Ricorda...se rivolgi il tuo sguardo ^ ^ a Guardian anche Guardian volge il suo sguardo ^ ^ a te ^ ^http://i.imgur.com/u8UJ4Vm.gifby Flame ^ ^http://i.imgur.com/VbggEKS.gifhttp://i.imgur.com/2tJmjFJ.gifhttp://projectste.altervista.org/Our_Hero_adotta/ado2.pngGrazie Testament XD Fan n°1 ufficiale di PQ! :DVivail Rhaxen! <- Folletto te lo avevo detto (fa pure rima) che nonavevo programmi di grafica per fare un banner su questo pc XD (ora ho dinuovo il mio PC veramente :D) Rosso Guardiano dellahttp://i.imgur.com/Os5rvhx.pngRpg2s RPG BY FORUM:Nome: Darth Reveal PV totali 2PA totali 16Descrizione: ragazzo dai lunghi capelli rossi ed occhi dello stesso colore. Indossa una elegante giacca rossa sopra ad una maglietta nera. Porta pantaloni rossi larghi, una cintura nera e degli stivali dello stesso colore. E' solito trasportare lo spadone dietro la schiena in un fodero apposito. Ha un pendente al collo e tiene ben legato un pezzo di stoffa (che gli sta particolarmente a cuore) intorno al braccio sinistro sotto la giacca, copre una cicatrice.Bozze vesti non definitive qui.Equipaggiamento:Indossa:60$ e 59$ divisi in due tasche interneLevaitanSpada a due mani elsa lungaGuanti del Defender (2PA)Anello del linguaggio animale (diventato del Richiamo)Scrinieri da lanciere (2 PA)Elmo del Leone (5 PA)Corazza del Leone in Ferro Corrazzato (7 PA) ZAINO (20) contenente:Portamonete in pelle di cinghiale contenente: 100$Scatola Sanitaria Sigillata (può contenere e tenere al sicuro fino a 4 oggetti curativi) (contiene Benda di pronto soccorso x3, Pozione di cura)CordaBottiglia di idromeleForma di formaggioTorcia (serve ad illuminare, dura tre settori)Fiasca di ceramica con Giglio Amaro (Dona +1PN e Velocità all'utilizzatore)Ampolla BiancaSemi di Balissa CAVALLO NORMALE + SELLA (30 +2 armi) contentente:66$Benda di pronto soccorso x3Spada a due maniFagotto per Adara (fazzoletto ricamato) Link to comment Share on other sites More sharing options...
Lomax_Iced Posted November 14, 2015 Author Share Posted November 14, 2015 E vedi che ne uscirà... xD ahah https://youtube.com/shorts/IeFx6zFuE0A?feature=share https://youtu.be/z8XXIWEDrw8 https://youtu.be/g4-mMbCTX6I https://youtu.be/YZDK0M6BMsw <p> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now