• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[MUI] Full screen inventory and shop + Custom item

content:
- mainly full screen inventory and shop without ~terrain cost and few other lil thing, check the images

Note:

1. Don't post nothing if you can't comment something usefull what improve this (exclude if u talk about in vjass this could be better, also irritate me that bullsht if someone say it is copy since i wrote this from 0 till now exclude the indexer and bribe dd's)

2. If you got good idea or helpfull ideea, comment about how to improve i am glad if u write it here.
ty very much



my rest upload was deleted about full screen craps but if someone want light height non attachment full screen inv. map then have old one http://shadowvzs87.uw.hu/upload/Advanced Inventory v2.0 -- Without attachments.w3x or with attachment http://shadowvzs87.uw.hu/upload/Advanced Inventory v2.0 --.w3x

Triggers and jass functions (outdated - not was time yet for change the uploaded ones)
http://www.hiveworkshop.com/forums/pastebin.php?id=zjvm9h - header
http://www.hiveworkshop.com/forums/pastebin.php?id=sfcvtd - map init
http://www.hiveworkshop.com/forums/pastebin.php?id=z437oq - create interface and trackables
http://www.hiveworkshop.com/forums/pastebin.php?id=tiyrmx - create item and bonus
http://www.hiveworkshop.com/forums/pastebin.php?id=3fuzux - Click to trackable
http://www.hiveworkshop.com/forums/pastebin.php?id=d93bmw - MouseOverTrackable
http://www.hiveworkshop.com/forums/pastebin.php?id=qhvdqs - item pick and stack
http://www.hiveworkshop.com/forums/pastebin.php?id=k9x38m - smaller trigger and functions

UPDATES


v0.99b
- few minor changes (like RegHero function at "init hashtables and .." trigger automatical save hero type into save load hashtable)
- Save - Load code added:
Features:
- data saved directly into hard disc, you can copy paste the code (example u started the map, copy-paste with notepad)
- few thing customizable in header - constants "SL_" functions (SL=the function or variable is part of the save load system)
- saveable: gold/lumber/coord/stat (str/agi/int)/class/hero/level & exp (dynamic), craft skill progress
-stat saving: hero current stat - stat from items - start stat
- since we talk about random stat items, not constant items, code became long, so this
system support multi save/load lines like: -load code1 then -load code2 ...
(where code1 and code2 is the saved code)
- multiple code line limit is 39 line, each line could be around max 100 character
- added the equipment saves too but still don't got time to make the loading part aswell
*idk about inventory saveing worth to do or no*

v0.99a
- fixed the bag system included with multiboard (ex. not was showed in multiboard the 1st item in bag)
and fixed when charm item bonus not was removed/added when u moved into bag, moved out
- summoner class stuffs
- several text fix with item properties in hover tool tip in shop (like if mouse on helm then its show buyable helm mdef/pdef)
- added timer to multiboard item tooltip, damage detection system - set damage part etc
- few minor changes

v0.99
- New socket items added and now easier to register new socket gems
in "Item Registration at Map Init" you need refister like ever item for attach icon to it
then use: call RegSocketGem (ItemRawCode, GemType, Grade, ItemLevelRequiment, ItemStatInArmor1, StatValueInArmor1, ItemStatInWeapon2, StatValueInWeapon2, ItemStatInWings3, StatValueInWings3)
- New socket gems also added to shop for test
- Gems working
- Minor text fix at multiboard pager (when u are at socket view)
- Since items & gems can give critical dmg bonus i reduced the default critical dmg (if u want change then constant function in header DEFAULT_CRITICAL_DAMAGE())
- Minor fix at tooltip in shop about weapon dmg, weapon dmg now globally changeable in header easily
- added minimum damage to weapons, multiboard/stats in inventory (ratio easily changeable in header)
- gem icon showed if u check Socket/Set view and item got inserted gem
- added item stat 82 => this attack or damage but depend on weapon, if physical weapon then give pattak if magic then magic attack, only used for gems

v0.98d
- replaced Damage detection system (see DamageEvent trigger, still using bribe unit indexer but now DDS by looking_for_help)
- at shop -> where is the wings added another 2 unique item, Hammer+Ring, they also a new set
you can combine the sets :)
- greatly decreased armor penetration effect becuase its op vs low hp and high defence boss
- reduced the mobs defence but increased the boss def lv by boss level/2

v0.98c
- set bonus stuff totally changed
- multiboard now show different page the inserted sockets and set list
useing Up / Down arrow on keyboard for change multiboard page
- same time multiboard functions a bit reorganised same like equipment systems
- Set and Unique item datas is in "Item Registratration at Map Init" trigger
- you can set your own set bonus
Note: total set bonus, so if ex. 2 item is equiped from same unique set then you get 1 bonus totally not per piece


v0.98b
- enabled the duratibility showing and reduced the value duratibility (200-500 at max level)
- disable the animation changes for non villager
- removed teh bonus socket slot (i don't see point in it)
- multiboard a bit changed (bonus thing in loop now)
- added 3 different icon to armor/ring/helmet/boot/amulet (depend on quality)
- fixed the bug when full screen player gold floating text dissappear when inventory was launched 2+ times and u equiped something
- bonus block damage add

v0.98
- changes was in:
Header - GetCraftLevel
ClickToTrackable - AddItem2HeroExt, CraftShopItem, FadeSlot, Craft_Quality_Chance, BuyItemFromShop
OnTrackable - Tooltip
Create Interface
Harvester Timer
- changed the prfession/craft leveling formula, now work well
- in shop the tooltip in right bottom corner now show with
yellow that item for what we got sufficient craft skill level
and red what is required higher craft level than we got
- item stack fix when u buy item from shop and its stack with another item
- fixed the bug when the slot 2211/-17/-21 not was clickable :D
- now the life materia lv3-6 craftable too
- rearranged the craft a bit, so can't craft high craft requiment item than ur craft skill
few item like wing/tome need jewellery lv3, life materia and few potion need pahamacist lv1
- added refine stone with 20x stack into shop
- harvest speed is configurable in Harvest Timer trigger.
- harvest speed increased by total craft skill (if you level your crafting skill => harvest faster)
- fixed a minor bug in FadeSlot function (nearly never occured)
- in ClickToTrackable>BuyItemFromShop function settable the craft fail chance and crafted item quality chance
JASS:
    //ClickToTrackable>BuyItemFromShop
    local boolean CraftFail = true
    local integer CraftFailChance = 33
    local integer CQCE_Normal = 80 // 80% quality chance equipment: normal
    local integer CQCE_Magic = 10 // 10% quality chance equipment: magic
    local integer CQCE_Rare = 6 // 6% quality chance equipment: rare
    local integer CQCE_VeryRare = 3 // 3% quality chance equipment: very rare
    local integer CQCE_Excelent = 1 // 1% quality chance equipment: excelent

v0.97
- minor fix with stat window border
- minor labels example at create item trigger
- minor fix of the icons when charged item used in old/regular wc3 inventory
- minor fix with multiboard when u click to potion/life materia etc what got description
- minor fix where any player hero can gain exp not only that one in hero variable array

v0.96
- floating text bug fixed at harvisting
- path blocker changed to flying unit path blocker
- optionable the inventory sensibility when u reicive damage, use chat for toggle it, command: "-inv sens"
- disable the defence bonus per agility because useless if i use my own system

v0.95b
- fix few trade problem (in normal 0.95 u was unable to leave or even u quited there was still the trade partner gold floating text)
- added ally function + replace the red startlocation function to native function what dont use location - in create heroes trigger
- few indentation thing

v0.95
- Tradeing gold and items enable again, so can trade with different players hero without problem
- also notice for scan target now u need type "-scan" then right click to target

v0.94
- dummy.mdx added
- now dont need to create dummy units anymore for inventory hero, just at
register hero set your hero path, then system create a dummy unit
attach the hero model like special effect and set the unit pitch angle with animation index
- added the inventory gold icon for inventory too
- added few thing to inventory hero box for look like 3d box


v0.93
- new design for inventory, dont flicker the destructibles anymore
- debug things remove, weapon activation and buffs tested

v0.92
- buff system added - core part merged into timer trigger
- fixed the revive trigger because the action was attached in loop

v0.91h
- fixed the bug when dummy villager disappear when u wear bow and reopen the inventory, also was few attachment problem after i introduced the non attachment heroes, but now all fixed
- added weapon activation/special skill what activated during u attack somebody


v0.91g
- unit now unselectable during FSS
- dropped and bought items are invulnarable now

v0.91f
- labels and function organizations, table description added

v0.91e
- added few tooltip and minor things
- added potion and gold drop for treasure box

v0.91d
- Bagpack system added, what is it? i added a item what could store 0-24 another item
- you can drop out this item and who pick up can open the bag and can swap item between items in bag and inventory
- when bag is sold to shop (full screen shop) then automatical destroyed all item what was inside with their data
- Treasure box
- Windows transition and close windows with ESC
-Window transition: change the current opened window to another, example from inventory to bag system

v0.91c
- pharmacist craft requiment added for custom potions also gave chance for stronger potions
- if u press ESC when you dont ahve multiboard then its show the total time when u played :D

v0.91b
- created hit function, for easily change the accurancy/eva=< hit rate formula
- added regen pots too
- scan changed, tiny change, use player index not unit custom value for array index but this way easier to check if player use atm a scan or no
- mp regen changed to flat value and isnt % now (ty maker for tip about useing mana regen neutral unit ability)
- set bonus fix (was a bit problem if u equiped too fast the items, its fixed)
- few correction on shop: now if item not craftable then craftbox is hidden, double icon=deselect, now allways buy item if u click 1st to item and 2nd time to any other item in unit inventory what not craft materia of selected item or just no item.
- added the chance option for AddRandomBonus function (this function give random bonus to items)
also made few modification about bonuses, like magic weapon don't get pattack bonus etc
- super potion added [hp/mp], pharmacist depend crafting aswell
- level requiment potion with dynmic heal/mana restore amount

v0.91a
- changed the life regen/mp regen to MUI
- added to drop/shop the Charm item type, 3 rarity:
- Common Charm (1-2 random bonus stat) - 88% chance
- Uncommon Charm (3-5 random stat) - 10% chance
- Superior Charm (5-7 random stat) - 2% chance
- fixed few price
- accurancy/evasion random stat now fixed (was shifted with 1 properties)

v0.9
- changed the item pick/attack so basically the right clicking
- 1st right click on item = item multiboard info, 2nd right click pick up
- 1st click on unit is scan unit, 2nd attack him
- lil fix on multiboard and added 5 materia into shop and into craft system

v0.8
- class restriction text fixed for armors what viable for 2 class too
- scan now periodical check the target hp
- with ESC u can destroy the multiboards

v0.7
- inventory work with non attachment heroes and with attachment heroes (like villager or just normal Paladin)
- inventory and shoping is MUI now, with simple
call RegHeroes ('unit raw code', 'unit raw code 2 for inventory', true/false (attachemnt unit or no), 1 (size, coz some hero could be bigger than inventory window, this way u can set it), 0 (hero class), 2 (unit type default damage without str))
- item class requiment added
- shop discount tiem properties added

v0.6
- added MUI nateria items harvesting, its mean u cant simple just right click and pick up a iron ore, u ened dig out
and this need time, have floating text what show the digging process percentage
Note: - once u digged out something and drop out, dont ened dig out again
- cant 2 people dig same item

v0.5
- added craft level system (higher level item need higher level craft skill)
- chance for getting better eq depend on craft level

v0.4
- drop fix
- added the 4 craft job:
- Blacksmith (weapons)
- Tailor (armors)
- Jeweller (ring/amulet+wing+tome)
- Pharmacist (potions but not added yet)

v0.3
- added info to multiboard tooltip and shop tooltip if mouse over a socket/refines stone/materia, atm u can assign +3 description for each item type
- equipments craft: now for higher level equipment need more craft materia (i use now a function what return with correct mat amount)


v0.2
- at craft you can get enhanced item (20% chance and 80% for normal item)
- this will be changed when i will add the production skills

v0.1
the starting map



[Working]
on item rot system

SCREEN SHOTS

fake%20interface.JPG

new_100.jpg

new_101.jpg

new_102.jpg

new_103.jpg

new_104.jpg

new_105.jpg

new_106.jpg

new_107.jpg

new_108.jpg

new_109.jpg

new_110.jpg
new_111.jpg

new_112.jpg

new_113.jpg



[Credit]
Damage Detection system with indexer:
Bribe

Model and icons:
Ergius - silver ore
Sunchips - few attachemnt
Blizzard - ore icons (copper + iron ore)
PeeKey - emerald/ametyst/ruby icon
others who made attachment and icons, i don't got their name but if u want use this map the pls add credit to them too

Keywords:
custom item stat attachment fun orpg rpg mui mpi full screen
Contents

Shadowvzs ORPG v0.99 (Map)

Reviews
Full screen inventory and shop + Custom item | Reviewed by Maker | 17th Aug 2013 APPROVED [tr][td] This is a cool system with nice features. It seems to work well. However it is a nightmare to import and configure. It should have been done in vjass.
Level 1
Joined
Jan 23, 2015
Messages
160
Hm. Has anyone else gotten this to work with Sharpcraft?

-Edit

Can anyone get this to work at all? Save has compiling errors.
 
Last edited:
Top