Difference between revisions of "Talk:Scripting"
m (→Out of date: Response.) |
m (Reasons for edit.) |
||
Line 97: | Line 97: | ||
<small>— ''The preceding unsigned comment was added by'' '''[[User:Tenju|Tenju]]''' ([[User talk:Tenju|talk]]) • ([[Special:Contributions/Tenju|contribs]]) </small> | <small>— ''The preceding unsigned comment was added by'' '''[[User:Tenju|Tenju]]''' ([[User talk:Tenju|talk]]) • ([[Special:Contributions/Tenju|contribs]]) </small> | ||
: You don't need to put autoexec.cfg anywhere inside the custom folder, it works fine in the cfg folder outside of the custom folder. It's where I have my one (along with a few other scripts) currently. The page does also say that it can be put in the custom folder, but it's not really the default place for it or any other cfg files. So nothing really needs changing. Additionally, make sure that you sign your posts in future. --[[User:Omolong|Omolong]] ([[User talk:Omolong|talk]]) 13:42, 25 February 2015 (PST) | : You don't need to put autoexec.cfg anywhere inside the custom folder, it works fine in the cfg folder outside of the custom folder. It's where I have my one (along with a few other scripts) currently. The page does also say that it can be put in the custom folder, but it's not really the default place for it or any other cfg files. So nothing really needs changing. Additionally, make sure that you sign your posts in future. --[[User:Omolong|Omolong]] ([[User talk:Omolong|talk]]) 13:42, 25 February 2015 (PST) | ||
+ | |||
+ | == Launch options == | ||
+ | |||
+ | I made some changes to the launch options section. I removed <code>-high</code> because it actually decreases performance. I removed <code>-threads</code> since the Source Engine automatically determines the value for this, and caps it at 3. [https://www.reddit.com/r/GlobalOffensive/comments/5y8r7v/in_depth_discussion_of_the_threads_launch_option/dep5yno/ Valve also recommends removing this launch option.] And I also removed the resolution launch options since its better to just set your resolution in game as the launch options might create improper video mode, reducing performance. I removed DXLevel 98, as its the same as 95 as 98 was made for the Xbox 360 and added DXLevel 100, a DXLevel that allows max graphics settings. And I removed the text that lower DXLevels increase performance when that's really system dependent as higher DXLevels give better performance for modern systems while lower DXLevels are best for low end systems. [[User:2th|2th]] ([[User talk:2th|talk]]) 05:02, 28 March 2020 (UTC) |
Revision as of 05:02, 28 March 2020
Contents
- 1 Rewrote page. Open review.
- 2 Information Missing
- 3 What happened?
- 4 Replacing the current scripting page
- 5 Merge (Scripting FAQ)
- 6 Merge (Bindable keys)
- 7 Information Missing
- 8 Bindable keys?
- 9 Class scripts
- 10 Scripting one keystroke unto another.
- 11 Rocket Jumping
- 12 Echoing a semicolon
- 13 Please contribute to the idling section
- 14 Out of date
- 15 Launch options
Rewrote page. Open review.
I've replaced the old page with a rewritten one based on suggestions from people on IRC. I've also dumped an Open Review at the top of the new page, suggesting that people should come talk about the new page. The old scripting page is currently stored at User:Zoolooman/Scripting for future reference. -- Zoolooman 12:52, 22 October 2010 (UTC)
- I like it, but it could use a few images to catch the casual reader's eye. Don't really know what images could go in here, though. --Latin Geek 15:59, 7 November 2010 (UTC)
- It's much cleaner than the old scripting page, but is still very long and difficult to read. Perhaps it could be broken apart and have a separate page for the script commands and possibly other sections. Mrnoj 18:06, 9 November 2010 (UTC)
- Are we going to get individual script sections for each class again? I'd love to see those come back. (nanosheep_inc) 06:15, 10 November 2010 (UTC)
- I agree with the difficult to read comment from Latin Geek it is alot of text to swallow all at once. Darkstar516 21:53, 13 December 2010 (UTC)
Information Missing
So far I can see that the "use" commands have disappeared, never to be seen again. I suggest they be included in the List of useful console commands page.
What happened?
What happened to the individual class script pages? They are on the old wiki. Icheyne 18:00, 23 September 2010 (UTC)
- I see. Looks like they weren't transferred correctly. Thanks for the heads up. – Smashman (talk) 18:54, 23 September 2010 (UTC)
- I happened. :)-RJ 18:57, 23 September 2010 (UTC)
- Shame. :( --Icheyne 15:51, 26 September 2010 (UTC)
Replacing the current scripting page
It's been hectic in IRC, so I'll add this here. I've prepared a rewritten scripting page based on the suggestions from the IRC channel.
If anyone has further suggestions, or if anyone would approve the replacement, I'd like to finish this up and replace the current guide soon. :D -- Zoolooman 03:33, 22 October 2010 (UTC)
- That is a... heh... large page. Seems like a lot of information for somthing people with at least some experience would use, so my two cents are either shorten it with more external links to sites dedicated to scripting, shorten it, or split it up, putting them all within a catagory.--Kurathedog 20:31, 6 November 2010 (UTC)
- It's vastly shorter than before, and while I wanted to make an even shorter page, the general consensus in IRC was that the page should contain these subjects. Thus, it is this long. Zoolooman 20:33, 6 November 2010 (UTC)
Information Missing
So far I can see that the "use" commands have disappeared, never to be seen again. I suggest they be included in the List of useful console commands page.
Bindable keys?
I can't find a list of them. The archived chat below mentions it though. Is it gone now? And can capslock be binded to? Z Overlord 07:44, 26 December 2010 (UTC)
Class scripts
I think it's worth mentioning that every time you select a class it runs its script (as expected), but these changes are not reverted whenever you switch to another class. The script overwrites whatever values are in your config.cfg and thereby apply to every class. This is rather counter-intuitive to the notion of class-individual scripts, but can be solved by creating a "default.cfg" and exec-ing that at the start of every class file. Took me a while to figure that one out, anyway. Atmo 18:03, 15 May 2011 (UTC)
Scripting one keystroke unto another.
Hello. I was learning about scripting and I realized that the visual menus (class select, map info, server welcome/map rotation, etc.) are not addressed by any game commands that I'm aware of. Because we effectively press enter, C for continue, B for back, or 1-9 to navigate these menus, being able to bind these keystrokes within an alias could be potentially useful. Is there a method to do this? After my searching, I'm afraid to conclude that there is not. Would anyone with more experience or knowledge on the subject of scripting and game commands care to weigh in on this question? Being that this information is seemingly non-existent (there's no shortage of scripting 101 tutorials out there, but nothing regarding this) it may be a worthwhile mention on the scripting page. Thanks! -Bilberry
Rocket Jumping
To reach the max height, you have to crouch, jump, crouch, shoot / crouch, jump, shoot, crouch to reach the maximum height. Sokair 11:58, 11 December 2011 (PST)
Echoing a semicolon
I don't know why the page says you can't echo a semicolon, but I just tested it and it turns out if you enclose a semicolon inside quotation marks, it will actually echo it. I would update the page myself but I wanted to make sure others could confirm it as well. Lord Manship 14:15, 15 August 2013 (PDT)
- Can confirm. I assumed on creating this that semicolons overpowered quotes, but it seems to be the other way around. Darkid (|) 16:53, 15 August 2013 (PDT)
Please contribute to the idling section
there are scripts and commands that need to be added to the idling section, please contribute to the idling section. — The preceding unsigned comment was added by 2sagan4u (talk) • (contribs)
Out of date
Hey, so I'm sorry if this isn't very formal, I've just made an account here, but isn't the section on the location of the auto exec out of date? Maybe I'm misunderstanding what it's saying, but on my Windows 8, the place to put the auto exec folder is under custom, not cfg, and then inside that is the auto exec.cfg, and then inside that is a folder named cfg, and finally the autoexec.cfg along with all the class specific ones. I also have some incentive to believe that the article is out of date for Linux and Mac, but I could be wrong. Is this part describing the documents in the cfg folder? If so, it seems out of place, and not to mention that I can't find any article in which it explains the location to put an autoexec script other than here. Either way, I feel that action is probably required. — The preceding unsigned comment was added by Tenju (talk) • (contribs)
- You don't need to put autoexec.cfg anywhere inside the custom folder, it works fine in the cfg folder outside of the custom folder. It's where I have my one (along with a few other scripts) currently. The page does also say that it can be put in the custom folder, but it's not really the default place for it or any other cfg files. So nothing really needs changing. Additionally, make sure that you sign your posts in future. --Omolong (talk) 13:42, 25 February 2015 (PST)
Launch options
I made some changes to the launch options section. I removed -high
because it actually decreases performance. I removed -threads
since the Source Engine automatically determines the value for this, and caps it at 3. Valve also recommends removing this launch option. And I also removed the resolution launch options since its better to just set your resolution in game as the launch options might create improper video mode, reducing performance. I removed DXLevel 98, as its the same as 95 as 98 was made for the Xbox 360 and added DXLevel 100, a DXLevel that allows max graphics settings. And I removed the text that lower DXLevels increase performance when that's really system dependent as higher DXLevels give better performance for modern systems while lower DXLevels are best for low end systems. 2th (talk) 05:02, 28 March 2020 (UTC)