Adding stuff

Forum where anything UOX3-related goes - including, but not limited to: newbie-support, ideas, general questions, comments, etc and-so-forth.
Post Reply
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Adding stuff

Post by Zaksmeer »

ok, I am using .add <item or npc name>, get the targeting recepticle, click where I want to place it, and nothing shows up. What am I forgetting or doing wrong?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

'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.
-= Ho Eyo He Hum =-
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

No problem Xuri, you have been a GREAT help.

BTW -- I like the avatar you have chosen.
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

I can't just go .add <scripted item name> when adding stuff?
Like trash cans, treasure chests, etc.
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

What is the command for finding out the x,y,z of my location. So I may know where and how high to set my items?
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

And where is there a listing of all of the statics inside the client files. I try using InsideUO and saving as an XML file, but it just gives me names and numbers.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

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. :/
-= Ho Eyo He Hum =-
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

Damn, you are good.

P.S.
I overlooked it and didn't even know it.
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

I added your worldbuilder script, but what is the command to activate it?
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

How do I do a multiple option to add.

example:
'add <item name> incz 5 incy 9
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

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.
-= Ho Eyo He Hum =-
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

Now, how do I travel to the different facets?
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

How can I add custom locations to the teleporter menu?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

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.
-= Ho Eyo He Hum =-
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

<insert evil grin> that gives me ideas.
Zaksmeer
UOX3 Neophyte
Posts: 32
Joined: Thu Nov 22, 2012 9:33 am
Has thanked: 0
Been thanked: 0

Post by Zaksmeer »

in worldbuilder for the travel section, i get the buttons, but there is no map. is there supposed to be a map?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

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.
-= Ho Eyo He Hum =-
Post Reply