PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
More a question

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases
Display posts from previous:   

Author Message
Malikia



Joined: 18 Feb 2008
Posts: 6

PostPosted: Tue May 13, 2008 2:46 am    Post subject: More a question Reply with quote

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?

Author Message
*Edwards



Joined: 29 Dec 2007
Posts: 85
Location: Montreal, Canada

PostPosted: Wed May 14, 2008 5:49 pm    Post subject: Reply with quote

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?

Author Message
CWO



Joined: 04 Feb 2006
Posts: 699
Location: Chicago, IL USA

PostPosted: Sat May 17, 2008 3:38 am    Post subject: Reply with quote

From just looking at InsideUO, a death shroud graphic is 8270 (0x204E).

Author Message
ncrsn



Joined: 10 Feb 2006
Posts: 183

PostPosted: Sat May 17, 2008 6:29 am    Post subject: Reply with quote

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.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty