New User, some questions.

Forum where anything UOX3-related goes - including, but not limited to: newbie-support, ideas, general questions, comments, etc and-so-forth.
Post Reply
Okami
UOX3 Newbie
Posts: 1
Joined: Sun Jan 17, 2010 11:11 pm
Has thanked: 0
Been thanked: 0

New User, some questions.

Post by Okami »

I did a preliminary search through things but was just wondering these things.

1. Can you access Malas, Tokuno, and Illshenar in UOX3 if you want? (not sure I -would- mind you, just wondering)

2. I don't think Chivalry/Necro is supported, but is it possible to script them in if you put in the effort?

3. How difficult is the scripting in UOX3, which language does it use? I'm somewhat familiar with C# and C++ (My main scripting experience was module making for NWN1).

4. On the hunger system... if I turn it on, and then disable regeneration of health by time, is it possible that the players can starve to death?

I'm mostly considering using UOX3 for a private RP thing, with me running as a DM/Seer and letting friends toy around with it, I just remember liking Chivalry and it's implementation and wouldn't mind having it. And if I did, I'd have to have Necro or my playgroup would whine. :P

One possible idea I had was setting up a "Zombie shard" with limited resources and basically making it a survival based setting. I -think- with what I've read so far that's possible, one little thing I wouldn't mind having would be players being ressed as zombies. :D
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 »

Hey, and welcome :)

1) Yes, you can access them if you want - either by setting up custom teleporters there, making players appear there by default after character creation, or by using the moongate script that's included with UOX3. It gives the users a menu letting them choose both the world and location to go to, similar to the OSI moongates (at least, it was similar once upon a time).

2) Correct. No current support, but in theory it's possible to script almost anything if you put in enough effort ;)

3) UOX3 uses a C implementation of the Spidermonkey JavaScript engine, meaning, you write your scripts in JavaScript syntax using UOX3's internal Javascript triggers, methods and functions, and save them as text files with a .js ending, then hook them up to UOX3 through jse_fileassocations.scp where each script gets a script-ID which you can then assign to any dynamic object or character ingame.

Example of a JavaScript that's used by Spyglasses to get the moon-phases:

Code: Select all

var moonPhase = new Array( "a full moon", "waning gibbous", "in it's last quarter", "waning crescent", "a new moon", "waxing crescent", "in it's first quarter", "waxing gibbous" );

function onUseChecked( pUser, iUsed )
{
	pUser.TextMessage( "You peer into the heavens, seeking the moons...", false, 0x03b2 );
	pUser.TextMessage( "Trammel : " + moonPhase[Moon( 1 )], false, 0x03b2 );
	pUser.TextMessage( "Felucca : " + moonPhase[Moon( 0 )], false, 0x03b2 );
	return false;
}
Check the UOX3 JS Documentation for the exact details of events/triggers and methods/functions of the system.

4) Yes.
-= Ho Eyo He Hum =-
Post Reply