• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Import] How to make items upgradeable

Status
Not open for further replies.
Level 2
Joined
Jul 6, 2011
Messages
10
Hello everybody, so I've bin trying too create items that i can upgrade in-game.

I wan't too make it so you have too buy one item before buying a better one
but I'm driving my self mad trying dozens of ways to make it work :goblin_boom:.

E.g when you're hero have item level 1 in his/hers inventory it lets you buy item level 2 and when you do that item level 1 gets replace whit the second one etc

I hope I'm not too unclear :ogre_hurrhurr:

Please help so I can finish my custom dota map.
 
Level 2
Joined
Jul 6, 2011
Messages
10
Thx but no for the recipe systems I've seen they take item one and two and make a third I want a system which forces you too buy item one too get item two too get item three and I already know how to remove item one once you buy item two

again sorry for any Clarence.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
If I understand correctly: if your hero has no items, and you want to buy "Sword C", then the system automatically buys "Sword A" and "Sword B" first?

I've just created a new recipe system (I wanted to make one that's really easy to set up), I think I can add a "takes previous item"-condition to it.
But honestly, it's only a small luxury for the players, it's only takes slightly more time to buy Sword A-> B -> C.
I've attached the current system so you can either reconsider or convince me to add that :).

Anyway, do all those items come from the same shop in your case? (I think it'd be easier/more logical to do that).
 

Attachments

  • Recipe System.w3x
    17.5 KB · Views: 47
Level 2
Joined
Jul 6, 2011
Messages
10
Ooooh YESSS!!!!

Thx, You have my eternal gratitude thats exactly what I neaded

:goblin_yeah::goblin_yeah::goblin_yeah:


Lender you just made my day
 
Level 2
Joined
Jul 6, 2011
Messages
10
To fill this topic complite:

You don't to do it for charged items. Therefore you can just add charges to item A and remove item B. :)

Sry but I don't understand that

Yes I'm a noob or rather self taught

Further more I'm having trouble whit the recipe system every time I try adding it to my map it crashes. As it locks it says things like;
The function can not be enabled because the variable "X" dose not exist.
X being things like recipeItemRequired or globalHashtable.
:vw_wtf::vw_wtf::vw_wtf:

I assume it is some thing ridiculously obvious but I'm not too good at triggers.
Again I apologize for any problems but I rely want this too work.
 
Level 3
Joined
Nov 15, 2012
Messages
32
Sry but I don't understand that

Yes I'm a noob or rather self taught

Further more I'm having trouble whit the recipe system every time I try adding it to my map it crashes. As it locks it says things like;
The function can not be enabled because the variable "X" dose not exist.
X being things like recipeItemRequired or globalHashtable.
:vw_wtf::vw_wtf::vw_wtf:

I assume it is some thing ridiculously obvious but I'm not too good at triggers.
Again I apologize for any problems but I rely want this too work.

go to File>Preferences>General and check Automatically create unknown variables while pasting trigger data

voila, it's done
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
Sry but I don't understand that

Yes I'm a noob or rather self taught

Further more I'm having trouble whit the recipe system every time I try adding it to my map it crashes. As it locks it says things like;
The function can not be enabled because the variable "X" dose not exist.
X being things like recipeItemRequired or globalHashtable.
:vw_wtf::vw_wtf::vw_wtf:

I assume it is some thing ridiculously obvious but I'm not too good at triggers.
Again I apologize for any problems but I rely want this too work.

before you import the system to your map, first go to File > Preferences and then check the "Automatically creates unknown variables while pasting triggers data".

EDIT : too late.. :vw_unimpressed:

remember to do this BEFORE the system is imported to your map. Delete the system first from your map then do above and re-import the system.
 
Level 2
Joined
Jul 6, 2011
Messages
10
before you import the system to your map, first go to File > Preferences and then check the "Automatically creates unknown variables while pasting triggers data".

EDIT : too late.. :vw_unimpressed:

remember to do this BEFORE the system is imported to your map. Delete the system first from your map then do above and re-import the system.

Thx and actually its not too late I saved in beforehand :goblin_good_job:

You relay helped allot

sry for any miss spelling I'm Swedish and dyslectic :ogre_haosis:
 
Status
Not open for further replies.
Top