wc3edit.net
https://forum.wc3edit.net/

[GUIDE] Creating items in PG Maps [+MAKE YOUR OWN LIST]
https://forum.wc3edit.net/tutorials-cheatpacks-f80/creating-items-in-pg-maps-t36531.html
Page 1 of 1

Author:  nuzamacuxe [ July 24th, 2019, 12:09 am ]
Post subject:  [GUIDE] Creating items in PG Maps [+MAKE YOUR OWN LIST]

Hello!

It's been a long since PG PROTECTION become popular in korean and some chinese maps. The -spawn command (from JJ's CP) doensn't work in those maps so you would have to use -additem 99 (or -ritem 99 from my cheatpack [click here to check it out!]) to get your desired item, but dont worry! You won't need to use it anymore!

HOW TO CREATE ITEMS

Required program:

Gonna use this pg protected map as example: fulfilled-requests-f75/narnia-rpg3-0-9c-t36511.html
NOTE: I'm gonna assume you already know how to insert a cheatpack and how to get rawcodes.

    1. Insert this cheatpack: CLICK HERE (Don't know how to insert a cheatpack? CLICK HERE)
    2. Get the rawcodes; (Don't know how to get rawcodes? CLICK HERE)
    3. Open up the items.txt file using NOTEPAD++;
    4. Look for the item you want and copy the rawcode (CTRL + C);
    Spoiler:
    Image

    5. Use -citem RAWCODE and done.
    Spoiler:
    Image

MAKE YOUR OWN LIST


If you are lazy to always look for your desired item this tutorial will help you out. I made a simple system which let you do it... its name is Item List Maker. It's like a cheatpack, but it was made only for items. Which means there are only a few specific commands.
Command list:
    OPERATOR: - ACTIVATOR: ilm
    autofill on - Auto add bought/picked items to your list;
    svslot # (1-6) - Saves the item which is in slot #;
    svlist - Saves your current list and generate a file with the saved items;
    mylist - Shows your list of items;
    clearlist - Clears your list of items;
    ritem # (1-99) - Spawns # random items;
    cid # - Spawns # item based on its INTEGER ID;
    citem # - Spawns # item based on its RAWCODE;
    svitem # - Saves # item based on its RAWCODE;
    clear - Clears your screen from messages;
    autofill off - Disables auto fill mode;
    ilm off - Disables Item List Maker.

Author:  devoltz [ July 24th, 2019, 11:33 am ]
Post subject:  Re: [GUIDE] Creating items in PG Maps [+MAKE YOUR OWN LIST]

nice nuza, very cool.

Author:  exocet [ February 9th, 2020, 9:42 pm ]
Post subject:  Re: [GUIDE] Creating items in PG Maps [+MAKE YOUR OWN LIST]

With this everytime i spawn an item in Twilight eve it vanishes to what i assume is anti hack, is there any way to spawn directly to hero inventory vs on the ground?

Author:  nuzamacuxe [ February 11th, 2020, 2:10 am ]
Post subject:  Re: [GUIDE] Creating items in PG Maps [+MAKE YOUR OWN LIST]

Yes, it is.

Code:
native          UnitAddItemToSlotById   takes unit whichUnit, integer itemId, integer itemSlot returns boolean



itemSlot reference (0-5);

Author:  exocet [ February 11th, 2020, 3:27 am ]
Post subject:  Re: [GUIDE] Creating items in PG Maps [+MAKE YOUR OWN LIST]

nuzamacuxe wrote:
Yes, it is.

Code:
native          UnitAddItemToSlotById   takes unit whichUnit, integer itemId, integer itemSlot returns boolean



itemSlot reference (0-5);



Yes, exactly what i needed. a little modification and I got it to work.

Author:  teomau [ January 2nd, 2022, 2:12 am ]
Post subject:  Re: [GUIDE] Creating items in PG Maps [+MAKE YOUR OWN LIST]

exocet wrote:
nuzamacuxe wrote:
Yes, it is.

Code:
native          UnitAddItemToSlotById   takes unit whichUnit, integer itemId, integer itemSlot returns boolean



itemSlot reference (0-5);



Yes, exactly what i needed. a little modification and I got it to work.


Can you give the full line of code and where to put it? :D

Author:  numchut [ February 16th, 2022, 6:46 am ]
Post subject:  Re: [GUIDE] Creating items in PG Maps [+MAKE YOUR OWN LIST]

i can not play becoust Map is big
please help me thank

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/