Concealme

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Unfaithful
Neophyte Poster
Posts: 38
Joined: Mon Jun 11, 2007 1:35 pm

Concealme

Post by Unfaithful »

Possible to make higher conceal level than 5?
runtest
Grandmaster Poster
Posts: 194
Joined: Sat Aug 05, 2006 11:43 am

Post by runtest »

If you are talking about cmd levels I think you just make a new folder in your TExtCMD directory named for example 'highAdmin'. Then edit cmdc.cfg in your CONFIG directory to reflect this.

Conceal me should take care of the rest. For example lets say I wanted to make HighAdmin over test I would make a folder in scripts\textcmd called highAdmin. Then in the config folder I would edit cmds.cfg to look like this.

Code: Select all

CmdLevel Player
{
    DIR scripts/textcmd/player
}

CmdLevel Coun
{
    DIR scripts/textcmd/coun
}

CmdLevel Seer
{
    DIR scripts/textcmd/seer
}

CmdLevel GM
{
    DIR scripts/textcmd/gm
}

CmdLevel Admin
{
    DIR scripts/textcmd/admin
}

CmdLevel Test
{
    DIR scripts/textcmd/test
}
CmdLevel HighAdmin
{
    DIR scripts/textcmd/highAdmin
}
It should then take care of itself. Someone tell me if I am wrong.
runtest
Grandmaster Poster
Posts: 194
Joined: Sat Aug 05, 2006 11:43 am

Post by runtest »

Oh, one more thing. You will want to set your admin chracter to that level. To do that edit - with the server down - data/accounts.txt and find your account. Then find this line and change it to our example highadmin.

Code: Select all

	DefaultCmdLevel	test
To this.

Code: Select all

	DefaultCmdLevel	highadmin
Save and start the server. Now when people with cmdlevel test hide you can see them or did you mean where a higher command level could only use conceal me. Simply go to the:

scripts/textcmd/coun folder find these files.

concealme.bdg .ecl .dep and .lst then delete those - this is if it already has been compiled - then find concealme.src then move that to the corresponding command level folder that you want staff to have access to.

IE: Move it to the GM folder compile it and gms and up will have access to it.
Xenawar
New User
Posts: 13
Joined: Thu May 03, 2007 2:23 pm

Post by Xenawar »

Assuming you actually mean what you typed again, why not just try it out? If you are using a new version of POL, you can set the concealed level higher than the command level. With 095, this was not the case; If you tried to set a concealed level higher than someone's command level, it was capped. So even in script, it was impossible to make a 'player' concealed to players. While it seemed like a logical limitation at the time I'm sure, I like how it is now better; letting you script it however you like. So, you could set someone to be concealed to GMs or lower, even if they are only, say, a Counselor. It's up to you in the script to limit them.

Level 5 is the dev level, which is higher even than Admin. As far as I know, there is no hard cap of command levels at 5; You could define others in the config files. However, I'm not sure you need to define a higher command level to use a higher concealed level. Why not just create a dot-command and try it out; Set yourself to concealed := 6; and see how it works. You might still see yourself, but you'd have to see if another command level 5 person can still see you.
Unfaithful
Neophyte Poster
Posts: 38
Joined: Mon Jun 11, 2007 1:35 pm

Post by Unfaithful »

Yeah it works ;] thanks
Post Reply