Plasma Console

View previous topic View next topic Go down

Plasma Console

Post  Mister Magic on Sat 29 Jun 2013 - 20:46

This Topic has been the exchange of knowledge on the use of the Plasma console PlClient for.
Ask your questions here, we will try to answer them.
This is where you can post your own discoveries.
I start this topic with this :

1. How to use Plasma Console in PlcClient 918c ?

Once the game started, you can call the interface between plasma console by pressing the Ctrl+[%]  keys in AZERTY or Ctrl+Tilde in QWERTY keybord, to the left of the [Enter] key.

A window appears first on two lines. You can enlarge it by pressing again a second time on the same key and close by pressing a third time this button. Even closed, the last 10 typed commands remain in memory. For review and therefore not having to retype them, simply press the [up arrow] key

A ] appears at the beginning of the line telling you that you are in the Plasma console and the cursor indicates that you can type a command.
If you enter an invalid command the program will return an error message.
If this command is successful, it will fit in yellow above the line strikes

In Plasma console, there is no distinction between uppercase and lowercase. Very Happy 

Here is an example command Plasma:
] Graphics.Show.Physicals

This is the launch control Physicals Show subgroup Graphics Group
Note the dot between each word.

For a list of commands in the plasma console in an html file, type:
] Console.CreateDocumentation filename.html
or
] Console.CreateBriefDocumentation filename.html

This file will be created in the installation directory PlClient and give you a list of all commands Plasma.

When you type a command in the console, you can just type a few letters and then the Tab key to complete the command (if it exists). If you repeatedly press Tab, the command compatible with what you have already typed will be displayed repeatedly.


Last edited by Mister Magic on Sun 30 Jun 2013 - 9:24; edited 1 time in total

_________________
Mister Magic #19032, Magic Bot 27527, Mimi Bot 71459, Game Master 26224, Magic-Treasure 24891, Mimi Treasure 21190
avatar
Mister Magic
Admin
Admin

Messages : 1301
KI# KI# : 19032. Mimibot:71459, Magicbot:27527,Game Master:26224,Magic-Treasure:24891,Mimi Treasure:21190
Date d'inscription : 2013-02-05
Age : 62
Localisation : Belgique

http://magicworlds.actifforum.com

Back to top Go down

Re: Plasma Console

Post  EdisonRex on Sun 30 Jun 2013 - 2:00

Here are some basic Plasma commands some of which you can already do with the bot, these may help you get used to the console. As far as I can tell these are non-destructive, there is less chance of messing anything up with these. 


]Clothing.WearMaintainerOutfit
]Clothing.RemoveMaintainerOutfit

They do what they say. Don't wear the maintainer outfit outside of Magic Worlds or your own private ages. 

]Graphics.Show.Physicals - this is a toggle - and it looks useful for skydivers or if you want to sit on something out of reach and don't know where to look. It's real use probably has more to do with making sure you design a space that you can't walk through something and fall down to Relto.

]Graphics.Renderer.Wireframe
]Graphics.Renderer.Overwire

Not much use unless you're a designer or you can't see. But wire overlay helps you see the structure of some things which is useful if you are looking at structures. These are also toggles. The Graphics family a good place to experiment too. 

]Game.Emote.Sit (Talk, Clap, Laugh, Dance, Sneeze, Wave, Thanks)

They do what they say. Smile Just the long way to go about it. It is worth looking at the source code to see how these commands are formed, and seeing how the command is made. 

]Avatar.Spawn.Respawn

Takes you to the start point. In case you can't fly there.

]App.Quit

Guess what happens? Wink

Obviously there are more interesting commands, but I think these are good for first steps.
avatar
EdisonRex

Messages : 2
Date d'inscription : 2013-06-19
Age : 57
Localisation : London UK

Back to top Go down

Re: Plasma Console

Post  Mister Magic on Sun 30 Jun 2013 - 9:52

daccord Thank you EdisonRex for your first reply.
This is a picture of what you see if you send command
]Graphics.Show.Physicals



Invisible walls in Eder Tsogal  in yellow color.
 
Other commands for avatars.

Suppose avatar A with #KiA and avatar B with #KiB (where #Ki is the Ki number of the avatar) are in the same age but not at the same place.

A send the following Plasma command:

]Avatar.Warp.WarpPlayerHere #kiB

A call B exactly to its position.

Now if A wants to go to the same position as B, A send the command:

] Avatar.Warp.WarpToPlayer #kiB

This is the reverse command of the previous one. Here, the avatar that launches the command will join the avatar with #Id.

] Avatar.Spawn.DontPanic

Using this command, I suggest you start at the beginning, if your avatar falls into the panic zone, it will not return to Relto but at the last point of contact of the age where he is connected.

] Avatar.Spawn.go #

This command is used to teleport your avatar to a particular point of age where # is a number .
Every age has several points of teleportation. These are numbered starting from 0 in increments of 1. Their numbers vary from one age to another. Thus, in the city, there are more than 30 points teleportation that I recommend you visit as some are unusual for a player Moula, as the roof of the library, for example.
If you know the numbers of teleport spots then use this command.

You can see the list of teleportation by typing the command:
] Avatar.Spawn.Show

To go to the next point, type:

] Avatar.Spawn.Next

To go to previous, type:

] Avatar.Spawn.Previous

_________________
Mister Magic #19032, Magic Bot 27527, Mimi Bot 71459, Game Master 26224, Magic-Treasure 24891, Mimi Treasure 21190
avatar
Mister Magic
Admin
Admin

Messages : 1301
KI# KI# : 19032. Mimibot:71459, Magicbot:27527,Game Master:26224,Magic-Treasure:24891,Mimi Treasure:21190
Date d'inscription : 2013-02-05
Age : 62
Localisation : Belgique

http://magicworlds.actifforum.com

Back to top Go down

Re: Plasma Console

Post  AlanD on Sun 30 Jun 2013 - 14:53

Thank you very much for this, Michel and Edison.

About keyboards:  US QWERTY and UK QWERTY are different :)and the UK QWERTY has an extra key on the third row.

So the US keyboard uses the '/" key next to the Carriage Return/Enter key to bring up the Plasma console.

http://upload.wikimedia.org/wikipedia/commons/5/51/KB_United_States-NoAltGr.svg





The UK QWERTY keyboard has an extra key inserted.  The key to bring up the Plasma console is still the apostrophe key, '/@ on my keyboard

http://upload.wikimedia.org/wikipedia/commons/d/da/KB_United_Kingdom.svg




On AZERTY, the ù/% is in the corresponding position

http://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Azerty_fr.svg/1000px-Azerty_fr.svg.png



On the QWERTZ keyboard the corresponding key should be ä/Ä
Edit by Debe: don't ask me why, but actually it is the ö - right next to it.
http://upload.wikimedia.org/wikipedia/commons/3/36/KB_Germany.svg

I hope this is some use to those with different keyboards Smile
avatar
AlanD
novice
novice

Messages : 23
Date d'inscription : 2013-02-12
Localisation : UK: Now with added Magic :)

Back to top Go down

Re: Plasma Console

Post  Mister Magic on Sun 30 Jun 2013 - 16:44

I use a AZERTY keybord.
This is how I open Plasma console and Python.
Remember that you must first open the Plasma Console before the Python Console cyclops 


_________________
Mister Magic #19032, Magic Bot 27527, Mimi Bot 71459, Game Master 26224, Magic-Treasure 24891, Mimi Treasure 21190
avatar
Mister Magic
Admin
Admin

Messages : 1301
KI# KI# : 19032. Mimibot:71459, Magicbot:27527,Game Master:26224,Magic-Treasure:24891,Mimi Treasure:21190
Date d'inscription : 2013-02-05
Age : 62
Localisation : Belgique

http://magicworlds.actifforum.com

Back to top Go down

Re: Plasma Console

Post  Mister Magic on Fri 7 Apr 2017 - 22:58

Miraak wrote:does anyone know the command to enable the left lever of ercana havrester...

First,Go in your Ercana age.
Open Plasma console.
To enable the left lever of the harvester in plasma console:

]Age.SetSDLInt ercaHrvstrWingsOk 1 0

 Exclamation case sensitive !

to disable it:


]Age.SetSDLInt ercaHrvstrWingsOk 0 0


... and how to costomize the hood ?

A good way to customize the hood is to change SDL values of that age exactly with the same command as above.
Open the file  Neighborhood.sdl in the directory SDL of your plclient installation with your favorite text editor.
At the end of that file, you can see the latest version :

STATEDESC Neighborhood
{
VERSION 33

followed by all the SDL variables of the neighborhood.

You can see the default values of the SDL variables.
If you want modify an integer (or byte) SDL variable with plasma console, use the command:

]Age.SetSDLInt variablename integervalue

where variablename is the name of the SDL variable you want to modify
attention the case is senitive for the variable name

If you want modify a boolean SDL variable with plasma console, use the command:

]Age.SetSDLBool variablename 1 0 to enable it 
]Age.SetSDLBool variablename 0 0 to desable it 

If you want modify a float SDL variable with plasma console, use the command:

]Age.SetSDLFloat variablename floatvalue


For exemple, if you want to see the webcam on the plaza of the hood : 

]Age.SetSDLBool nb01WebCamVis 1 0


alien

_________________
Mister Magic #19032, Magic Bot 27527, Mimi Bot 71459, Game Master 26224, Magic-Treasure 24891, Mimi Treasure 21190
avatar
Mister Magic
Admin
Admin

Messages : 1301
KI# KI# : 19032. Mimibot:71459, Magicbot:27527,Game Master:26224,Magic-Treasure:24891,Mimi Treasure:21190
Date d'inscription : 2013-02-05
Age : 62
Localisation : Belgique

http://magicworlds.actifforum.com

Back to top Go down

Re: Plasma Console

Post  Grape on Sat 8 Apr 2017 - 8:50

Plasma Console

Japanese Keyboard


Ctrl + @key




Grape  daccord
avatar
Grape
GrandMaster
GrandMaster

Messages : 117
Date d'inscription : 2015-05-06
Age : 20
Localisation : Tokyo, Japan

Back to top Go down

Re: Plasma Console

Post  Miraak on Sat 8 Apr 2017 - 11:56

thx for your reply mister magic Smile
i also find how to do that in the python console

Miraak

Messages : 7
Date d'inscription : 2017-03-27

Back to top Go down

Re: Plasma Console

Post  Toki on Sat 8 Apr 2017 - 21:57

Shorah

Mister Magic wrote:First,Go in your Ercana age.
Open Plasma console.
To enable the left lever of the harvester in plasma console:

]Age.SetSDLInt ercaHrvstrWingsOk 1 0

  case sensitive !

to disable it:
]Age.SetSDLInt ercaHrvstrWingsOk 0 0
[/quote]




I tried this.
Can you see that a wing opens?







I have a question.

Was it necessary to come back to Relto once, to make "disable" after "enable"?

Toki
avatar
Toki
GrandMaster
GrandMaster

Messages : 188
Date d'inscription : 2014-02-02
Age : 54
Localisation : Tokyo, Japan

Back to top Go down

Re: Plasma Console

Post  Mister Magic on Sun 9 Apr 2017 - 10:42

It is not necessary to quit the age when you modify that sdl variable.
It takes effect immediately.

When ercaHrvstrWingsOk is on 1, the left lever is active. On 0 it is inactive. 

So, If the wings of the harvester are lowered and you set the variable ercaHrvstrWingsOk  to 0, then the left lever does not work and the wings remain deployed. You must first raise them before changing the variable to 0.

alien

_________________
Mister Magic #19032, Magic Bot 27527, Mimi Bot 71459, Game Master 26224, Magic-Treasure 24891, Mimi Treasure 21190
avatar
Mister Magic
Admin
Admin

Messages : 1301
KI# KI# : 19032. Mimibot:71459, Magicbot:27527,Game Master:26224,Magic-Treasure:24891,Mimi Treasure:21190
Date d'inscription : 2013-02-05
Age : 62
Localisation : Belgique

http://magicworlds.actifforum.com

Back to top Go down

Re: Plasma Console

Post  Miraak on Sun 9 Apr 2017 - 13:19

hi 
i tried to make the great shaft bahro appear in gahreesen like long time ago
so nostalgic Smile
so i use this code in python console (i prefer use the python console but i get the same problem in the plasma one): 
xCheat.SetSDL("grsnBahroStoneToShaftVis_1") and the support rock of the stone appear but not the stone


it's a bug ? or the stone not exist anymore ?
because in uru cc if i put this variable at 1 the stone appear

PS: how can i make the clothing that i get with magic like sharper hat, maitainer outfit... appear in my relto closet ?

Miraak

Messages : 7
Date d'inscription : 2017-03-27

Back to top Go down

Re: Plasma Console

Post  Mister Magic on Sun 9 Apr 2017 - 21:29

Miraak wrote:hi 
i tried to make the great shaft bahro appear in gahreesen like long time ago
so nostalgic 
so i use this code in python console (i prefer use the python console but i get the same problem in the plasma one): 
xCheat.SetSDL("grsnBahroStoneToShaftVis_1") and the support rock of the stone appear but not the stone


it's a bug ? or the stone not exist anymore ?
because in uru cc if i put this variable at 1 the stone appear

The bahro stone doesn't existe in the .prp files of Gahreesen in Uru live, that's why you can't see it even with the SetSDL command.
It exists in Uru CC prp files.

how can i make the clothing that i get with magic like sharper hat, maitainer outfit... appear in my relto closet ?

The script that insert clothing in the closet include some (as Sharper hat) but not all of them( maintainer suit, for exemple). If you can't see them in your closet it is not possible to add them.

in the other hand, if you want ask a question about Python, use the specific treat here: PYTHON CONSOLE
alien

_________________
Mister Magic #19032, Magic Bot 27527, Mimi Bot 71459, Game Master 26224, Magic-Treasure 24891, Mimi Treasure 21190
avatar
Mister Magic
Admin
Admin

Messages : 1301
KI# KI# : 19032. Mimibot:71459, Magicbot:27527,Game Master:26224,Magic-Treasure:24891,Mimi Treasure:21190
Date d'inscription : 2013-02-05
Age : 62
Localisation : Belgique

http://magicworlds.actifforum.com

Back to top Go down

Re: Plasma Console

Post  Miraak on Tue 11 Apr 2017 - 20:04

i have some trouble to find this script for the sharper hat Smile

ps: i tried to customize my private hood, these sdl variable always reset if i modify them after i exit and come back in the hood, the other one work fine but these one always reset
i think its because these one are randomized when we create the hood so i think the server reset them
can we "force" them to keep the value we choose ?

# Neighborhood Customization options #

    VAR BOOL    nb01BeachBallVis[1]          DEFAULT=1 DEFAULTOPTION=VAULT
    VAR BOOL    nb01ClockVis[1]              DEFAULT=0 DEFAULTOPTION=VAULT
    VAR BOOL    nb01GardenFungusVis[1]       DEFAULT=0 DEFAULTOPTION=VAULT
    VAR BOOL    nb01GardenLightsVis[1]       DEFAULT=1 DEFAULTOPTION=VAULT
    VAR BOOL    nb01DestructionCracksVis[1]  DEFAULT=1 DEFAULTOPTION=VAULT
    VAR BOOL    nb01LanternsVis[1]           DEFAULT=0 DEFAULTOPTION=VAULT
    VAR BOOL    nb01LampOption01Vis[1]       DEFAULT=1 DEFAULTOPTION=VAULT
    VAR BOOL    nb01OldImager01Vis[1]        DEFAULT=1 DEFAULTOPTION=VAULT
    VAR BOOL    nb01OldImager02Vis[1]        DEFAULT=1 DEFAULTOPTION=VAULT
    VAR BOOL    nb01WaterfallTorchesVis[1]   DEFAULT=1 DEFAULTOPTION=VAULT
    VAR BOOL    nb01ResidenceAdditionsVis[1] DEFAULT=1 DEFAULTOPTION=VAULT

    VAR BYTE    nb01StainedWindowOption[1]   DEFAULT=0 DEFAULTOPTION=VAULT
    VAR BYTE    nb01StainedGlassEders[1]   DEFAULT=0 DEFAULTOPTION=VAULT
    VAR BYTE    nb01StainedGlassGZ[1]   DEFAULT=0 DEFAULTOPTION=VAULT

Miraak

Messages : 7
Date d'inscription : 2017-03-27

Back to top Go down

Re: Plasma Console

Post  Mister Magic on Wed 12 Apr 2017 - 14:16

Miraak wrote:i have some trouble to find this script for the sharper hat Smile

can we "force" them to keep the value we choose ?
The Sharper Hat is in your wardrobe in PLClient.

No, it is impossible to force the values. They are reset with their default random value when your hood is created.
So, the best thing to do is to restore your sdl values with a Python script. It it what I do with the Magic hood  Wink

alien

_________________
Mister Magic #19032, Magic Bot 27527, Mimi Bot 71459, Game Master 26224, Magic-Treasure 24891, Mimi Treasure 21190
avatar
Mister Magic
Admin
Admin

Messages : 1301
KI# KI# : 19032. Mimibot:71459, Magicbot:27527,Game Master:26224,Magic-Treasure:24891,Mimi Treasure:21190
Date d'inscription : 2013-02-05
Age : 62
Localisation : Belgique

http://magicworlds.actifforum.com

Back to top Go down

Re: Plasma Console

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum