Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: Boblekonvolutt on January 19, 2008, 03:13:30 am

Title: Sandbox 1.7
Post by: Boblekonvolutt on January 19, 2008, 03:13:30 am
Script Name: Sandbox Mode 1.7
Script Description: Now with extra lameness!
Original Author: Boblekonvolutt
Core Version: 2.6.3

Really just bigger, better and somewhat more confusing.
Title: Re: Just Another Sandbox
Post by: Kavukamari on January 19, 2008, 01:28:15 pm
theres a little mistake in forceweaponing in the readme, you wrote "weaponhaxoring: /tele or /t" :P
then went on to say in the example: "example: /wep 7 16 13"

I'd say this is like CommandCrate, but its a bit different... Besides, I'm going to remake CC, so it'll be a lot different...

I like your number system, (ID's Slots and Flags) what's over 102? more slots?

Date Posted: January 19, 2008, 01:15:36 pm
btw, for your readpos spans, you could do

Code: [Select]
// Multiple
if sA <> '' then
if sA > iA then
for iC := iA to StrToInt(sA) do
DoTell(ID, 'X/Y of ' + IntToStr(iC) + ': ' + IntToStr(GetX(iC)) + '/' + IntToStr(GetY(iC)))
else if sA < iA then
for iC := iA downto StrToInt(sA) do
DoTell(ID, 'X/Y of ' + IntToStr(iC) + ': ' + IntToStr(GetX(iC)) + '/' + IntToStr(GetY(iC)));

using downto :)
Title: Re: Just Another Sandbox
Post by: Boblekonvolutt on January 21, 2008, 01:19:59 am
Yeah, it's a bit like CommandCrate in that it's exactly the same, but much simpler...

theres a little mistake in forceweaponing in the readme, you wrote "weaponhaxoring: /tele or /t" :P
then went on to say in the example: "example: /wep 7 16 13"
(*fixes*) I dunno what you're talking about, you crazy, crazy man.


Originally, the positions 103 - 199 were arrays of positions which you could edit yourself, but when I remade the GetX/GetY's for this version I made them return integers instead of arrays of integers. 0 (all players) would originally return an array. Now you have to call GetX/GetY multiple times instead. 200 - 204 returned an array of a teams players positions.

Now, however, it just goes to 102.



Date Posted: January 19, 2008, 10:23:24 pm
Hmm... I guess the main difference from CommandCrate is the position system which lets you quickly teleport players, spawn objects or nuke the living hell out of, any position ranging from player positions to user-defined slots or flags. The CommandCrate has no system to retrieve positions other than players. My code is also nicer... :D (even if I use them global vars...)
Title: Re: Just Another Sandbox
Post by: Kavukamari on January 21, 2008, 01:53:42 am
lol :P I'm remaking CommandCrate to hold variables to make command usage easier, I might also add my parameter checker script to make command use even easier :)

imagine:

/create -p12 -b4 -yv-5

I won't copy your pos system tho, however fun it might be to make a flaming flag *hint hint*
Title: Re: Sandbox 1.7
Post by: Boblekonvolutt on February 19, 2008, 08:44:15 pm
Alright, 1.6 is up...

Date Posted: January 23, 2008, 12:43:43 am
New version 1.6.1... Yay :D

Date Posted: January 25, 2008, 09:24:43 pm
O Canadaaaa our home and native laaaand....

(1.7 is up)
Title: Re: Sandbox 1.7
Post by: Thinkto urself on February 19, 2008, 09:31:41 pm
Does this include the famous /explode command from the DO servers that was used against my imposter? :D Does it come with a command txt. file?
Title: Re: Sandbox 1.7
Post by: Boblekonvolutt on February 19, 2008, 10:18:45 pm
I used /n + 2x /c (9 and 12) to blow him to pieces.

(Not sure what you mean with a command txt file)
Title: Re: Sandbox 1.7
Post by: frosty on March 12, 2008, 11:08:07 pm
i think he means a txt file with the commands that can be used
Title: Re: Sandbox 1.7
Post by: NinjaGimp369 on March 13, 2008, 03:45:28 am
Script Description: Now with extra lameness!

/Dances. I freakin' love Sandbox!
Title: Re: Sandbox 1.7
Post by: Boblekonvolutt on March 13, 2008, 09:33:06 am
i think he means a txt file with the commands that can be used
Well, it would be pretty useless without the commands...

(There's a readme somewhere in there)
Title: Re: Sandbox 1.7
Post by: Laser Guy on March 16, 2008, 06:58:41 am
Nice one Bob! Is it the one on the DO server?

Otherwies, I'm DLing it :D


And for people who can't find commands and such...


Sandbox Mode 1.7
 - by Boblekonvolutt

Command List
Would you like fries with that? (* = optional)


   Sandbox General
   Toggle on/off - /sandbox toggle 'ADMIN' / 'PLAYER'
   Load file - /fl FILENAME
   Reload Settings - /sandbox load *NAME
   Check Settings - /sandbox settings SETTING
   Spawn Object - /s POSITION OBJECT *OBJECT2 *OBJECT3
   Read Player/Position - /r POSITION
   Set a players weapons - /w PLAYER PRIMARY SECONDARY
   Make bot talk - /b BOT MESSAGE
   Damage player - /d PLAYER AMOUNT
   Create bullet - /c POSITION BULLET *VELX *VELY
   Nuke position - /n POSITION
   Swap teams - /swt PLAYER PLAYER
   Kill Flag - /f TEAM

   Slots and Teleporting
   Set slot to position - /l SLOT POSITION
   Set slot to X, Y - /xy SLOT X Y
   Add to slot X, Y - /e SLOT ADD_X ADD_Y
   Export slots - /ss FILENAME
   Teleport Player - /t PLAYER POSITION
   Swap positions - /swp PLAYER PLAYER

   Editing Scores
   Set player score - /ps PLAYER SCORE
   Set team score - /ts TEAM SCORE

   Weapon List
   Toggle weapon - /wlt WEAPON
   Import list - /wli FILENAME
   Export list - /wle FILENAME
   Read list - /wlr   

   Damage Masks
   Toggle on/off - /mtg
   Reset all masks - /mrs
   Set player mask - /mps PLAYER OUT IN
   Read player mask - /mpr PLAYER
   Set team mask - /mts TEAM OUT IN
   Read team mask - /mtr TEAM
   Set global mask - /mgs OUT IN
   Read global mask - /mgr
   Export masks - /mex FILENAME



Sandbox Mode 1.7
By Boblekonvolutt
Released Feb 20 2008

Lighten up? Light 'em up!
Legalize for president '08!
[/list]
Title: Re: Sandbox 1.7
Post by: Boblekonvolutt on March 16, 2008, 07:40:32 am
Nice one Bob! Is it the one on the DO server?

Otherwies, I'm DLing it :D
Well, the one on the server is ~kinda 1.7.1, I havent really finished it.