Big-Blue's basic E2's
Yeah, that's my thread for the basic E2's. Just look through and leave commands and critic =D
Text-Controlled Cloaker:
I made this script for fun, weld all props to be cloaked to 1 prop, and then attach the E2 to the prop. To cloak say "!cloak" in chat, to uncloak "!uncloak"... Simple, eh?
OPS: very low (1-5)
[highlight="E2"]
@name TextCloaking Device - by Big-Blue
@persist Con:array
interval(60000)
runOnChat(1)
Con = entity():isWeldedTo():getConstraints()
if(chatClk(owner())){
Command = owner():lastSaid()
if(Command == "!cloak"){
hideChat(1)
for(I = 1, Con:count()){
entity():isWeldedTo():isConstrainedTo(I):setAlpha( 0)
}
entity():isWeldedTo():setAlpha(0)
}
if(Command == "!uncloak"){
hideChat(1)
for(I = 1, Con:count()){
entity():isWeldedTo():isConstrainedTo(I):setAlpha( 255)
}
entity():isWeldedTo():setAlpha(255)
}
}
[/highlight]
Random Colorer:
Another thing I made for fun, when its activated with "-color on" it changes your material to a blank (debug) material and colors you and your weapon with different random colors 20 times a second.
OPS: low 25 in idle, 35 while coloring
[highlight="E2"]
@name Random Colorer - by Big-Blue
@persist Mode
@model models/jaanus/wiretool/wiretool_range.mdl
interval(50)
runOnChat(1)
if(first() | duped()){
Party = 0
}
if(chatClk(owner())){
F = owner():lastSaid():explode(" "):string(1)
S = owner():lastSaid():explode(" "):string(2)
if(F == "-color"){
hideChat(1)
if(S == "off"){
Mode = 0
owner():setMaterial("")
owner():weapon():setMaterial("")
owner():weapon():setColor(255,255,255)
owner():setColor(255,255,255)
}
if(F == "on"){
Mode = 1
owner():setMaterial("models/debug/debugwhite")
owner():weapon():setMaterial("models/debug/debugwhite")
}
}
}
if(Mode){
owner():setColor(randint(0,255),randint(0,255),ran dint(0,255))
owner():weapon():setColor(randint(0,255),randint(0 ,255),randint(0,255))
}
[/highlight]
I made lots of more E2's, but they are messy or just not for public use / too simple.
So, please comment ;D
Blue
Bookmarks