PenUltima Online

It is currently Sat Aug 30, 2008 2:50 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: More a question
PostPosted: Mon May 12, 2008 10:46 pm 
Offline

Joined: Mon Feb 18, 2008 12:26 pm
Posts: 6
Would it be possible to script a walkon script to......make a character to where they view everything in the world as if they were dead. And could not be seen by living characters nor could see living characters. Yet they could fight with all thier weapons with creatures specifically made for this dead realm. Also those dead creatures could not see living or attack them and could not be seen by living?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 14, 2008 1:49 pm 
Offline
User avatar

Joined: Fri Dec 28, 2007 11:19 pm
Posts: 91
Location: Montreal, Canada
I would say yes.

Change your graphic to 402 (male) or 403 (female).
But you might not be able to make it work correctly while mounted.
And you should receive a "you cannot use this item while dead" simply because the core recognize you like mobile.dead == 1

You could modify the whole thing into the scripts themselves by adding the following stuff to your checks if someone is dead.

Code:
if( mobile.dead )
    foreach item in ListEquippedItem( mobile )
           if( item.objtype == (objtype of deathshroud )
                    SendSysMessage( mobile, "You cannot use that while dead!";
                    return 0;
           endif
     endforeach
endif


*Objtype of a deathshroud has not been found or created yet for me. I cannot tell you the exact number for it.

But now, I'm wondering if there is core function that has to be modified :\
lol.. tek?

_________________
Image
FantasiaShard.com


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 16, 2008 11:38 pm 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 745
Location: Chicago, IL USA
From just looking at InsideUO, a death shroud graphic is 8270 (0x204E).


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 17, 2008 2:29 am 
Offline
User avatar

Joined: Fri Feb 10, 2006 12:15 am
Posts: 206
I think that could be done using two realms. One for the living people and creatures, and another for the dead. When players walk on the tile you mentioned, it'd move them to the latter realm, and when they are about to return to the "real" world, another script would send them back.

To the realms to be exactly the same itemwise you'd have to duplicate not only the statics, but also at least multis built, and if you see it worth the effort, also items placed on the ground. This information should then be refreshed and updated for things to sync.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl