Any advice on how to Get equip items done?

P

Pegasus

Guest
Well, The idea is to get the item(Equipment) "Equip"
E.g A hero gets a sword. the sword should not have any bonus when it is in the hero's inventory. Only after the owner of hero left click on the sword, the bonus takes effect and the sword is remove frm the hero's inventory. Then Weapon equipped is shown on the multiboard. I got a trigger on the multiboard but i do not know how to make the item bonus not taking effect when it is in the inventory and to make the sword remove from the inventory with the effect still on the hero after the hero has equipped it.
I got my trigger as follows:
Create MultiBoard
Events
Time - Elapsed game time is 4.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 7 columns and 5 rows, titled Equipment
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to (Name of Player 1 (Red))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to (Name of Player 2 (Blue))
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to (Name of Player 3 (Teal))
Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to (Name of Player 4 (Purple))
Multiboard - Set the text for (Last created multiboard) item in column 6, row 1 to (Name of Player 5 (Yellow))
Multiboard - Set the text for (Last created multiboard) item in column 7, row 1 to (Name of Player 6 (Orange))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to Weapon:
Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to Armor:
Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to Footwear:
Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to Manual:
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 0 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Hide text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column 0, row 0 to 8.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 6.00% of the total screen width
Multiboard - Set the color for (Last created multiboard) item in column 2, row 1 to (100.00%, 0.00%, 0.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 3, row 1 to (0.00%, 0.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 4, row 1 to (50.00%, 100.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 5, row 1 to (25.00%, 0.00%, 50.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 6, row 1 to (100.00%, 100.00%, 0.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 7, row 1 to (100.00%, 50.00%, 0.00%) with 0.00% transparency
-------------------------------------------------------------------

then i got this to put the item on board.

Equip shown on board
Events
Unit - A unit Uses an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Sword
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 1 (Red)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 2 (Blue)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 3 (Teal)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 4, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 4 (Purple)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 5, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 5 (Yellow)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 6, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 6 (Orange)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 7, row 2 to (Name of (Item being manipulated))
Else - Actions
Do nothing



This is my first post, sorry if i type in any way offending or anyway not appropriate. Thanks for all help given. :)
 
cool idea of making a rpg.. maybe ill use it too.. hmm your triggers didnt work? it seemed so..... strange. but what didnt work ?

like: he didnt get any bonuses, text didnt appear in multiboard.. etc
 
i wouldnt recommend making making the alpha (transparancey) of the item lowered... people will try to put items in the slot and will be so confused
 
AddE said:
it seemed so..... strange. but what didnt work ?

like: he didnt get any bonuses, text didnt appear in multiboard.. etc

1)The weapon dmg bonus is applied to the hero before i "equipped" it.
2) When i equip the weapon, it stays in the hero inventory
3) If I set a trigger to remove the item after it is "Equip" the item bonus is gone.
 
Pegasus said:
the sword should not have any bonus when it is in the hero's inventory. Only after the owner of hero left click on the sword, the bonus takes effect and the sword is remove frm the hero's inventory.

didnt see that part.. so it doesnt give bonuses huh? maybe make it like this..

events - Unit - A unit Uses an item
conditions - (Item-type of (Item being manipulated)) Equal to Sword
actions - Hero - Modify Strength of (Triggering unit): Add 10
Set equippedweapon = sword


and to make it remove i would take a tome and edit it so picture is a sword and name is sword and it doesnt give any +

if you wanna know so you wont get more and more bonuses for newley equipped weapons ill tell you tomorrow.. gotta sleep.. and then in that column change the variable to equippedweapon
 
sqrage said:
i wouldnt recommend making making the alpha (transparancey) of the item lowered... people will try to put items in the slot and will be so confused


Sorry sqrage, i dont understand that line. are you referring to the transparancey on the multiboard or ???
 
AddE said:
didnt see that part.. so it doesnt give bonuses huh? maybe make it like this..

events - Unit - A unit Uses an item
conditions - (Item-type of (Item being manipulated)) Equal to Sword
actions - Hero - Modify Strength of (Triggering unit): Add 10
Set equippedweapon = sword


Thanks for the replies, but if 10 str is added, it will change the Life of the unit too... which the sword is not suppose to have the bonus.

Well good night Adde... sweet dreams..
 
oh nvm misread srry, but how would u go for un equipting?
 
sqrage said:
oh nvm misread srry, but how would u go for un equipting?

Nice Question! Thats the next problem I am going to tackle. Sorta taking it 1 step at a time... after sloving the above problem then i will start in unequipping. hee....
 
Cres said:
is this something like FFF?

Do you mean final fantasy series RPGs on consoles?
If yes, yup something like tat, but they have like a big space to store their items and a status screen to see their chars pic and equipment and abilities and limit breaks in a single screen... I want the equip style like them...
 
phyrex1an said:
If you only want a equip system check www.wc3sear.ch if you want to do it your self I wish you good luck

http://www.wc3sear.ch/index.php?p=Spells&ID=379&sid=

Thanks phyrex1an, I had look at the equip system. Its awesome but it is too complex to use. Maybe I will try edit frm there and see what can be done. Thanks for the link... Hope I can learn from the triggers provided by the site and try to simplfy it. If I encounter more problems I will post again...

If someone have any idea on what I was saying, maybe u can help me by posting some hints or triggers for me to see and learn... thanks...
 
well then .. maybe make this trigger instead


Hero - Learn skill for (Triggering unit): Item Damage Bonus (+12)

coz that wont show up and he gets 12 damage bonus..
 
oh and yeah.. you can take any plus you like.. just that .. if you want him to equip new item and loose old bonuses.. try this:


Events - Unit - A unit Uses an item
Conditions - (Item-type of (Item being manipulated)) Equal to Tome of Experience
equippedweapon Equal to sword
Actions - Hero - Learn skill for (Triggering unit): Swordunequip
Hero - Learn skill for (Triggering unit): Superswordequip
Set equippedweapon = supersword




note : all skills are based on claws of attack...

swordunequip : it makes so that you unequip the sword for example -12 damage.. so that the damage wont be affected by the old sword
superswordequip : gives 20 damage bonus so he still have bonuses

so this is how i would do it.. but then youve gotta do it for every combination possible.. try it.. i think it works good!
 
AddE said:
oh and yeah.. you can take any plus you like.. just that .. if you want him to equip new item and loose old bonuses.. try this:


Events - Unit - A unit Uses an item
Conditions - (Item-type of (Item being manipulated)) Equal to Tome of Experience
equippedweapon Equal to sword
Actions - Hero - Learn skill for (Triggering unit): Swordunequip
Hero - Learn skill for (Triggering unit): Superswordequip
Set equippedweapon = supersword




note : all skills are based on claws of attack...

swordunequip : it makes so that you unequip the sword for example -12 damage.. so that the damage wont be affected by the old sword
superswordequip : gives 20 damage bonus so he still have bonuses

so this is how i would do it.. but then youve gotta do it for every combination possible.. try it.. i think it works good!


One question, How to make negative dmg skill bonus??
Thanks alot! I would give that a try.... cool man... :shades:
 
sorry at repting an answer but you couyld make the item a dummy and when its used have triggers to add the bonus

as for negitve in the same way i think you can do it

i know yoiu can somehow becuase ive seen it done "Presence of the Dark Lord" DOTA

NOTE: I DO NOT steal ideas from dota i am refernce soemthing i have seen and therefore know is doable ALSO: Presence of the Dark Lord doesnt sound original to me so i think DOTA stoal that in the first place (also i dont realy like DOTA)

EDIT: forgot to say if you use tomes as the base (which is a good idea i would use that) then make sure to uncheak "use when aqqueried" under the item stats otherwise it will not be like you want you would have to use triggers to make it repapper when you aqiup other things and triggers to remove the bonus though

also unless you want it to look like a tome change the modle (you can make it a tresure cheast like normal or give it a cool shape (i find that useing the curse smybol as a modle looks probley like the coolest thing cheak it out youll see what i mean))
 
thumbs up for ur invx! :D
btw making equipment system does we need to learn any jass or anything ? can we purely use wc3edit trigger editor ?
sorry need to understand more.. if jass is required.. maybe i'll do more research on it and study it =/
 
the reason this doesnt work for you is becaue you're trying to copy FFForever and you have no idea how it works. the reason you get the bonus before you equip the sword is because you put the bonuses on the sword item that you have. if you dont want to get a bonus for having it in your inventory then dont put it on the item. just make a trigger that adds what ever stats/damage to the unit after it uses the item. or you can add an ability to the hero that has no icon and doesnt take up a spot on their abilities that changes their stats when they equip the sword.

sorry stupid questions get to me... you put abilities on an item and then you wonder why you get the bonus from the item... the game does what you tell it to (or what the defualt is). if you tell it to put those bonuses on an item then you will get the bonuses when the item is in your inventory its that simple.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    I think on the new one they did change it, but idk. I don't really care whatever the government is doing right now because it's consistently absurd. Like what is RFK doing in charge of health anything? I love the bear story because WTF was that, but also, pretty much every time he talks it's WTF. Like even his voice sounds microwaved
    +1
  • Varine Varine:
    The pyramid is fucking dumb as shit, no matter how you arrange it.
  • Varine Varine:
    It's actually remarkably easy to make mayonnaise though. Fun fact, it USED to kind of be a French mother sauce. I believe that Careme considered it one, it may have been aioli but that has also built a different meaning than it used to. An aioli is just mayonnaise I mixed with other shit typically, I didn't start it don't come at me
  • Varine Varine:
    It's very hard to do it on a large scale though
  • Varine Varine:
    Depending on how you pour the oil the consistency can vary wildly, but that's true for most emulsions. I can only make about two quarts at a time with my robo coup, and if I have to make several in series because I forgot to order it becomes really obvious even when I do it. We have to wait and mix them all together to make sure we have the same thing.
  • Varine Varine:
    Hollandaise is also kind of like that, emulsions require a very steady hand to do exactly the same every time.
  • Varine Varine:
    Luckily I live in an age with electricity so it's way fucking faster, but when I was just a boy trying to find my place I had some hardcore chefs that made use do things like that by hand. It is WAY easier to get right by hand because you control it and can feel it, but it takes soooooo much longer. And on the scale a modern kitchen requires... I serve 400-500 guests on average per day right now, if I had 100 then we could do things way better
  • Varine Varine:
    But we can't do that. In the winter yeah, but I HAVE to get people through here right now so I can afford the staff that we CAN do that. We have about 100 days of summer, and if that summer doesn't make us what it will, then I can't operate the other most of the year with my staff. The owner is talking about closing two days a week to cut down on labor, I told him he should cut down on vacations and it did not go great. I do think I won though, I have to keep my fucking core staff and they have to be gainfully employed
  • Varine Varine:
    Sure some of them might take a second job, but I can't just cut my entire staff to unlivable hours, nor can I can cut them off all winter if I want them to come back.
  • Varine Varine:
    And also, there is no fucking way I'm pulling these hours come september. I only do this right now because I have to, the second I don't have to be the one doing it I won't be
  • Varine Varine:
    I have a 5 person core staff in the kitchen, not including me or Chef Ben
  • Varine Varine:
    Though two of those people are likely not making it this year. One of them has been replaced, the other I am kind of trying to. He's being a giant bitch, today I had to get onto him because in the three hours before I left he had taken like thirty minutes for cigarette breaks
  • Varine Varine:
    And he was also complaining to me the other day that he was out of weed so couldn't smoke any before work that day, and was confused about why I was annoyed he was telling me, his boss, that he is smoking weed everyday before work.
    +1
  • Varine Varine:
    Like yeah I can tell. I don't need to fucking know.
  • Varine Varine:
    So now he's getting scrutinized and will not be top of the list. I know I don't have the smartest people but I do expect them to have some common fucking sense
  • Varine Varine:
    I did do a rare thing for me and hire a girl last month without warning. Everyone was made at me because I started her at like 21, but she worked with me before and I was like don't care. She made 19 at her old job and I wanted her to come work with me, she is the best
    +1
  • Varine Varine:
    I'm going to get her a raise at the end of the summer. She wants to go to school again, but I want her to still work with me so.... she kind of can just tell me what the price is. I can go to 25 if she keeps up. I need to get her onto line more, that's what she wants, but I need her where she is and it's not fair that she doesn't get the little bit of raise that comes with it. She can do it no problem, I've worked with her there.
  • Varine Varine:
    It's just hard to move and train people unnecessarily right now. And also the line fucking sucks, it's not any more fun. This is turn and burn so I have the bankroll, and everyone suffers for it
  • Varine Varine:
    Eventually we'll get it balanced, we'
  • Varine Varine:
    we're starting online orders and stuff, but I also turn that off all the time because I barely keep up trying to be the best at Sysco shit
  • Varine Varine:
    I think it's gonna be a good fall and winter though. We're going to have a good staff, they will get along, they will be able to manage the workload and the complications, they know how to really cook this year, like every person on line knows their steak temps. Some of them use thermometers a lot and they don't always use them right, but they do know how to do it. Failure, especially in this field, is the only way to get better. They'll get it
  • Varine Varine:
    They won't get feel down while they do the thermometer, but we didn't have an instant read probe when I was learning. Like they did but god knows how off it is, you HAD to do it by feel. Even if the chef was fine with me bringing my own, it takes too long. Poke and know
  • The Helper The Helper:
    420 threads in the Artificial Intelligence forum :)
  • The Helper The Helper:
    Happy Monday!
    +1
  • The Helper The Helper:
    and then it was Tuesday!
    +1

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top