Help with RPG item trigger

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
fever
Newcomer
Posts: 18
Joined: February 14th, 2007, 2:43 pm

Help with RPG item trigger

Post by fever »

Hey yeah I'm kind of new to cheatign wc3 maps. I've learnt how to do gold, lumber, lvl, str, agi, int etc but I can't seem to find out how to do -items (drops all items in game) in GUI triggering. I used to be a leacher, and just beg for maps, until I found out it felt alot better if you do things yourself :lol: . If you would be so kind, to post a super NEWB friendly guide for me on how to do -items (drops all items in game) it would mean alot to me =).

......../\Thanks~fever
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Help with RPG item trigger

Post by Xantan »

k.

1. open map w/ mpqmaster
2. extract .w3t
3. open world editor
4. go to object editor
5. click items tab
6. import item data and find that .w3t you extracted
7. go to view or edit and hit view raw data
8. copy down ALL of the codes for every item and use it with jass - OR:


9. go into the world editor and make a trigger - Hero - Create item for hero - and select every item - OR:

10. if youre lazy, hero - create item for hero - random -1 and do that 100000 times.

glhf
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Help with RPG item trigger

Post by Aero »

I'm telling ya... Tutorials section ftw =3
User avatar
fever
Newcomer
Posts: 18
Joined: February 14th, 2007, 2:43 pm

Re: Help with RPG item trigger

Post by fever »

I'm sorry, but i'm still having a bit of trouble with this. I'm sorry that i'm not a pro like you haha. And yes Aero, tutorials FTW =). This is just like a little "SIZZLE" to spice up boring GUI simple "-gold, -wood, -lvl, -str, -agi, -int" UP. I want some pepper in my food that would let me do some more intense actions like having to type -items and the best items in the game drop =O so i could really help out the community with my simple GUI skills. JASS is too complicated for me o_O i like GUI better =)

And to xantan..
Is...

Events:
Player - Player 1 (RED) types a chat message containing -items as A substring

Actions:
Hero -Create TRIGSTR_6577 and give it to Triggering unit
Hero - Create TRIGSTR_6404 and give it to Triggering Unit
"
"
"
and the list of actions go on....

I'm only doing this for player 1 (red) for now because i need to test if it works to begin with. I'm having a little dificulty with it =/ I've tried having the Events as a different thing, like Game - Hero Abilities Button Clicked, instead of Player - Player 1 (RED) types a chat message containing -items as A substring, I've also tried Player - Player 1 (RED) types a chat message containing -items as an exact match. But It's rather fustrating that I could not follow simple instructions from you. Shows to the community what a dumbass i am haha.
Last edited by fever on July 26th, 2007, 3:06 am, edited 1 time in total.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Help with RPG item trigger

Post by Aero »

Aero wrote:I'm telling ya... Tutorials section ftw =3
Haha, I see the misunderstanding.

I was talking to Xantan, I said we should implement a jass/mpq archive learning section since we get so many questions like this.
User avatar
fever
Newcomer
Posts: 18
Joined: February 14th, 2007, 2:43 pm

Re: Help with RPG item trigger

Post by fever »

Hahah glad your on right after I replied Aero. Mabye I could become a GUI mod someday, and help out future noobs that will come and ask the same type of questions like i do =). =P but working one step at a time is my number one priority right now. =)
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Help with RPG item trigger

Post by Aero »

One step at a time it is, but first, do you know how to view items in a protected map?

If you do the rest is trivial.
User avatar
fever
Newcomer
Posts: 18
Joined: February 14th, 2007, 2:43 pm

Re: Help with RPG item trigger

Post by fever »

Currently I'm wokring with a unprotected map, but I'm guessing for protected maps you use MPQMaster and extract the .w3t file?

For unprotected maps it's rather simple,

1) Open map and World Editor
2) Click the Module tab and click Object Editor (F6)
3) Click the "Items" subtab located beside Units and Destructibles
Last edited by fever on July 26th, 2007, 3:18 am, edited 1 time in total.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Help with RPG item trigger

Post by Aero »

Oh? So you're trying to make all the items in a specific map drop using GUI triggers.

This map is also unprotected? >.>

[Edit] Well, that's just as simple as this...

Events - (Your event here--Probably a chat message)
Conditions
Actions
Item - Create Staff of Sanctuary at (Center of (Playable map area))
Item - Create ...ect.

You could do that for all items...
User avatar
fever
Newcomer
Posts: 18
Joined: February 14th, 2007, 2:43 pm

Re: Help with RPG item trigger

Post by fever »

Well what I'm trying to do right now is to type a certain command (-items) and it will allow specfic items to drop at my hero's feet.

And yes this map is unprotected, I'm using an unprotected map, that has been unprotected by one of the members in this forum, to save me the trouble of unprotecting it myself.

soo...
Events:
Player - Player 1 (RED) types a chat message containing -items as an exact match

Actions:
Item - Create TRIGSTR_6577 at (Player 1 (Red) start location)
Last edited by fever on July 26th, 2007, 3:25 am, edited 1 time in total.