Difference between revisions of "Talk:Scripting"

From Team Fortress Wiki
Jump to: navigation, search
('5 Toggles' has to be reviewed.: new section)
Line 81: Line 81:
  
 
To reach the max height, you have to crouch, jump, crouch, shoot / crouch, jump, shoot, crouch to reach the maximum height. [[User:Sokair|Sokair]] 11:58, 11 December 2011 (PST)
 
To reach the max height, you have to crouch, jump, crouch, shoot / crouch, jump, shoot, crouch to reach the maximum height. [[User:Sokair|Sokair]] 11:58, 11 December 2011 (PST)
 
== '5 Toggles' has to be reviewed. ==
 
 
'incrementvar' is coming out from nowhere, all of sudden.
 
 
I'm reading it thoroughly from scratch and couldn't understand what that means (also the meaning of that 'bindtoggle is shorthand for the blahblahblah').
 

Revision as of 02:22, 1 October 2012

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)
Right, I see. I don't recall that, but you made a good point.  – Smashman (talk) 19:05, 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.

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 -- 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)