| Blockland Forums > General Discussion |
| Console Commands (repost) and Events |
| (1/1) |
| 300spartan:
The other topic was too old. So, now I'm not a quad-posting newb. On topic: The <bitmap:[filepath]> won't work. --- Quote from: 300spartan on July 15, 2010, 02:07:18 PM ---What does Radius Impulse do? --- End quote --- |
| Julius The 1st:
Radius impulse is KIND OF like add/setvelocity events but works on everybody in the area of the brick instead of just the person touching the brick. |
| mp7964:
i got some console commands from that topic from like 09 or something :D here they are _____________________________ _____________________________ _______ CONSOLE COMMAND SCRIPTS Change Scale findClientByName("YourName").player.setPlayerScale("# # #"); should do player scale. (Replace # with the scale size.) _____________________________ _____________________________ ______ Mount a Player onto an object....or vice versa? Look at something considered AI, type /getid, and then in the console type Findclientbyname("Yourname").player.mountobject(ObjectID,Nodenumber1-9); replacing objectID with the number you get from the slash command and nodenumber1-9 with a number to denote what body node to choose. This will mount the zombie/tank turret/other to your player. _____________________________ _____________________________ __ Control a vehicle Name the vehicle spawn v localClientConnection.setCont rolObject(_v.vehicle); Bam, you control that vehicle. To fix, hit f7 or type localClientConnection.setCont rolObject(localclientconnection.player); _____________________________ _____________________________ __________ Delete a Player findclientbyname("Name").player.delete(); _____________________________ _____________________________ _________ Have yet to know what this does.... commandToClient(findClientByName("Name"),'doupdates'); _____________________________ _____________________________ ________ Mount a Player onto an Object findClientByName("Name").player.mountObject("ObjectID", #); #= Node number. (0-7 I think.) To get an object's ID, face it and say /getid. _____________________________ _____________________________ ____________ Make Somebody say something ServerCmdMessageSent (FindClientByName("MoogleBoss"), "I suck"); _____________________________ _____________________________ _______ Make someone die ServercmdSelf Delete(findclientbyname("name")); _____________________________ _____________________________ ________ Change a person's data black Ex: Horse, leapjet player findclientbyname("name").player.changedatablock("playerstandardarmor"); _____________________________ _____________________________ ____________ Make Yourself Super Admin findClientByBL_ID(7964).isSuperAdmin=1; _____________________________ _____________________________ _____ Make an object mount another object (How many times have we done this??? ObjectID.mountobject.(ObjectID,NodeNumber0-9); _____________________________ _____________________________ __ Give an Objest a different Scale ObjectID.setPlayerScale.("# # #"); _____________________________ _____________________________ ______ Change a Person's Data Block findclientbyname("personsname").player.changedatablock("HorseArmor"); _____________________________ _____________________________ __________ DO IT YOURSELF! findClientByName("Truce"). (Targets a client whose name you type in) findClientByName("Truce").player. (Targets a player whose name you type in) _SomeBrick. (Targets a brick; the brick's name is "SomeBrick", put "_" before it) Then you just put a client, player, or self event after it, like so: findClientByName("Truce").chatMessage("Hello World!"); findClientByName("Truce").player.addVelocity("0 0 10"); _SomeBrick.disappear(5); Easy, right? For a list of the events, just open up the wrench events menu on a brick! Here, you post all of the console commands you know and what they do. Check the list first to see if someone submitted it already: The list flushtexturecache(); -fixes when you get random lines flying out from bricks. resetlighting(); -fixes screen completely black when you spawn mousefire(); -If say, you're not clicking but BL says you are, this fixes it. jet(); -If you're not jetting but the game says you are, this fixes that. talk ("Hello!"); lets you talk as the console. Donations MrCookie: quit(); -quits Blockland. zoneark: crash(); -gives you an error message saying Blockland has encountered a problem and needs to close. Captain Blue: deletedatablocks(); -deletes datablocks, very bad. Kalphiter: dumpConsoleClasses(); dumpConsoleFunctions(); -Shows what the console does, causes massive console spam. vehicleDB.maxWheelSpeed = x; -changes max wheel speed of vehicles findClientByName("name").isAdmin = 1; -Makes someone admin silently. Froby: crouch(); - fixes crouch jump(); - fixes jump explodeclock(); -explodes the clock in Bedroom. Regulith:Findclientbyname(name).player.mountobject(ObjectID,Nodenumber); -Mounts Object to player findClientByName("Name").player.setPlayerScale("# # #"); -changes size of a player/ commandtoserver('ban',0,ID,Time,"Multiple Word Reason"); -bans someone serverConnection.chaseCam(delay); -makes camera lag behind you ServerCmdMessageSent(FindClientByName("name"),"Message"); -talk as someone else commandToClient(findClientByName("Name"),'doupdates'); -makes someone leave and start auto-updater localClientConnection.setCont rolObject(_vehiclespawnname.vehicle); -lets you control a vehicle findclientbyname("name").player.changedatablock("datablock"); -change someone's datablock (ex. turn them into a horse) findclientbyname(Name).player.delete(); -deletes a player, all he can do is talk. ServercmdSelf Delete(findclientbyname("name")); -kills someone ObjectID.dismount(); -unmounts something ObjectID.mountobject(ObjectD,0); -mounts something to something else ObjectID.setPlayerScale.("# # #"); -changes object's size Note: to get an object's ID, look at it and type /getID. Xia the Ninja: announce(); (Chat message in yellow) -makes some chat that everyone sees getNonsense(); -crashes game [weapon here]image.projectile = [projectile name here]projectile; -makes a gun shoot something different (ex. Minigun shooting speed + Rocket launcher projectile = lag!) Gamefandan: echo(Put what you want to echo here.); - When you press enter, it will say it in the console. turnright(); - Makes you spin right. turnleft(); - Makes you spin left. commandtoserver('messagesent',"LOLOL YUR MESSAGE GOES HERE! :D"); - Congrats, you sent a chat message. echo(mPow(7,9)); - Echos 7 to the power of nine. echo(mSqrt(4)); - Echos the square root of 4. echo(1+1); - Echos what 1+1 equals. echo(1-1); - Echos what 1-1 equals. serverConnection.chasecam(-1); -crashes Blockland Maor: buildwall(); -Makes you build a wall Tingalz: buildfloor2(); -makes you build a floor. buildconfetti(); -makes you build confetti. serverConnection.chasecam(<number>); -makes the camers delay in following you. Tokerovin: chuckNorris(); -lets you put a brick inside another brick (i doubt this one somehow) Plornt: bottomprintall(); messageall('',""); chatmessageall(); centerprintall(); -all are self-explanatory. Chrono : while(true){} -crashes your computer. for(%admin=true;true;%adminlevel++){giveAdmin(%adminpassword);} -crashes Blockland. liliboarder32: function f(){schedule(100,0,F);scrolltools(-1);scrolltools(1);} -Lets you fire weapons really fast function f(){} -To turn it off %bg = findClientByName("enterNameHere").brickGroup; for(%i=0;%i<%bg.getCount();%i++){%bg.getObject(%i).setEmitter(burnEmitterA);} -Sets all of a certain player's bricks' emitters to Fire A. %bot = new aiPlayer(%name){datablock=playerStandardArmor; position=findClientByName("enterNameHere").player.getPosition();}; -Spawns a bot at a players position. Cwitchy: clientcmdtimescale("Number Here"); - changes speed of your timescale ObjectIDHere.setscale("# # #"); - Changes size of whatever the ID is. Captian Crazy: Gunimage.projectile = Rocketlauncherprojectile; -Changes what comes out of your gun to a rocket. Xerces: tree(); -opens up a simplified mission editor, but everything is numbers. IceBlue: findclientbyname(name).player.hidenode("node"); - Makes a player's body part disappear Alphadin: changemap("[NAME]"); Changes the map CrazyGoodDude: for(%i=0;%i<BrickGroup_XXXX.getCount();%i++) { BrickGroup_XXXX.getObject(%i).fakeKillBrick("0 0 0",60); } // fill in the X's with your BLID -Fakekills all your bricks e(ADDON NAME HERE);transmitDataBlocks(); clientCmdMissionStartPhase3(); // Do it in the order I got it in!! // This will force load an add-on you have in your folder, careful if a player does not have this add-on it will crash them from your game Deep2: flushnamespacecache(); -Flushes your namespace if you mess up a parent. setDefaultFOV("# # #"); -Sets your default Field of Vision. setDefaultFOV("100 100 100"); -To change it back to default. messageall('MsgAdminForce', "\c2PersonsName has become Super Admin (Auto)"); - Fake Admins someone. superlolman: <ID>.delete(); -deletes the brick with that ID. buildstairs(); -Builds stairs Sonicfan574: canvas.pushDialog(GUI_Name); -opens a GUI. Harm94: Jump(1); -Endless jumping Evar678: findclientbyname(NameHere).setcontrolobject(objectidhere); -Makes you control whatever ID you put in. Orthone: for(%i=0;%i <brickgroup_8038.getcount();%i++)brickgroup_6726.getobject(%i).setcolor(getrandom(0,30)); -Change the red to your BL_ID. It changes all of your bricks to a random color from 0 - 30 in your paintset. Xc: vehiclenamevehicle.forwardthr ust=99999; -makes a vehicle go fast foward vehiclenamevehicle.backwardth rust= # ; (or reversethrust) vehiclenamevehicle.yawforce= # ; vehiclenamevehicle.rollforce= # ; vehiclenamevehicle.pitchforce= # ; - all change stuff with a vehicle Mr.Bob00: ObjectID.setShapeName("Name here"); - sets a vehicle's name |
| redoctober2009:
listclients(); --gives a list of everyone on your server, along with their BL_ID and ping. ---------------------------- (vehicle here)vehicle.defaulttire = (vehicle here)tire; exp: jeepvehicle.defaulttire = longhorntire; --makes the jeep have the tires of a longhorn. ---------------------------- (vehicle here).maxwheelspeed = (value here); exp: jeepvehicle.maxwheelspeed = 1000; --makes the jeep go really fast ---------------------------- findclientbyname("playername").player.moveToBrick("brickname"); exp: findclientbyname("Redoctober2009").player.moveToBrick("Bricky"); --teleports the player to the specified brick ---------------------------- |
| Raeyok:
findClientByName("name").delete("message"); Equivalent to kicking a player from the server, minus the "SoAndSo kicked SuchAndSuch (ID:#####)." |
| Navigation |
| Message Index |