Page 1 of 1
Staff Hiding Stone?
Posted: Sun Mar 02, 2014 12:33 am
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.
Re: Staff Hiding Stone?
Posted: Sun Mar 02, 2014 4:28 am
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.
Re: Staff Hiding Stone?
Posted: Sun Mar 02, 2014 2:08 pm
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.
Re: Staff Hiding Stone?
Posted: Sun Mar 02, 2014 3:13 pm
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.
Re: Staff Hiding Stone?
Posted: Sun Mar 02, 2014 7:04 pm
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.
Re: Staff Hiding Stone?
Posted: Sun Mar 02, 2014 7:24 pm
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?)
Re: Staff Hiding Stone?
Posted: Mon Mar 03, 2014 5:21 am
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.
Re: Staff Hiding Stone?
Posted: Mon Mar 03, 2014 10:11 am
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?
Re: Staff Hiding Stone?
Posted: Mon Mar 03, 2014 4:56 pm
by Zaksmeer
where do I find the uo.em information at?
Re: Staff Hiding Stone?
Posted: Tue Mar 04, 2014 2:11 am
by RusseL
Zaksmeer wrote:
What is the in-game command for me to use this?
name of file starting with '.'
Re: Staff Hiding Stone?
Posted: Sat Mar 08, 2014 2:16 am
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
Re: Staff Hiding Stone?
Posted: Sun Apr 13, 2014 5:48 pm
by Zaksmeer
Hey Yukiko,
I added those scripts and used the commands .d .e, but they are not working.
Help.