New to Scripting? **tutorial**

Napalm
250+ Posts
250+ Posts
Posts: 344
Joined: Sun Apr 11, 2010 1:48 am
Location: Louisiana

New to Scripting? **tutorial**

Post by Napalm »

Alot of new scripters (new ones) are ask the crap outta meh where do I pt the scripts......... so dis iz 4 u :D

first make sure its in notepad....I'll tell you how to run it at the end ^^

1: goto my computer

2: then next Local disk (C:)

3: Program files

4: Steam

5: Steamapps

6: den YOUR STEAM NAME

7: Half-life 2 deathmatch

8: HL2MP

Most important part | 9: CFG

SAVE YOUR SCRIPT FROM NOTEPAD INSIDE CFG FILE.
______________________________________________________________________

Running your new script ** make sure you did this right above**

Ok this is why you need to save it in notepad.

What ever you named it in notepad **|example|** bomb1.txt/ or bomb1.cfg

ok In hl2dm open your console with this button ~

Then what ever you named Your script in notepad for exp: bomb1.txt

________________________________________________________
exec bomb1.txt
_____________________________________________________
Thats how you run your script Feel free to add or edit this other incase I missed something........

If you really can't get it still just ask me in steam or ingame ^^ I play on both servers.

I hope this was really helpful to you ^^

If you want to add me in steam: http://steamcommunity.com/id/Napalm_bomb

-Napalm
Last edited by Napalm on Sat Aug 21, 2010 1:16 am, edited 1 time in total.
Oof.
Napalm
250+ Posts
250+ Posts
Posts: 344
Joined: Sun Apr 11, 2010 1:48 am
Location: Louisiana

Re: New to Scripting? **tutorial**

Post by Napalm »

Oh and If you got a script don't mean you can spam it :P dont be noobs............






*edit* I hope to make more tutorials like this in the future...
Oof.
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: New to Scripting? **tutorial**

Post by ant_8490 »

only thing to add is that saving scripts as a .cfg is easier since u dont have to the file extension in the console to execute it (like .txt).
Ex.
Save as: bomb.cfg
In console: exec bomb
[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
Napalm
250+ Posts
250+ Posts
Posts: 344
Joined: Sun Apr 11, 2010 1:48 am
Location: Louisiana

Re: New to Scripting? **tutorial**

Post by Napalm »

Yeah :D
Oof.
Jack
Former Server Admin
Posts: 1251
Joined: Fri Apr 09, 2010 4:01 pm
Location: Norway, Oslo

Re: New to Scripting? **tutorial**

Post by Jack »

LOL, next time someone ask how to script i gonna send this tutorial..
Napalm
250+ Posts
250+ Posts
Posts: 344
Joined: Sun Apr 11, 2010 1:48 am
Location: Louisiana

Re: New to Scripting? **tutorial**

Post by Napalm »

hahahaahah cool :P
Oof.
User avatar
shadowslayer
1000+ Posts
1000+ Posts
Posts: 1280
Joined: Fri Sep 03, 2010 8:51 pm

Re: New to Scripting? **tutorial**

Post by shadowslayer »

so tahts why i couldnt script, [learning to script may not be a good idea for me, though, because im always accused of stuff, and the only thing proving me innovent is taht i dont know how to script.]
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