where do I place my scripts at?
which ones will work here?
And I have deco files from RunUO, will they work here?
Scripts Placement
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Hello, and welcome 
Neither scripts nor decoration files from RunUO will work with UOX3, as both use separate formats for both scripts (.js-files in UOX3), item templates (.dfn files in UOX3) and world-files (.wsc files in UOX3).
In theory it should be possible to write a converter of sorts to convert at least basic decorations and such to UOX3's world-file format, but as of right now no such tool exists.
Neither scripts nor decoration files from RunUO will work with UOX3, as both use separate formats for both scripts (.js-files in UOX3), item templates (.dfn files in UOX3) and world-files (.wsc files in UOX3).
In theory it should be possible to write a converter of sorts to convert at least basic decorations and such to UOX3's world-file format, but as of right now no such tool exists.
-= 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:
1) The JavaScript Vault (for JavaScripts) and The DFN Vault (for items/npc/other DFNs)
2) The Scripting Department has a bunch of sticky-threads with links to general JavaScript guides and such - though a lot of those also include browser-specific JavaScript which won't work in UOX3 since it's not a web-browser
3) The DFN files (item/npc/region/spawn/etc-templates) uses a text-format specific to UOX3, while the harder scripting stuff is done in UOX3's C JavaScript-engine. (Example of such a JavaScript for UOX3)
2) The Scripting Department has a bunch of sticky-threads with links to general JavaScript guides and such - though a lot of those also include browser-specific JavaScript which won't work in UOX3 since it's not a web-browser
3) The DFN files (item/npc/region/spawn/etc-templates) uses a text-format specific to UOX3, while the harder scripting stuff is done in UOX3's C JavaScript-engine. (Example of such a JavaScript for UOX3)
-= 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:
For JavaScripts, they should be inside the UOX3/JS/ folder somewhere, and then referenced in jse_fileassociations.scp (use your favorite texteditor to edit).
For DFN files, as long as they're somewhere inside the correct subfolder (uox3/dfndata/ or uox3/dfndata/npcs/ or uox3/dfndata/items/ etc) UOX3 will be able to read them, so you can create your own custom folders and put them in there.
For DFN files, as long as they're somewhere inside the correct subfolder (uox3/dfndata/ or uox3/dfndata/npcs/ or uox3/dfndata/items/ etc) UOX3 will be able to read them, so you can create your own custom folders and put them in there.
-= 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:
They're not really windows script component files - they're just ascii txt files with a weird file extension
They go in the UOX3/shared/ folder (Warning! Will overwrite any existing items/chars you might have created!)
-= 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:
Make sure all the .wsc files are in the root UOX3/shared/ folder, and not inside a subfolder like UOX3/shared/default world files/. Also, make sure to do this while UOX3 is shut down - otherwise it will just overwrite the files on the next worldsave with whatever it has loaded in memory.
-= Ho Eyo He Hum =-