Difference between revisions of "Talk:Scripting"

From Team Fortress Wiki
Jump to: navigation, search
(Binding keys to another.)
m (overrides)
 
(34 intermediate revisions by 18 users not shown)
Line 1: Line 1:
==Rewrote page.  Open review.==
+
{{Talk archive
 +
| arc1name = Archive 1
 +
| arc1link = Talk:Scripting/Archive 1
 +
}}
  
I've replaced the old page with a rewritten one based on suggestions from people on IRC.
+
== Moving launch options to its own article ==
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. -- [[User:Zoolooman|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. --[[User:Latin Geek|Latin Geek]] 15:59, 7 November 2010 (UTC)
+
I feel like the launch options section doesn't fit this article. We should move it to the current OtherWikis [[Launch options]] article. · [[User:Ashe|<font color="DB9C1F">Ashe</font>]] ([[User talk:Ashe|<font color="DB9C1F">talk</font>]]) 03:44, 31 January 2024 (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. [[User:Mrnoj|Mrnoj]] 18:06, 9 November 2010 (UTC)
+
:I would prefer a different page that also contains info about the beta branches. Maybe something like "Steam properties"?<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 11:24, 31 January 2024 (UTC)
 +
::{{c|Disagree}}. The beta branches are not really important, unlike the launch options. There exist only for demo compatibility, so imo they are not relevant · [[User:Ashe|<font color="DB9C1F">Ashe</font>]] ([[User talk:Ashe|<font color="DB9C1F">talk</font>]]) 05:57, 1 February 2024 (UTC)
  
::Are we going to get individual script sections for each class again? I'd love to see those come back. [[User:Nanosheep|(nanosheep_inc)]] 06:15, 10 November 2010 (UTC)
+
:::I think having at least some info about it somewhere would be good. I don't think a separate page is necessary, so a combined page would be best. Seeing as so far there has also been a VScript branch and a Linux 64-bit branch, it's useful to have info about these because there aren't that many other places for it.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 13:15, 1 February 2024 (UTC)
::I agree with the difficult to read comment from Latin Geek it is alot of text to swallow all at once. [[User:Darkstar516|Darkstar516]] 21:53, 13 December 2010 (UTC)
+
:::If launch options are on their own page, beta branches belong on that page since it's essentially a launch option (an optional branch you set prior to launch). These appear to not be noted anywhere else on the wiki, it's something related to tf2, why would we not include it? Especially since there is a permanent use-case for them with demo compatibility. Your point of them not being relevant would have been more compelling prior to these branches since that feature was basically untouched for like 8 years. I don't think they need to be on a specially named page and can just sit as a section on the launch options article. [[User:Jh34ghu43gu|Jh34ghu43gu]] ([[User talk:Jh34ghu43gu|talk]]) 12:36, 5 February 2024 (UTC)
  
== Information Missing ==
+
== ""disguise 8 3" will not undisguise a RED Spy" is incorrect. ==
  
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.
+
I made a [https://www.youtube.com/watch?v=GtKHOqG2Hh4 video proof] that the command does undisguise a RED Spy.
 +
Let me know if I need more proofs or if it is an incorrect information.
  
 +
[[File:User Nihil Sign Pfp.png|25px|link=User:Nihil]] [[User:Nihil|<font color="#7D4071">Nihil</font>]] ( [[User_talk:Nihil|Talk]] | [[Special:Contributions/Nihil|Contributions]]  ) 15:10, 4 February 2024 (UTC)
  
==What happened?==
+
:Seems to be outdated then, feel free to remove.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 15:14, 4 February 2024 (UTC)
  
What happened to the individual class script pages? They are on the old wiki. [[User:Icheyne|Icheyne]] 18:00, 23 September 2010 (UTC)
+
== Moving launch options down ==
:I see. Looks like they weren't transferred correctly. Thanks for the heads up. {{n}}[[User:Smashman|<span class="bur">Smashman</span>]]<sub>&nbsp;([[User_talk:Smashman|talk]])</sub> {{bur}} 18:54, 23 September 2010 (UTC)
+
The launch options appear suddenly while explaining alias and bind, so it is awkward and does not look good. I want to move it down.
::[[Category_talk:Community_scripts|I happened.]] :)-[[User:RJackson|<span style="background-color:#FF0000;color:white;font-size:0.7em;padding: 0 2px;">RJ</span>]] 18:57, 23 September 2010 (UTC)
+
were I a reader, I would be a little skeptical if launch options popped up while explain alias and bind.  
 +
[[User:Howtoplaytf2happy|Howtoplaytf2happy]] ([[User talk:Howtoplaytf2happy|talk]]) 10:16, 5 February 2024 (UTC)
  
:::Right, I see. I don't recall that, but you made a good point. {{n}}[[User:Smashman|<span class="bur">Smashman</span>]]<sub>&nbsp;([[User_talk:Smashman|talk]])</sub> {{bur}} 19:05, 23 September 2010 (UTC)
+
== overrides ==
 +
Separately from the above, I want to write about folder overrides. "autoexec.cfg" and "class.cfg" must be in overrides to run, but tf2wiki is missing that information. It's not that big of a bite, but it's essential and I think it'll confuse people who don't know they need it. [[User:Howtoplaytf2happy|Howtoplaytf2happy]] ([[User talk:Howtoplaytf2happy|talk]]) 10:21, 5 February 2024 (UTC)
  
:::: Shame. :( --[[User:Icheyne|Icheyne]] 15:51, 26 September 2010 (UTC)
+
:That's only if you're using mastercomfig, if you don't use it they don't need that folder.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 13:22, 5 February 2024 (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.
 
 
 
[[User:Zoolooman/Scripting]]
 
 
 
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 -- [[User:Zoolooman|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.--[[User:Kurathedog|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. [[User:Zoolooman|Zoolooman]] 20:33, 6 November 2010 (UTC)
 
{{Discussion header|top}}
 
 
 
::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. [[User:Zoolooman|Zoolooman]] 20:32, 6 November 2010 (UTC)
 
 
 
 
 
 
 
 
 
 
 
==Merge (Scripting FAQ)==
 
{{c|Info}} Discussion started ''19 September 2010''.  Discussion ends ''29 September 2010'' -[[User:RJackson|<span style="background-color:#FF0000;color:white;font-size:0.7em;padding: 0 2px;">RJ</span>]] 14:21, 27 September 2010 (UTC)
 
:{{c|support}} The wiki is not a help desk. -[[User:Shine|<font color="#666666">'''Shine'''</font>]]<nowiki>[</nowiki>{{mod}}<nowiki>]</nowiki> 22:53, 19 September 2010 (UTC)
 
:{{c|support}} I don't think we need to have articles on scripting at all (it's more specific to the engine rather than TF2)...  but if it's getting a mention on the Wiki it should all be in one place.-[[User:RJackson|<span style="background-color:#FF0000;color:white;font-size:0.7em;padding: 0 2px;">RJ</span>]] 11:27, 26 September 2010 (UTC)
 
 
 
{{c|done}} 14:23, 15 October 2010 (UTC)
 
{{Discussion header|bottom}}
 
 
 
{{Discussion header|top}}
 
==Merge (Bindable keys)==
 
{{c|Info}} Discussion started ''19 September 2010''.  Discussion ends ''29 September 2010'' -[[User:RJackson|<span style="background-color:#FF0000;color:white;font-size:0.7em;padding: 0 2px;">RJ</span>]] 14:21, 27 September 2010 (UTC)
 
:{{c|support}} -[[User:Shine|<font color="#666666">'''Shine'''</font>]]<nowiki>[</nowiki>{{mod}}<nowiki>]</nowiki> 22:55, 19 September 2010 (UTC)
 
:{{c|+|Conditional Support}} <s>Conditional support (can we add that option to the <nowiki>{{c}}</nowiki> template, please?).</s> So long as a proper clean up is done over at the [[Scripting]] article. --[[User:Leftism|Leftism]] 13:02, 23 September 2010 (UTC)
 
:{{c|support}}  Pretty much what I said on [[Talk:Scripting FAQ]]:  If we are going to mention scripting and it's related topics, it should all be in one place.-[[User:RJackson|<span style="background-color:#FF0000;color:white;font-size:0.7em;padding: 0 2px;">RJ</span>]] 11:29, 26 September 2010 (UTC)
 
{{c|done}}-[[User:RJackson|<span style="background-color:#FF0000;color:white;font-size:0.7em;padding: 0 2px;">RJ</span>]]{{mod}} 14:33, 15 October 2010 (UTC)
 
{{Discussion header|bottom}}
 
 
 
== 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? [[User:Z Overlord|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. [[User:Atmo|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
 

Latest revision as of 13:22, 5 February 2024

Talk archives
Intel blu idle.png Archive 1

Moving launch options to its own article

I feel like the launch options section doesn't fit this article. We should move it to the current OtherWikis Launch options article. · Ashe (talk) 03:44, 31 January 2024 (UTC)

I would prefer a different page that also contains info about the beta branches. Maybe something like "Steam properties"?
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 11:24, 31 January 2024 (UTC)
Pictogram minus.png Disagree. The beta branches are not really important, unlike the launch options. There exist only for demo compatibility, so imo they are not relevant · Ashe (talk) 05:57, 1 February 2024 (UTC)
I think having at least some info about it somewhere would be good. I don't think a separate page is necessary, so a combined page would be best. Seeing as so far there has also been a VScript branch and a Linux 64-bit branch, it's useful to have info about these because there aren't that many other places for it.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 13:15, 1 February 2024 (UTC)
If launch options are on their own page, beta branches belong on that page since it's essentially a launch option (an optional branch you set prior to launch). These appear to not be noted anywhere else on the wiki, it's something related to tf2, why would we not include it? Especially since there is a permanent use-case for them with demo compatibility. Your point of them not being relevant would have been more compelling prior to these branches since that feature was basically untouched for like 8 years. I don't think they need to be on a specially named page and can just sit as a section on the launch options article. Jh34ghu43gu (talk) 12:36, 5 February 2024 (UTC)

""disguise 8 3" will not undisguise a RED Spy" is incorrect.

I made a video proof that the command does undisguise a RED Spy. Let me know if I need more proofs or if it is an incorrect information.

User Nihil Sign Pfp.png Nihil ( Talk | Contributions ) 15:10, 4 February 2024 (UTC)

Seems to be outdated then, feel free to remove.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 15:14, 4 February 2024 (UTC)

Moving launch options down

The launch options appear suddenly while explaining alias and bind, so it is awkward and does not look good. I want to move it down. were I a reader, I would be a little skeptical if launch options popped up while explain alias and bind. Howtoplaytf2happy (talk) 10:16, 5 February 2024 (UTC)

overrides

Separately from the above, I want to write about folder overrides. "autoexec.cfg" and "class.cfg" must be in overrides to run, but tf2wiki is missing that information. It's not that big of a bite, but it's essential and I think it'll confuse people who don't know they need it. Howtoplaytf2happy (talk) 10:21, 5 February 2024 (UTC)

That's only if you're using mastercomfig, if you don't use it they don't need that folder.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 13:22, 5 February 2024 (UTC)