HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

My bag demo has been released download it!

09-14-2002, 11:32 PM#1
weaaddar
My bag and stat atribute demo for you to work with.

Disclamer:THIS IS GIVEN AS IS. NO OTHER SOURCES will be given. Do NOT solicit help from me except exclusively in this thread any other form will be ignored be it IM IRC or E-Mail. This is for advanced users only. This is not for those with iqs below 4. You can not sell or make profit off this. If it is to be added to something which will make profit give me a cut. If you are to distribute this by CD or by mail then you can ask for the postage and or price of the meduim used to distribute this. Writing a Help or making this more user friendly is actually suggested and would be a nice adition. Any dispariging remarks WILL be deleted from this thread. If you still reading this and haven't downloaded it yet download it!!! CLICK IT click it fool! Bravo I comend you for be able to read through all this BS. Have Fun.
09-15-2002, 02:17 AM#2
weaaddar
Cuagh Bump this is discouraging it seems to early for this to die out.
09-15-2002, 10:06 AM#3
Majin_Aussie
what is it?
09-15-2002, 12:52 PM#4
Bl4ck1E
Yep it'r really very well done, but however I can't add it to my example map :(
I added all 3 variables but it still isn't working :rolleyes:
09-15-2002, 02:52 PM#5
weaaddar
well what does the error say? Did you copy every trigger? Also you may have to edit the melee intilization and look at the Eventdialogregester whatevers and change it from Response to Response_copy or whatever the game renames vars to.

The best method would be ofcourse to create blank triggers with the names of the triggers then copying there content 1 by 1. Its slower but it almost ensures no failure. Also make sure your NOT using enforcemelee victory defeat as I actually borrow the melee defeated boolean array which is why i'm down to 3 vars.

Jass is case sensitive make sure the variables are SPELLED exactly as they are in the map.
Edit:
this is what i'm talking about
Code:
    call TriggerRegisterDialogEventBJ( gg_trg_Response, udg_d_Player[1] )
    call TriggerRegisterDialogEventBJ( gg_trg_Response, udg_d_Player[2] )
    call TriggerRegisterDialogEventBJ( gg_trg_Response, udg_d_Player[3] )
    call TriggerRegisterDialogEventBJ( gg_trg_Response, udg_d_Player[4] )
Replace it with.
Code:
    call TriggerRegisterDialogEventBJ( gg_trg_Response_Copy, udg_d_Player[1] )
    call TriggerRegisterDialogEventBJ( gg_trg_Response_Copy, udg_d_Player[2] )
    call TriggerRegisterDialogEventBJ( gg_trg_Response_Copy, udg_d_Player[3] )
    call TriggerRegisterDialogEventBJ( gg_trg_Response_Copy, udg_d_Player[4] )
If you are copy pasting between maps ofcourse.
09-15-2002, 04:21 PM#6
Bl4ck1E
K thx now everything is fine :)
09-15-2002, 04:58 PM#7
Guest
Damn it looks so complicated that I'm not even gonna take one peek at it in the editor :D
very well done.
by the way (how) did you make that backpack blp file? is there an editor for these things?? Oh and why does the path of the item's interface icon say "textures\btnbackpack.blp" instead of "btnbackpack.blp" (since its in the same folder)..
sorry I'm a noob at custom files and stuff like that..
09-15-2002, 07:49 PM#8
weaaddar
becuase thats where I chose to place it btnpackpack anyway. It really has no icon location the peon one has to be overlapping the btnpeon though becuase thats the only way to change the icon.
09-15-2002, 08:22 PM#9
ChronOmega
im having problems

i cant get the map inizilazatin (sp?) to work!
it comes up with these errors

PHP Code:
line 147expected a name
line 148
expected a name
line 149
expected a name
line 150
expected a name 


all the triggers are the right name all the varibles are there with the right name the backpack item is named with its abilities
SO WHY ISNT IT WORKING!
does it matter that no interface images have been changed yet?
09-15-2002, 09:37 PM#10
Guest
I'd rather not download it, get it to work, waste my time, to figure I don't like what it does.

You should have explained its purpose. B/C after wasting 45mins It wasn't usefull at all.
09-15-2002, 09:46 PM#11
ChronOmega
it allows the hero to hold more than six items

by the way is it possible to have more than one of these?
if it isnt cause of hte coding could you give me a copy of the code (or tell me what to remove) so they can have 2+

and also can i have a code that doesnt have them owning it at the begging?
09-17-2002, 01:42 AM#12
weaaddar
you certianly don't need them to own it off the bat. You can sell it to them but it has to be 1 time I suppose I can make different versions but really 1 should be enough.
09-17-2002, 01:47 AM#13
ChronOmega
well then can you tell me what to remove to stop them from getting it at the begging since to me custom text is like french

and cold you try and ehlp me with my other problem
09-17-2002, 01:50 AM#14
weaaddar
oh its very simple grab the unit remove the bag from his inventory :)
Yes this doesn't make a great tutorial but someone can turn it into one.
I suppose since I was in a maddened craze to lower varaible amount to such a low number that it shouldn't be hard to add to your map I should of realized theres dangerous to it. And mythmon check the code fix I pasted. It really should fix your problems.
09-17-2002, 03:53 AM#15
dataangel
Gnolom you dork, you can play the demo to see what it does before you put it in your map.

To remove a bag from a hero inventory, right click them, click properties, click inventory, click remove next to the bag