Drake Leet Scripter pl0x
Guest
|
Post by Drake Leet Scripter pl0x on Apr 8, 2009 10:27:29 GMT -5
Re-write all the angles in the Trigonometrystdlib.cs yourself! All in a script that takes a few lines and only takes a few seconds! o.O?
First execute Trigonometrystdlib.cs for the functions:
exec("Trigonometrystdlib.cs");
Then use this command: (May be able to type in console, I dunno I just used a map *.cs to put the command in)
function mathThingy(%op) { if(%op != "") { for(%i=0; %i < 361; %i++) { if(%op == "sin") { %sin[%i] = sin(%i); fileWrite("FancyNameHere.cs", append, "$sin" @ %i @ " = \"" @%sin[%i]@ "\";"); } else if(%op == "cos") { %cos[%i] = cos(%i); fileWrite("FancyNameHere.cs", append, "$cos" @ %i @ " = \"" @%cos[%i]@ "\";"); } else if(%op == "tan") { %tan[%i] = tan(%i); fileWrite("FancyNameHere.cs", append, "$tan" @ %i @ " = \"" @%tan[%i]@ "\";"); } else { echo("Invalid parameter. Only sin, cos or tan are acceptable."); return; } } } else { echo("Input a parameter. Acceptable parameters: sin, cos, tan"); } }
Another script discovered by the amazingly ...bored...Drake.
Honestly, I just wondered how anyone could take the time to write all the $sin and $cos variables that was in the Trigonometrystdlib.cs..then I realised that no one did take the time..at least that I think..and could've used a command similar to this. Ah ha! A shortcut = win.
Scripting is a little too easy for me now >.>...
|
|
|
Post by .)SD(. Angel-A on Apr 8, 2009 11:21:37 GMT -5
What does it do?
|
|
Drake Leet Scripter pl0x
Guest
|
Post by Drake Leet Scripter pl0x on Apr 8, 2009 14:32:41 GMT -5
If the following is familiar to you:
$sin0 = 0; $sin1 = 0.017452; $sin2 = 0.034899; $sin3 = 0.052335; $sin4 = 0.069756; $sin5 = 0.087156; $sin6 = 0.104528; $sin7 = 0.121869; $sin8 = 0.139173; $sin9 = 0.156434; $sin10 = 0.173648; $sin11 = 0.190809; $sin12 = 0.207912; $sin13 = 0.224951; $sin14 = 0.241922; $sin15 = 0.258819; $sin16 = 0.275637; $sin17 = 0.292372; $sin18 = 0.309017; $sin19 = 0.325568; ....
The command I typed out re-writes all this. Just me exploring and being bored with scripting. Muaha.
|
|
|
Post by .)SD(. Angel-A on Apr 8, 2009 16:41:43 GMT -5
You should make a script....
THAT MAKES COOKIES!!
btw, here's a joke for you ;p
How many Snows does it take to change a lightbulb?
None. He made a script for it.
|
|
|
Post by [-Trogan-] on Apr 8, 2009 17:56:23 GMT -5
hey drake can you mod the spiecal veh's to be allowed in the single player campaign like red pheniox did with his unleashed mod?
|
|
Drake Leet Scripter pl0x
Guest
|
Post by Drake Leet Scripter pl0x on Apr 9, 2009 9:03:40 GMT -5
Uber fail Angel. o.O
And...I can script cookies....*has munchies now*
|
|
Drake Leet Scripter pl0x
Guest
|
Post by Drake Leet Scripter pl0x on Apr 9, 2009 10:52:14 GMT -5
Did you know?
The Starsiege Bus has a hidden 2nd mount in the *.cs file? Uh huh. o.O
|
|
|
Post by .)SD(. Angel-A on Apr 9, 2009 11:15:37 GMT -5
Uber fail Angel. o.O And...I can script cookies....*has munchies now* Oh, well... I posted the light bulb joke on the old DWR forums and everyone thought it was funny...
|
|
|
Post by [-Trogan-] on Apr 9, 2009 12:34:44 GMT -5
hey umm drake can you modd the spiecal veh's for single player so that when you try to spawn with them that it actuilly lets you drop instead of just going with the loading screen forever???
|
|
|
Post by zyler3435 on Apr 14, 2009 13:39:17 GMT -5
FAIL
|
|
|
Post by sgtreynolds on May 14, 2009 18:10:55 GMT -5
FAIL EPIC FAIL üBER FAIL EPIC üBER FAIL
Think about it. A script that makes all names appear as the above. ;D
|
|