AssaultCube - Forum
Scripts - Printable Version

+- AssaultCube - Forum (https://forum.cubers.net)
+-- Forum: AssaultCube (https://forum.cubers.net/forum-3.html)
+--- Forum: Mapping and Modding (https://forum.cubers.net/forum-11.html)
+--- Thread: Scripts (/thread-38.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41


RE: Scripts - Brett - 27 Jun 10

Very nice one nadier ;)
replaced the clown's one


RE: Scripts - V-Man - 30 Jun 10

Brett, I'm actually surprised the teamswitch script works for you -- I've written similar scripts and have tested them all on different machines, trying several different modifications of the scripts to try to accomplish this rapid forceteam concept. I've found that, somehow, the game prohibits multiple forceteam votes from being executed on the same script. However, GeneralDisarray and I looked at it, and haven't found the source code that describes this limitation.

I put my public scripts on Akimbo.


RE: Scripts - V-Man - 01 Jul 10

Heck, I probably ought to list my Akimbo posts.

Christmas Skins - CLA Santas and RVSF elves!
SkinSwitch - A disgustingly bulky and ugly way to swap out weapon model mods.
Assault Your Ears - A makeshift music player for AssaultCube.
Assault Your Ears barebones - The music player, without the songs I included.
AssaultCube Parental Controls - Allows a Windows administrator to block the use of AssaultCube.
V-Time (Time Script) - Notifies you of the time and how long you've been playing.
Rewind - Allows you to go back a certain amount of time in a demo, or skip to a specific Minutes Remaining mark.
Quote generator - Randomly selects a quote to display at each intermission.
Friends - Searches for multiple names or tags in the Server Browser.
RapidFire - Script used to capture screenshots in bursts for animations!
Rave - Changes light levels and fog colors to simulate a rave atmosphere!
Smooth Zoom - Zooms your FOV over time for a smooth effect (based on work by Gibstick and Kirin)
Server Browser Wrapper - Uses menus to make alternate connection options easier
Animated XHair - Simulates an animated crosshair!
FPS Booster - A menu intended to optimize your FPS. No guarantees!
pauseconline - Skips a console line each time a new one comes up, "pausing" the text console
tools.cfg - A consolidation of all the metascripting tools I've made. Will be updated as new tools are made.
My Personal Ladder v1.0 - Keeps track of stats!
Flag Countdown - Detects when the flag is dropped or lost and begins a 30-second countdown!
Sendalias - Share a script over in-game chat
Remote Control - Share your command prompt with another player.
Random Terrain/Map Generator - Starts a new map and randomly edits the terrain!
Heightfield Randomizer - Randomly edits a specified heightfield range
Nade Timer - A countdown timer displays for nade-cooking!
Menu Maker - A menu that can make OTHER MENUS!


RE: Scripts - a_slow_old_man - 01 Jul 10

(01 Jul 10, 06:48PM)DES|V-Man Wrote: Christmas Skins

I love this script xD


RE: Scripts - V-Man - 01 Jul 10

(01 Jul 10, 08:28PM)a_slow_old_man Wrote:
(01 Jul 10, 06:48PM)DES|V-Man Wrote: Christmas Skins

I love this script xD

:D
I love how I made the beard go over the gas mask snout, but you can still see the snout-shape at certain angles. XD


RE: Scripts - a_slow_old_man - 01 Jul 10

I tried to make a santa skin too once, but made the gasmask bump just all white xD


RE: Scripts - Viper - 03 Jul 10

Quote:I'm not familiar with CubeScript, so I'm no help in actually writing a script,
but...

Why not have it ask for a length of time to play? (Its 9 now and I want to be in bed by 1, so I'll give it 4 hours)

Then it's just a matter of a counter and when it hits 4 hours, GO TO BED!!!

This would work if CubeScript would facilitate such a script. As of now no commands exist (that I know of) that will allow for a time (that must be rotated based on a time that is checked when starting the program) to be entered.
(01 Jul 10, 06:48PM)DES|V-Man Wrote: AssaultCube Parental Controls - Allows a Windows administrator to block the use of AssaultCube.

Automatic - Allows for the automatic execution of CubeScripts and aliases.

FIRST IS EVIL!!!!!!!!!!!!!!

SECOND IS SORTA REDUNDANT CAUSE HE HAS A CONFIG ACCESS THINGY ALREADY SO HES BASICALLY CONTRADICTING HIMSELF! xD

lol.


RE: Scripts - V-Man - 03 Jul 10

LOL.
You should look at the automatic executor, to get a good idea of what it's really for. It differs from the config menu in that you don't have to consciously activate it via keybind or command.

As for the bedtime script: I made a script somewhere that tells you to go to bed... I found it kind of irritating, so I buried it under a rock.
But it is possible. Anyway, Flowtron made another one for this guy.
Basically the variables you're looking for are millis
/echo (millis)
and timestamp.
/echo (timestamp)
datestring can also be used.
/echo (datestring)



RE: Scripts - Viper - 03 Jul 10

When in doubt it's already been done by Flowtron.


RE: Scripts - Bukz - 06 Jul 10

TakeAdmin - the "lite" version of grenadier's claimadmin script. Get v2.0 of this script instead HERE. Bugfixed with an easier to understand example (I hope :p)

Easily claim admin status on multiple servers with different passwords - and as usual, it is easily bound to a key. :)


RE: Scripts - #M|A#Wolf - 06 Jul 10

I don't understand what I have to do with the script. Could you please publish a readme/doc with the steps? ty


RE: Scripts - Bukz - 06 Jul 10

Try opening the "INSTALL" file that comes with the package with any text editor - anyways I'll quote it here for you/others. :p

Quote:1. Open your autoexec.cfg (config/autoexec.cfg) with any text editor, notepad will do.
2. Copy and paste the following code at the bottom of the file:

exec config\admin_passwords.cfg

3. Save
4. Open the provided admin_passwords.cfg and edit it with your settings. (Theoretically there is no limit to the amount of servers/passwords you can have contained in this file.)
5. Save
6. Fire up AC, connect to any of the servers that you have passwords for in admin_passwords.cfg, press your takeadmin keybind or simply type /takeadmin, and get to admin'in! :D

See admin_passwords_example.cfg for more information.

Created by DES|Bukz
http://des-clan.net

Debug help from Gibstick. <3
http://raa-clan.comlu.com



RE: Scripts - Ronald_Reagan - 06 Jul 10

(01 Jul 10, 06:48PM)DES|V-Man Wrote: Heck, I probably ought to list my Akimbo posts.

Christmas Skins - CLA Santas and RVSF elves!

I used those christmas skins, then realized it wasn't going to work because I'm partially color blind.


RE: Scripts - #M|A#Wolf - 06 Jul 10

I have red - green and blue-purple


RE: Scripts - Ronald_Reagan - 06 Jul 10

Quote:I have red - green and blue-purple
Blue-purple? I thought it was Blue-Yellow.
I have a very slight red-green color blindness (Deuteranomaly, to be exact, m-cone reduced).
Not being able to tell the difference between purple and blue would come from the red-green, as purple is a mixture of red and blue. I think it would imply a red deficiency. I'm not sure.
For me it I have a harder time telling the difference when I dont have a long time looking at it, I can tell the difference when I have a second to see it, but really, with assault cube, a second is a lot to ask for.

(if you didn't notice, that was way too long of an explanation to explain my color blindness)


RE: Scripts - V-Man - 06 Jul 10

Hm, perhaps that's why you chose that pukey shade of green. :D


RE: Scripts - Ronald_Reagan - 06 Jul 10

I did? I'm sorry.


RE: Scripts - Bukz - 07 Jul 10

TakeAdmin v2.0 - A simple script for easily taking admin on multiple servers with different passwords with 1 command. (AKA the "lite" version of grenadier's claimadmin script.)

The update comes with a much more commented takeadmin_example.cfg, a fixed INSTALL.txt file, as well as some sloppy coding fixed up and this script is now running flawlessly and elegantly, as was originally planned.


RE: Scripts - V-Man - 07 Jul 10

Not to mention it does not store your admin passwords in saved.cfg -- Which could pose a hassle or security risk if you need to share your saved.cfg file for troubleshooting issues.


RE: Scripts - ActionGoose - 07 Jul 10

I lost my script for a hold scope with the q key. It worked by when i press q it would scope in, and when i release it would scope out. Anyone familiar with this one?


RE: Scripts - Gibstick - 07 Jul 10

bind Q [ if $editing [ domodifier 1 ] [ zoom 1; onrelease [ zoom 0 ] ] ]
I copy pasted all of that from scripts.cfg and resetbinds.cfg.


RE: Scripts - |FmC|Aqua_3m - 08 Jul 10

IS it possible to make a script so that if you hit someone with a sniper it automatically changes to the pistol?


RE: Scripts - Gibstick - 08 Jul 10

No. What you are saying is impossible to do. :)


RE: Scripts - #M|A#Wolf - 08 Jul 10

Brahma gave us a similar script last Christmas but now after many discussions the community decided that it was considered cheating. I don't want to explain more so just don't ask for the script and don't worry about it ;)


RE: Scripts - |FmC|Aqua_3m - 08 Jul 10

(08 Jul 10, 01:09AM)|BC|Wolf Wrote: Brahma gave us a similar script last Christmas but now after many discussions the community decided that it was considered cheating. I don't want to explain more so just don't ask for the script and don't worry about it ;)



ok :D


RE: Scripts - Lightning - 08 Jul 10

How about binding /ragequit to disconnect; say ARGHHH

(I know that's not correct, I want you guys to correct it.)


RE: Scripts - Gibstick - 08 Jul 10

ragequit = [say "ARGGHH!"; sleep 200 [disconnect]]
bind MOUSE1 [attack; if (= (alive) 0) [ragequit]]
You have to say "ARGGHH!" before you disconnect.


RE: Scripts - Lightning - 08 Jul 10

bind MOUSE1 [attack; if (= (alive) 0) [ragequit]]

That line seems suspicious


RE: Scripts - V-Man - 08 Jul 10

lol
it's common, believe it or not.


RE: Scripts - R4zor - 09 Jul 10

With all the people making a different attack button for each gun (wtf) it would probably work as well..