[Source 1] Hammer Tutorial V2 Series #29 "Introduction to VScripting"

Поділитися
Вставка
  • Опубліковано 3 лют 2025

КОМЕНТАРІ • 107

  • @TheRedTurtlez
    @TheRedTurtlez 3 роки тому +53

    Holy shit, he's still going

  • @sasanekpl1130
    @sasanekpl1130 3 роки тому +72

    After 13 years, he's still going! Respect

  • @sbalazstibor
    @sbalazstibor 3 роки тому +17

    He risen on the third day!!!! Glooooory my people! Theres a legend among us!

  • @mathiasbuhl5604
    @mathiasbuhl5604 2 роки тому +32

    2:56 hello world and writing in console
    5:45 learning variables
    6:52 manipulate a player (turning around player)
    11:00 adding force to player
    12:26 adding randomness
    15:06 jump pad
    17:02 jump pad with limited tries
    20:23 player spawning with 150 health
    23:07 coloring chickens
    26:53 blowing up chickens
    29:35 healing the player
    33:31 last thing, giving the player a random weapon

  • @MrNNumbers
    @MrNNumbers 3 роки тому +7

    Interesting. This showed up in my feed, never seen this guys videos. But this is pure gold, instant sub my man

  • @IAMSEYMOURMUSIC
    @IAMSEYMOURMUSIC 3 роки тому +4

    Dude you are singlehandedly rescuing my little game project. You're basically the sum total of all source documentation at this point, respect!

  • @ZooL_Smith
    @ZooL_Smith 3 роки тому +18

    madlad

    • @KryzysX
      @KryzysX 2 місяці тому

      hi zool 👋

  • @sulphurous2656
    @sulphurous2656 3 роки тому +5

    The time of this upload is very convenient as I was just getting back into learning VScript for Portal 2. It's always good to have these as there aren't really many guides going around on how to use it if don't already have an intermediate understanding of how to use Squirrel.

  • @mexoc5006
    @mexoc5006 3 роки тому +2

    OMG right when I started wondering about CS scripting YOU made a video! What a great moment

    • @gumpum8760
      @gumpum8760 3 роки тому +1

      Started using vscript 1 month ago, great timing indeed

  • @ZoeyTheSobble
    @ZoeyTheSobble 3 роки тому +3

    Protect this man at all costs, i have no doubt this man is responsible indirectly for the amazing maps the source community has brought us.

  • @CS_Sardine
    @CS_Sardine 3 роки тому +2

    I've been fiddling around with hammer but I can see it takes so much effort and love for levelmaking to get through the tedious tasks, aswell as learning the softwere. I'm inspired to see your content, always makes me want to open up hammer again!

    • @assasincreddude4332
      @assasincreddude4332 3 роки тому

      is there any way I can get cs go sdk editor for free ? I cant pay 15 usd because of my age :(

  • @thedavistheory7674
    @thedavistheory7674 3 роки тому +5

    Man along with worldofleveldesign, 3kliksphilip and of course YOU, I've come to love the hammer editor and I've learned so much from you, so thanks a lot for making this tutorials!

    • @friendofp.24
      @friendofp.24 2 роки тому +2

      The 3 musketeers of Source mapping!

  • @funnyfella8198
    @funnyfella8198 3 роки тому +1

    Once more you bless us with your knowledge, you're the best

  • @thennoth2860
    @thennoth2860 3 роки тому +3

    I've been meaning to get into vscript but I heard it was difficult so never really looked into it. This actually looks really nice and is a good replacement for fiddling around with all the logic entities which are tedious. Thanks!

  • @imania4276
    @imania4276 3 роки тому +13

    oopsi, didn't thought people would use my CS:GO snippets extension haha. Made it in one go when I needed it. I will rework it. Hit me up if you encouter any issues

    • @imania4276
      @imania4276 3 роки тому +6

      Just saw that i put "raw" instead of "roll" in the SetAngles method. It is now fixed.

    • @TopHATTwaffle
      @TopHATTwaffle  3 роки тому +7

      The snippets are so nice man. I freaking love them.

  • @fusoya777
    @fusoya777 3 роки тому +1

    I love these tutorials. I've been a subscriber for a long time. If you ever do streaming or patron for something I'll sign up

  • @XeZrunner
    @XeZrunner 3 роки тому +3

    For some reason, it never occurred to me that you could make much more advanced logic than what Hammer offers you by default with the entities.
    Source Engine really is quite an awesome engine!
    VScript (and Squirrel) remind me of the level scripting language Morpheus used in Medal of Honor: Allied Assault (.scr files), which was one of the first languages I've seen.

  • @nxone9903
    @nxone9903 2 роки тому

    this is such a good intro to programming

  • @kristoferkoessel4354
    @kristoferkoessel4354 3 роки тому

    Never stop making videos please!

  • @justpringools
    @justpringools 3 роки тому

    Heeey, pog champion. If I remember correctly, I commented on your last vid about working with VMTs and proxies, how it would be cool if you were to make a whole tutorial on VScripts. And who would have thought! Interesting coincidence... Hm.. No, but seriously, great tutorial, as always. I watched pretty much every single one of your CSGO hammer tutorials 10 times already and I've also watched a lot of old ones from the CSS age, but the VScripts tutorial (or tutorial SERIES *wink-wink*), is the one I've been looking for for a good while. And now, that you've completed the "exodia" of source mapping tutorials, I can finally stop binge watching youtube and just go to hammer and apply my mapping knowledge to good use, like making shitpost maps and publishing them to the workshop with 10 trillion ads on the webpage and on the map itself. Thanks, Doug!

  • @Estéban-d9s
    @Estéban-d9s 3 роки тому

    HE IS ALIVE, WELCOME BACK MATE

  • @thewhaleman634
    @thewhaleman634 3 роки тому +18

    Real men use logic entities, nerds.

  • @vetoneal6171
    @vetoneal6171 3 роки тому

    glory to tophattwaffle !

  • @ZkeMoNe
    @ZkeMoNe 2 роки тому +11

    I just found out that code from this video:
    "activator.SetAngles(angles.x, angles.y -180, angles.z)" doesn't work in Left 4 Dead 2.
    Instead, you need to use
    activator.SetAngles(QAngle(angles.x, angles.y -180, angles.z)). I guess they made it simpler in CS:GO Vscripting and removed need for "QAngle" prefix.
    I hope someone finds this information useful.

    • @baaxal0214
      @baaxal0214 Рік тому +1

      im learning vscripting for l4d2 just now and you save me from this error haha (but some reason the game print my angles but not turn me arround, and the documentation sucks xD)

    • @Dzingzing
      @Dzingzing 6 місяців тому

      thank you🙏🙏🙏

  • @oliilo1
    @oliilo1 2 роки тому

    I just want to take the time to thank you for this video. I used this in my map today to create a infinite staircase, like in Mario.

  • @MrTorticolis
    @MrTorticolis 3 роки тому

    What a trooper. Never stopped teaching us
    Amogus

  • @flashcsgo4559
    @flashcsgo4559 3 роки тому

    Good to see you back :D

  • @klashlavthedog4913
    @klashlavthedog4913 3 роки тому

    Glad your back!

  • @dolphinerofachero3159
    @dolphinerofachero3159 2 роки тому +1

    Please make more Vscripting tutorials, you're the only one doing it

  • @PackSciences
    @PackSciences 3 роки тому +1

    Thank you kind sir, your tutorials are very helpful

  • @stavros7277
    @stavros7277 5 днів тому

    Amazing tutorial, thank you very much!!!

  • @Ace0fSpadesMM
    @Ace0fSpadesMM 3 роки тому

    Thank you so much for this video! Really good tutorial for people like me

  • @sid5479
    @sid5479 3 роки тому

    HES BACK! And with the one thing I can't do in mapping! :D

  • @ScruffySFM
    @ScruffySFM 3 роки тому

    He's alive!

  • @risolperez5458
    @risolperez5458 2 місяці тому

    No chickens were harmed in the making of this video

  • @mikeGNTR
    @mikeGNTR 3 роки тому

    The myth, the legend

  • @zetko9052
    @zetko9052 3 роки тому

    exactly what i needed

  • @PootisHi
    @PootisHi 3 роки тому

    How did you know I searched for this in my browsing history?...

  • @gloryags8906
    @gloryags8906 3 роки тому

    thanks for the amazing tutorial!

  • @mushroomcrepes
    @mushroomcrepes 3 роки тому

    today is a blessed day

  • @Slimek
    @Slimek 3 роки тому +1

    epic vscript moment

  • @easterlee
    @easterlee 3 роки тому

    Nice tutorial!

  • @Antek1234l
    @Antek1234l 3 роки тому +1

    "Disco chickens are cool, but let's blow up some chickens"
    Vsauce music starts

  • @aurel3117
    @aurel3117 3 роки тому +5

    There will be tutorials on Source 2 engine in coming? :)
    The VScripting should be similar isn't?

  • @celebiemre67
    @celebiemre67 3 роки тому +1

    please start making source 2 turtorials

  • @cannibalhunter9079
    @cannibalhunter9079 3 роки тому

    god damm i needed this

  • @Michael-hw2mp
    @Michael-hw2mp Рік тому +2

    i keep getting an error while trying this in TF2 saying "The index helloworld does not exist"

    • @Fract
      @Fract Рік тому +1

      Make sure your logic_script "Entity Scripts" doesn't say tf/scripts/vscripts/.nut
      Instead, it should just be .nut
      That's what screwed me up. If you follow the steps as shown in this video, TF2 for some reason tacks-on the file directory into the Entity Scripts parameter.

    • @Slamm1nSalm0n
      @Slamm1nSalm0n Рік тому +1

      @@Fract holy fuck thx so much, can't even trust the hammer editor lol

  • @M3rk420
    @M3rk420 3 роки тому +1

    He is still making vids? Damn!

  • @stacksmasherninja7266
    @stacksmasherninja7266 3 роки тому +1

    Great tutorial. Several Questions:
    1. Can I execute a console command from the trigger function ?
    2. Can I detect if a particular trigger happened using a plugin ? I'm particularly looking for something like Portal 2 Gelocity Time Trial but using a plugin
    Any help ?

  • @xhge4166
    @xhge4166 3 роки тому

    Amazing :)

  • @barnij4866
    @barnij4866 3 роки тому +1

    can you teach how to place items in cs go or sorce
    I want to know how to place exojump in my csgo map

  • @assasincreddude4332
    @assasincreddude4332 3 роки тому +2

    the fact that you have to pay 15usd for the hammer editor is just sad like someone like me who cant pay because of my age is bad but I understand the reason I hope when I grow up I will still have passion for this :(

  • @sixxtel4873
    @sixxtel4873 3 роки тому

    *Pls make video about prop detail (displacement grass)*

  • @raymondzechner4678
    @raymondzechner4678 3 роки тому

    Awesome

  • @heidyngamer5820
    @heidyngamer5820 3 роки тому

    Is there a tutorial on how to do things like TVs where it casts a camera's view onto a screen.

  • @Boraiy
    @Boraiy 3 роки тому +1

    Show us how to use point_worldtext i need this video its will useful (sry for bad eng)

  • @eskohc984
    @eskohc984 3 роки тому

    this is that time in month when he have money for sniff sniff, and he comes to impress us

  • @proaxel7003
    @proaxel7003 2 роки тому +1

    TF2 recently had VScript added, is there anything in this video that doesn’t apply or should’ve applied differently to TF2?

    • @TopHATTwaffle
      @TopHATTwaffle  2 роки тому +2

      I think most of it should be the same, at least in principle. TF2's implementation is overall better than CSGO's.

  • @llamaman4339
    @llamaman4339 Рік тому

    how do i get the visual studio thing working so i can have help from it to fix something in visual?

  • @gabrielbravo2829
    @gabrielbravo2829 6 місяців тому

    am i suppose to make the "vscript" folder myself. because i had to do that, and i am having a ton of errors likely because of it

  • @saulbadman51
    @saulbadman51 2 роки тому

    Also for tf2, instead of GetAngles, use GetLocalAngles or GetAbsAngles or it will give you an error in the console telling you to not use GetAngles. This also applies to SetAngles, use SetLocalAngles or SetAbsAngles.I guess they are deprecated for some reason

  • @wulfalmer
    @wulfalmer Рік тому

    will vscript work fine if I want to do a crosshair that changes when you hover it over a func_button

  • @vyiqqce5499
    @vyiqqce5499 3 роки тому

    Is there a way of making a warm-up zone for your map in Csgo? Like how Mirage and Vertigo have warm-up zones in their Comp mode variants

  • @danlogie7042
    @danlogie7042 6 місяців тому

    if anyone is trying to vscript for tf2 and they get an issue like index helloWorld not found then its because in your logic script entity the filepath should only include the file name not tf/scripts/vscript

  • @daginagiri4906
    @daginagiri4906 2 роки тому

    hey, there's a way to assign a custom variable (like a int) to a player?

  • @IDrawStuff24
    @IDrawStuff24 2 роки тому

    How the hell were you doing this series for 14 FRICKING years?!?!?!?!??!?!

  • @aresmars618
    @aresmars618 3 роки тому

    29 seconds ago, Love the vids!

  • @thg1nrediar
    @thg1nrediar 2 роки тому

    Good

  • @mechabrix3020
    @mechabrix3020 3 роки тому

    Pls help I need a script who display a math_counter!

  • @littlefirez
    @littlefirez 3 роки тому

    do you have a tutorial on how to make mounted weapons for half life? (if not then can you make one?)

  • @sdgx0
    @sdgx0 2 роки тому

    man i wonder what happend to your old windows 7 pc

  • @pratik.t2530
    @pratik.t2530 3 роки тому

    I think your computer will take only 1 hour to compile a great map cuz after seeing your setup i was👀, is thier anyway that i can compile a 4 hour map in 2 hour or something

  • @flendis1851
    @flendis1851 3 роки тому

    Hello bro :O I'm making a map and I have a problem
    I want to bots look at me,when I use bot_stop 0
    But they dont move and dont look at me :/
    Do you know about some script or command please?
    Sorry for my bad english :D
    Have a nice day!

  • @assaku
    @assaku 3 роки тому

    Holy shit he got a sponsor?

  • @N00BT00BX
    @N00BT00BX 3 роки тому

    HELLO TOP HAR

  • @depurityrumps
    @depurityrumps 2 роки тому

    does it work with left 4 dead 2 ?

  • @colbyroberts2125
    @colbyroberts2125 3 роки тому

    you should do this for a hide and seek map

  • @smaxsiegel
    @smaxsiegel 3 роки тому

    youre 28 wow thats crazy

  • @GiantSlayerSVK
    @GiantSlayerSVK 3 роки тому

    Does CS: Source support scripting?

  • @handturkey
    @handturkey 3 роки тому

    w'oo

  • @bearsunits9400
    @bearsunits9400 3 роки тому

    it's happening.... the prophecy is true!

  • @giancarlosd
    @giancarlosd 3 роки тому +1

    You're _____ years late

  • @bushman7733
    @bushman7733 3 роки тому +1

    Use hammer++

  • @Orincaby
    @Orincaby 3 роки тому

    *.nut*

  • @GravityGamingCo
    @GravityGamingCo 3 роки тому

    Jesus Christ is Love ;)/

  • @isanarditama
    @isanarditama 3 роки тому

    Why programming language exist

  • @maxwellgiddens855
    @maxwellgiddens855 3 роки тому

    First

    • @gumpum8760
      @gumpum8760 3 роки тому

      First kommentar on first kommentar

  • @ranger5274
    @ranger5274 2 роки тому

    play.SetMaxHealth doesn't appear to work in TF2