Staff Hiding Stone?

Open discussion forum. For topics that do not fit anywhere else.

Moderator: POL Developer

Post Reply
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Staff Hiding Stone?

Post by Zaksmeer »

Is there a hiding stone like runuo has? But for pol?
And where can I find it? Been looking on the forums, but when I enter "staff", "Hiding", or "stone", well, you can imagine how many entries I get.
User avatar
CWO
POL Expert
Posts: 1158
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: Staff Hiding Stone?

Post by CWO »

What type of functionality are you looking for? I've never used RunUO so I don't know what a hiding stone does. Are you trying to make staff members invisible to players? That's typically a command .conceal or .concealme depending on your scriptbase.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Staff Hiding Stone?

Post by Zaksmeer »

Basically it was a stone that you double clicked on and it would turn you invisible with sound and visual effects. Those you could modify to a limited selection. It was a good thing, I liked it.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Staff Hiding Stone?

Post by Zaksmeer »

Well, .conceal and .concealme do not work. Going to have to find them.

I have downloaded the distro, and it says pol099, but when I run it, and get into the game, somewhere it says 097.
Just confusing for me.

But will have to find those commands somewhere.
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm
Location: Poland

Re: Staff Hiding Stone?

Post by qrak »

Zaksmeer wrote:Basically it was a stone that you double clicked on and it would turn you invisible with sound and visual effects. Those you could modify to a limited selection. It was a good thing, I liked it.
Define hidingstone in itemdesc.cfg, make script and objtype for him, then write hidingstone.src, should look something like this

Code: Select all

use uo;

program hidingstone(who)
who.hidden := 1;
//PlaySoundEffect <- sound effect number
//PlayObjectCenteredEffect  <--object effect
endprogram
Look in uo.em how playsoundeffect & playobjectcenteredeffect works, remove comments "//", compile.
User avatar
CWO
POL Expert
Posts: 1158
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: Staff Hiding Stone?

Post by CWO »

It should be available to you. In the 099 distro, it's in pkg/commands/coun. As long as you're counselor or higher it should work. Did it compile? (is there a conceal.ecl file there?)
kebab
New User
Posts: 1
Joined: Mon Feb 17, 2014 6:06 am

Re: Staff Hiding Stone?

Post by kebab »

Zaksmeer wrote:Well, .conceal and .concealme do not work. Going to have to find them.

I have downloaded the distro, and it says pol099, but when I run it, and get into the game, somewhere it says 097.
Just confusing for me.

But will have to find those commands somewhere.
Try ".conceal me" with the space.
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Staff Hiding Stone?

Post by Zaksmeer »

I have loaded some gm effects. I see in the files there have this line:
program textcmd_raiden1 ( staff)

What is the in-game command for me to use this?
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Staff Hiding Stone?

Post by Zaksmeer »

where do I find the uo.em information at?
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Staff Hiding Stone?

Post by RusseL »

Zaksmeer wrote: What is the in-game command for me to use this?
name of file starting with '.'
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Staff Hiding Stone?

Post by Yukiko »

Here are two commands that make you disappear with effects.

This one drops a stone on you and disappears your character.

Code: Select all

use uo;
use os;

include "include/client";
program textcmd_e( who )
  PlaySoundEffect(who, 0x231);
  PlayMovingEffectXYZ(who.x, who.y, who.z+100, who.x, who.y, who.z, 6002, 10, loop := 0, explode := 0, who.realm );
  sleepms(1300);
  PlaySoundEffect(who, 0x146);
  sleepms(180);
//	PlayObjectCenteredEffect(who , FX_SPARK_EFFECT , 7 , 0x10 );
	PlaySoundEffect(who,0x15b);
  PerformAction(who, 22);
  sleepms(1200);
  who.concealed := 1;
  sleepms(200);
  PlaySoundEffect(who, 0x246);
endprogram
This one produces a flame and conceals you if you are visible or makes you visible if you were concealed.

Code: Select all

use uo;
include "include/client";
program textcmd_e( who )
 	PlayObjectCenteredEffect(who, 0x3709, 0x0a, 0x1e );
	PlayObjectCenteredEffect(who, FX_SPARK_EFFECT, 7, 0x10 );
	PlaySoundEffect(who,0xf8);
        if (!who.concealed)
          who.concealed := 1;
        else
          who.concealed := 0;
        endif
endprogram
Place these in your ..\pkg\commands\gm directory and compile them.

The command usage is .d and .e
Zaksmeer
Grandmaster Poster
Posts: 187
Joined: Mon Nov 19, 2012 8:32 pm

Re: Staff Hiding Stone?

Post by Zaksmeer »

Hey Yukiko,

I added those scripts and used the commands .d .e, but they are not working.
Help.
Post Reply