1st script, check it out?

Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: 1st script, check it out?

Post by Nicdel »

I'd ban them anyways.
Ingame: -[SaD]- Nico

Image
Demon
Server Admin
Posts: 3161
Joined: Tue Nov 15, 2011 6:30 am

Re: 1st script, check it out?

Post by Demon »

Nicdel wrote:I'd ban them anyways.
Yep, that's what some admin's do so that's why I though it was a rule, an admin's word is the law.
Anonymous

Re: 1st script, check it out?

Post by Anonymous »

This is going to be pretty much, so I'll put it in a spoiler
Spoiler
Show
A script I made earlier for you to use, it is a rainbow trail:
http://www.mediafire.com/?o3guq34ltyj7v9o
Epic fail no. 1
SaD. Heard of it?
ent_fire - A command which can allow you to give scripts properties.
Epic fail no. 2

entity properties, not script properties!
Key Value - A key value which tells the entity to change the entities properties
Value - A number(s) or word(s) which tells the entity to do the key value within this value.
Epic fail no. 3

"Key Value" & "Value" are NOT commands.
wait <Ammount> - Wait commmand allows to make something happen after a certain time. (100 - 1 sec)
Epic fail no. 4

100-1 sec? WTF? Well, it made me lol.
kill - Delete's the entity.
Epic fail no. 5

"kill" kills yourself. Actually "ent_fire <targetname> kill" deletes the entity.
Input - Inputs are commands that cause an entity to change what it is doing.
Output - Outputs are events that fire when an entity's state changes.
Epic fail no. 6

Input/Output are NOT commands. omfg. And the "description" of Input is wrong as well. "change what it is doing". Holy cow.
You can add as much "Addoutput's" as you want.
Anything with <...> must be filled in (Do not include <> but do include "")
ent_create <Name of Entity>
ent_fire <Name of Entity> addoutput "targetname <New name the entity>"
ent_fire <New name of Entity> addoutput "Key Value"
ent_fire <New name of Entity> <Input>
Epic fail no. 6

Actually you can also add as MANY (not much, omfg) inputs as you want. But this is also kinda wrong, because there's no entity that has infinite inputs and keyvalues.
wait <Ammount of time>;
Amount of time? Seconds? Years? Minutes?
Open up "Sour ce SDK", open "Hammer Editor"
*Source

lol.
Click file, new, [...blabla bullshit bla] Click the "Selection To [more bullshit] nd hit apply.
Well, nice try, but you won't find out the keyvalues of brush entities with this.
out the "Input's" and "Output's" of your entity click the "Help" button next to "Smart Edit" and
*Inputs *Outputs
To open up a console press the button ` or ~ (The button under "esc")
*key *below

All in all this tutorial sucks, not just because I don't like it, but because it sucks. Many things are explained wrong and aren't useful for newbies.
Also you're new into scripting and shouldn't make a tutorial if you don't even know much about it. It was a nice try, but you gonna learn about your faults.

Don't take words like "epic fail" or "made me lol" too personal.

Over and out fuck off and i hate you all

your beloved Stefan

I still hate y'all

PS: The .docx-file of this tutorial (Demon's file is a .pdf file, sucks pretty much CLICK HERE
Last edited by Stefan on Sat Mar 31, 2012 4:09 pm, edited 1 time in total.
Jack
Former Server Admin
Posts: 1251
Joined: Fri Apr 09, 2010 4:01 pm
Location: Norway, Oslo

Re: 1st script, check it out?

Post by Jack »

Nicdel wrote:I'd ban them anyways.

And then they all come here and spam the forum down with unban requests.... good idea :/
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: 1st script, check it out?

Post by Nicdel »

Jack wrote:
Nicdel wrote:I'd ban them anyways.

And then they all come here and spam the forum down with unban requests.... good idea :/
Naw, usually not a permban.
Ingame: -[SaD]- Nico

Image
User avatar
Bob1337
Server Admin
Posts: 542
Joined: Fri Apr 09, 2010 10:02 pm

Re: 1st script, check it out?

Post by Bob1337 »

If you want a proper tutorial, click my sig when sapphiremands is back up.
Please dont ask me how to script.
Instead, click this.
Btw; I'm an asshole to idiots.
Bob1337 wrote:Explosive buddha killers. That shit is gay.
User avatar
shadowslayer
1000+ Posts
1000+ Posts
Posts: 1280
Joined: Fri Sep 03, 2010 8:51 pm

Re: 1st script, check it out?

Post by shadowslayer »

Nicdel wrote:
Jack wrote:
Nicdel wrote:I'd ban them anyways.

And then they all come here and spam the forum down with unban requests.... good idea :/
Naw, usually not a permban.
Yeah but newbies will still complain about it.
Spoiler
Show
Saying "Your lucky i'm peaceful" is pretty much like saying "when i grow up i wanna be an arms race!"-HL2shadowslayer, Area 51 Minecraft
Imagethe only reason you shouldnt mess with me
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: 1st script, check it out?

Post by Nicdel »

Bob1337 wrote:If you want a proper tutorial, click my sig when sapphiremands is back up.
See you in 10 years.
Ingame: -[SaD]- Nico

Image
User avatar
fire1000678
750+ Posts
750+ Posts
Posts: 930
Joined: Fri Feb 03, 2012 8:10 pm

Re: 1st script, check it out?

Post by fire1000678 »

Well, scripting is impossible XD
Spoiler
Show
Image
上手ですか?

Image

"Just as the tree and the earth need each other for life, so is the body and the soul, for without the other, one is nothing."

Ingame Name: [GR]人生Positively Shinobi{A}
Ryan
Former Server Admin
Posts: 1163
Joined: Fri Apr 23, 2010 2:56 am
Location: United Kingdom

Re: 1st script, check it out?

Post by Ryan »

Bob1337 wrote:If you want a proper tutorial, click my sig when sapphiremands is back up.
If is ever does.
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: 1st script, check it out?

Post by ant_8490 »

Demon wrote:
[GR]doodleninja wrote:
Stefan wrote:SaD, check this out!
SaD??
SaD - Share and Die.
Don't share, download scripts or you will be banned from area51 cheatserver.
This isnt SaD... And im pretty sure it doesnt apply to this script.

Waits:
has to be like a timeline of events

Code: Select all

wait 5; Line 1
wait 5; Line 2
wait 5; Line 3
wait 5; Line 4
wait 5; Line 5
wait 10; Line 6
wait 10; Line 7
wait 10; Line 8
wait 10; Line 9
wait 15; Line 10
wait 15; Line 11
wait 15; Line 12
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
User avatar
fire1000678
750+ Posts
750+ Posts
Posts: 930
Joined: Fri Feb 03, 2012 8:10 pm

Re: 1st script, check it out?

Post by fire1000678 »

Oh, okay. Thanks. I'll be sure to make changes.
上手ですか?

Image

"Just as the tree and the earth need each other for life, so is the body and the soul, for without the other, one is nothing."

Ingame Name: [GR]人生Positively Shinobi{A}
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: 1st script, check it out?

Post by ant_8490 »

There's other problems too like:

Code: Select all

ent_fire env_fire addoutput "targetname fire_trail"
You didnt even create an env_fire
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: 1st script, check it out?

Post by Nicdel »

Timeline of events is a nice description for the new wait.
Ingame: -[SaD]- Nico

Image
User avatar
Xseba360
Server Admin
Posts: 1663
Joined: Sun Apr 11, 2010 12:26 pm
Location: Poland

Re: 1st script, check it out?

Post by Xseba360 »

the thing that wait 100; is 1sec or w/e is kinda wrong. It also depends on your fps. I always enable vsync (always 60 fps) when i spawn somethin or the spawn usualy fails.