Left 4 Dead 2

Left 4 Dead 2

75 ratings
Drawing System
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
22.994 KB
5 Nov, 2020 @ 2:03am
17 Jun, 2022 @ 12:24am
5 Change Notes ( view )

Subscribe to download
Drawing System

Description
Drawing System
Contains convenient tools for drawing lines. Subscribe to Client Menu for more abilities.

Client Menu Binds/Commands
bind i "show_menu menu" bind 0 "slot10"

If you want infinity menu duration then put this command in the console:
cl_menuduration -1

Chat Commands
!ds_point - set a point for creating line !ds_lremove - remove previous line !ds_prst - reset a current point !ds_autostart - automatically set a new point after creating line !ds_remove ARG1 - remove line within a specified radius; ARG1 - argument (optional; 10 as default). Example: !remove, !remove 25 !ds_clr ARG1 - remove all own lines; ARG1 - argument that can use only host (optional; all - remove lines of all players, 1-32 - remove lines of specified players by index). Example: !clr, !clr all, !clr 2 !ds_figure ARG1 ARG2 ARG3 - create a figure; ARG1 - radius (max. 1000), ARG2 - points (min. 3, max. 30), ARG3 - rotation angle (optional). Example: !figure 40 3, !figure 40 3 0 !ds_color ARG1 ARG2 ARG3 - color of line, uses RGB palette; ARG1 - number of red or name of color (optional; see colors of client menu + aquamarine; number (red) - 0-255), ARG2 - number of green, ARG3 - number of blue Example: !color, !color aquamarine, !color 0 50 255 !ds_width ARG1 - line width !ds_scroll ARG1 - line scroll !ds_amplitude ARG1 - line amplitude Commands below only for host !ds_save - save all lines in a file in the [Left 4 Dead 2/left4dead2/ems/drawing_system/] folder !ds_load - load all lines from a file in the [Left 4 Dead 2/left4dead2/ems/drawing_system/] folder !ds_usage - allow to clients use Drawing System features !ds_determine - enable/disable determining normal of walls

Console (User) Commands
// ATTENTION: USE AS SEPARATOR CHARACTER COMMA, NOT SPACE. // Example: scripted_user_func ds_color,155,255,50 scripted_user_func ds_point - see !ds_point scripted_user_func ds_lremove - see !ds_lremove scripted_user_func ds_prst - see !ds_prst scripted_user_func ds_autostart - see !ds_autostart scripted_user_func ds_remove - see !ds_remove scripted_user_func ds_clr - see !ds_clr scripted_user_func ds_figure - see !ds_figure scripted_user_func ds_color - see !ds_color scripted_user_func ds_width - see !ds_width scripted_user_func ds_scroll - see !ds_scroll scripted_user_func ds_amplitude - see !ds_amplitude scripted_user_func ds_save - see !ds_save scripted_user_func ds_load - see !ds_load scripted_user_func ds_usage - see !ds_usage scripted_user_func ds_determine - see !ds_determine

Accidentally overwritten save
In this case you will still have the opportunity to return past save.

Go to Left 4 Dead 2/left4dead2/ems/drawing_system/, you can see the files with names of maps where you saved the lines. Find the right one, there must be 2 files: one with suffix _autosave and w/o. The first one is reserved version that you should use, delete the file w/o suffix and remove suffix _autosave from reserved file.

Homu[pastebin.com] from the preview (map c1m2_streets)

Full Compatibility
10 Comments
Shadowysn 27 Mar @ 1:59am 
Is the character drawn on the thumbnail a pre-existing character in media or one of yours?
Dwarf Gaming 14 Nov, 2020 @ 2:20pm 
My bad, I had Michal Bay pack but I didn't left it activated, ignore that...
Also, allright, I will try this later, thanks for the heads up, when I try to use this again I will come back to you.
Sw1ft  [author] 13 Nov, 2020 @ 5:26pm 
Well, michael bay pack should conflict with this script, also unsubscribe and subscribe on these addons in the main menu to change priorities of them, so these addons must be below of drawing system in the list of addons
Dwarf Gaming 13 Nov, 2020 @ 11:36am 
There are in there, the save files and even I moving them in and out while the game is on/off it don't do anything.

The scritps I used are many, allthough none conflicts with this one.

The types of scrits I use are:
+uncommon infected spawns
+faster respawn in closets
+weapons scripts
+your player joining notification
+m60 reload/GL on secondary slot
+Left 4 Bots and General Improvements
+Admin System and Menu
+ragdoll survivor death animations
+Take Bot Items
+Reverse Friendly Fire
+Michael Bay Pack(Best of them all lol)

...as far as I recall these are the ones I use.
Sw1ft  [author] 12 Nov, 2020 @ 8:49pm 
Weird, this should work correctly, I'll try to check it self, you can disable others addons that related with scripts for the first time, also check folder "Left 4 Dead 2/left4dead2/ems/drawing_system/", there should be files with saved lines
Dwarf Gaming 12 Nov, 2020 @ 5:42pm 
Tried these commands in normal maps of the normal campains and this didn't worked as well.
I was the only one saving the lines, tried single player and hosting locally, asked a friend to do this instead of me and the error persists.
(Sorry for the wall text, idk how I could made this explanation smaller)
Dwarf Gaming 12 Nov, 2020 @ 5:41pm 
After a while using this I noticed something: the !save command creates files allright but the !load don't seem to work after you create another game in the very same stages of the campaings you made the save...so what's the deal with this?What am I doing wrong?

If you need something more specific, here is the thing:

I went on the first part of Resident Evil 1 and drawed some icons all around the map to teach some of the people who don't know what to do, to learn their way around, I did all hints for weapons, puzzles and everything and then used !save before going to the second stage, did the same and then logged out of the game since I needed a break. On the other day I wanted to continue doing it, I was going to show a buddy what I was doing and thing never loaded back.
Dwarf Gaming 6 Nov, 2020 @ 3:08pm 
*obligatory dick pics in servers*
Also this is great for campaings with puzzles when randoms join, now they can actually know where to go...
Sw1ft, for real, you keep surprising us with these AMAZING scripts, I wish I could reward you somehow, but for the time being this simple thank you will have to suffice:
THANKS A BUNCH MAN <3
Keynax 6 Nov, 2020 @ 11:46am 
we gonna draw dicks with this xd
AttackCommander 6 Nov, 2020 @ 4:58am 
:csgohelmet: That's amazing!