Adding stuff
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
'add - Brings up a GM menu with items/NPCs you can add.
'add item [itemName] - items based on DFN entries, where the part within the [square brackets] is the itemName. Example: 'add item 0x04a9 (only works if item has been setup with a DFN entry!)
'add <itemID> - basic item that uses data directly from tiledata.mul. Example: 'add 0x04a9
'addx <itemID> - same as 'add <itemID>, but adds item directly at your feet instead of at targeted location.
'add npc [npcName] - NPCs spawned based on DFN entries, where the part within the [square brackets] is the npcName. Example: 'add npc orc
Other commands you can use to add items:
'RADD <itemID> - Adds item of specific hex-id at multiple targeted locations.
'RADDITEM [itemName] - Adds item of specified item-id from DFNs at multiple targeted locations.
'RADDNPC [npcName] - Adds npc of specified npc-id from DFNs at multiple targeted locations.
'RNDTILE <startID> <endID> <hue> <z>(optional) <movable true/false>(optional)[/b] - Tiles a random item from <startID> to <endID> of the specified <hue> at the (optional) specified Z, with an (optional) movable status of true/false.
'TILE <itemID> (x1 x2 y1 y2 as optional parameters) - Tiles the specified item over a targeted area. If coordinates are specified(x1 x2 y1 y2), will tile the item inside those coordinates.
Sorry for the overkill of information
You can also find all of these commands on the Commandlist-page, either here on the website or in your UOX3/DOCS/ folder.
'add item [itemName] - items based on DFN entries, where the part within the [square brackets] is the itemName. Example: 'add item 0x04a9 (only works if item has been setup with a DFN entry!)
'add <itemID> - basic item that uses data directly from tiledata.mul. Example: 'add 0x04a9
'addx <itemID> - same as 'add <itemID>, but adds item directly at your feet instead of at targeted location.
'add npc [npcName] - NPCs spawned based on DFN entries, where the part within the [square brackets] is the npcName. Example: 'add npc orc
Other commands you can use to add items:
'RADD <itemID> - Adds item of specific hex-id at multiple targeted locations.
'RADDITEM [itemName] - Adds item of specified item-id from DFNs at multiple targeted locations.
'RADDNPC [npcName] - Adds npc of specified npc-id from DFNs at multiple targeted locations.
'RNDTILE <startID> <endID> <hue> <z>(optional) <movable true/false>(optional)[/b] - Tiles a random item from <startID> to <endID> of the specified <hue> at the (optional) specified Z, with an (optional) movable status of true/false.
'TILE <itemID> (x1 x2 y1 y2 as optional parameters) - Tiles the specified item over a targeted area. If coordinates are specified(x1 x2 y1 y2), will tile the item inside those coordinates.
Sorry for the overkill of information
-= Ho Eyo He Hum =-
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Usually the scripted names are the same as the itemIDs (in hex-decimal). So
'add 0x04a9
'add item 0x04a9
would both add a wooden floor tile, but one of them would add the "base" tiledata version and the other would add the scripted version.
To find your current location use the 'WHERE command. To find the location of a targeted character, use 'CSTATS. For items, use 'ISTATS.
Not sure where you can get actual lists of all items in the client, sorry. :/
'add 0x04a9
'add item 0x04a9
would both add a wooden floor tile, but one of them would add the "base" tiledata version and the other would add the scripted version.
To find your current location use the 'WHERE command. To find the location of a targeted character, use 'CSTATS. For items, use 'ISTATS.
Not sure where you can get actual lists of all items in the client, sorry. :/
-= Ho Eyo He Hum =-
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
If you've added the worldbuilder javascript and set it up in jse_fileassociations.scp (and restarted UOX3), you can access the WB menu by using the command 'WB
Multiple option like what you describe with the 'add command is not currently possible in UOX3. You'll have to modify the items after you place them. If you want to modify a bunch of items at the same time, you can try this command:
'AREACOMMAND <parameters>
...using any of the following <parameters>:
DYE (h)
WIPE
INCX (d)
INCY (d)
INCZ (d)
SETX (d)
SETY (d)
SETZ (d)
SETTYPE (d)
NEWBIE (d)
SETSCPTRIG (d)
MOVABLE (d)
Then you target the area in which you want to apply the chosen parameters to all items.
Multiple option like what you describe with the 'add command is not currently possible in UOX3. You'll have to modify the items after you place them. If you want to modify a bunch of items at the same time, you can try this command:
'AREACOMMAND <parameters>
...using any of the following <parameters>:
DYE (h)
WIPE
INCX (d)
INCY (d)
INCZ (d)
SETX (d)
SETY (d)
SETZ (d)
SETTYPE (d)
NEWBIE (d)
SETSCPTRIG (d)
MOVABLE (d)
Then you target the area in which you want to apply the chosen parameters to all items.
-= Ho Eyo He Hum =-
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
One of the ways in which you can travel to different facets is by setting up items with the moongate script attached, to act as teleporters.
You do this by adding the item you wish to act as a teleporter (or moongate, if you will), then use the 'SETSCPTRIG 5011 on said item. This will bring up the moongate-menu when someone steps on or double-clicks on the teleporter.
To add custom locations to the teleporter menu you'll have to edit the UOX3/js/item/moongate.js script and add new or replace old locations.
You do this by adding the item you wish to act as a teleporter (or moongate, if you will), then use the 'SETSCPTRIG 5011 on said item. This will bring up the moongate-menu when someone steps on or double-clicks on the teleporter.
To add custom locations to the teleporter menu you'll have to edit the UOX3/js/item/moongate.js script and add new or replace old locations.
-= Ho Eyo He Hum =-
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Assuming you mean the JS-version - there no map currently, no. That's something I can try to add though, if you want it (and if gumpa-art exists for such a map).
Btw, for questions (or just discussion about UOX3) you can also find me from time to time in #uox3 on irc.freenode.net, which you can connect to using a stand-alone IRC client like mIRC or through the java-based IRC client available here on uox3.org.
Btw, for questions (or just discussion about UOX3) you can also find me from time to time in #uox3 on irc.freenode.net, which you can connect to using a stand-alone IRC client like mIRC or through the java-based IRC client available here on uox3.org.
-= Ho Eyo He Hum =-