User talk:Moussekateer

From Team Fortress Wiki
Revision as of 03:14, 23 April 2015 by Gabrielwoj (talk | contribs) (Facial Flex and sequence frame on 3D Image program?)
Jump to: navigation, search
User page Portal Wiki user page Talk P Want.png Contributions Wiki-Fi stats TF2 Notifications Steam Stats
User page Portal Wiki user page Talk Start Discussion Contributions Wiki-Fi stats TF2 Notifications Steam Stats
My talk archives
Intel blu idle.png October-December 2010
Intel blu idle.png December 2010-March 2011
Intel blu idle.png March 2011-June 2011
Intel blu idle.png March 2012-December 2013

Mediawiki:Sitenotice

Could you change the link that reads [http://www.mediawiki.org/wiki/Help:Notifications MediaWiki Echo notification system] to [[w:mw:Help:Notifications|MediaWiki Echo notification system]]? It would remove the external link icon. Darkid (Talk|Contribs) 23:19, 17 December 2013 (PST)

Done. User Moussekateer signature sprite.pngMoussekateer·talk 05:11, 18 December 2013 (PST)

Dictionary

Sorry for my mistake, I thought that the dictionary need to edit directly. I have not yet fully understood with redirections. Max 324 (talk) 21:54, 18 December 2013 (PST)

Featured Cosmetic

All done - Template:Featured cosmetic » Cooper Kid (blether) • (contreebs) 10:15, 2 January 2014 (PST)

Good stuff. User Moussekateer signature sprite.pngMoussekateer·talk 16:18, 2 January 2014 (PST)

Using automate.py

When I run automate.py, a few questionable things happen:

  • It asks me to overwrite regardless of the inputted name
  • It closes HLMV at the beginning of execution
  • It throws an error: "No such file or directory: targetimages\\openhlmv.png"

Darkid (Talk | Contribs) 07:30, 24 January 2014 (PST)

It only asks you to overwrite if the destination directory for the images already exists. It closes HLMV at the beginning because it needs to set the rotation for the first screenshot, this is normal. And now I've just realized you should be using automatebeta.py which doesn't use target images anymore. I need to get round to cleaning up the files for this. User Moussekateer signature sprite.pngMoussekateer·talk 08:38, 24 January 2014 (PST)
Should I hold off until you fix up automatebeta? Darkid (Talk | Contribs) 08:39, 24 January 2014 (PST)
No, you can use it now. User Moussekateer signature sprite.pngMoussekateer·talk 08:40, 24 January 2014 (PST)
I get a WindowsError: [Error 2] The system cannot find the file specified:

Traceback (most recent call last):

 File "C:\Users\Joseph Blackman\Downloads\3D-Models-automaton-master\automatebeta.py", line 471, in <module>
   wikiPassword = 'Nope.avi'
 File "C:\Users\Joseph Blackman\Downloads\3D-Models-automaton-master\automatebeta.py", line 275, in automateDis
   openHLMV(pathToHlmv)
 File "C:\Users\Joseph Blackman\Downloads\3D-Models-automaton-master\automatebeta.py", line 29, in openHLMV
   subprocess.Popen([pathToHlmv + os.sep + 'hlmv.exe'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 File "C:\Users\Joseph Blackman\Downloads\Python26clean - Copy\lib\subprocess.py", line 633, in __init__
   errread, errwrite)
 File "C:\Users\Joseph Blackman\Downloads\Python26clean - Copy\lib\subprocess.py", line 842, in _execute_child
   startupinfo)

WindowsError: [Error 2] The system cannot find the file specified Ideas? Darkid (Talk | Contribs) 14:21, 24 January 2014 (PST)

It can't find hlmv.exe. Are you sure you've got the right path to it? User Moussekateer signature sprite.pngMoussekateer·talk 14:46, 24 January 2014 (PST)

r'F:\Steam\steamapps\common\Team Fortress 2\bin' Darkid (Talk | Contribs) 14:49, 24 January 2014 (PST)
That's the path to my Steam folder but likely not yours. Change that to your own. User Moussekateer signature sprite.pngMoussekateer·talk 14:58, 24 January 2014 (PST)
Well I'm not a windows native, but I know HLMV is in Team Fortress 2/bin/HLMV.exe Darkid (Talk | Contribs) 15:00, 24 January 2014 (PST)
Yes, but is your Steam folder in the root of the F drive? User Moussekateer signature sprite.pngMoussekateer·talk 08:32, 25 January 2014 (PST)
Err maybe? Probably not. Darkid (Talk | Contribs) 08:33, 25 January 2014 (PST)
It's most likely not :p Find your path. User Moussekateer signature sprite.pngMoussekateer·talk 08:58, 25 January 2014 (PST)

Buggy 3d images

File:User_Darkid_Test_3D.jpg. I'm not quite sure what's going wrong. Darkid (Talk | Contribs) 11:49, 15 February 2014 (PST)

All fixed. Is gud. User Moussekateer signature sprite.pngMoussekateer·talk 16:43, 15 February 2014 (PST)

3D images with VMTs

I'm having trouble with the blue festive ambassador. Although I've defined the BlueVMT parameter, the code doesn't use it, and also doesn't crop the "blue" output. Ideas? Darkid (Talk | Contribs) 12:51, 17 February 2014 (PST)

So you have teamColours = True and BLUVMTFile = 'path\to\blue\vmt'? User Moussekateer signature sprite.pngMoussekateer·talk 12:59, 17 February 2014 (PST)
Yes. Darkid (Talk | Contribs) 17:45, 17 February 2014 (PST)
Can you try copying the contents of the blu vmt file into the red file and seeing what happens when you refresh in hlmv? User Moussekateer signature sprite.pngMoussekateer·talk 17:49, 17 February 2014 (PST)
Sure, but I should note that I can change skins just fine within HLMV.
Also, aside from coloration, are there any issues with the file itself?
It has no effect--since I'm not editing the actual .vmt files. Darkid (Talk | Contribs) 20:47, 17 February 2014 (PST)

3D images with custom models

I'm still having trouble zooming out--any ideas? Darkid (Talk | Contribs) 18:09, 20 February 2014 (PST)

3D images

Could you help me? I'm trying to make a 3D image to the wiki, but do not know how. I made the image in all positions and now i want to add to the wiki. How to combine them to create 3D? Max 324 (talk) 21:59, 22 February 2014 (PST)

You need to be using the appropriate python script, which stiches at the end. Darkid (Talk | Contribs) 22:00, 22 February 2014 (PST)
Hm... What should I do with this script? Max 324 (talk) 00:24, 23 February 2014 (PST)
Run it with python. See the 'documentation' here. Darkid (Talk | Contribs) 12:06, 23 February 2014 (PST)
Thanks for help, but I think I use another method. I will try to ask on the page about 3d models. Max 324 (talk) 19:51, 23 February 2014 (PST)
What is the method you used? Because the 3D models are set up in a very specific way, that would be near impossible to do without the script. User Moussekateer signature sprite.pngMoussekateer·talk 19:59, 23 February 2014 (PST)
In TFMV I set the specific starting position and each time changed the position of the camera (it changes every 15 degrees). Example here Max 324 (talk) 19:42, 24 February 2014 (PST)
You must have a lot of patience then. But it would be a lot better for you to use the scripts. Your images don't have transparency, which makes batch cropping and stitching very difficult. If you look at an example finished image you can see what the final 3d image looks like when done properly. User Moussekateer signature sprite.pngMoussekateer·talk 20:06, 24 February 2014 (PST)
No transparency because it was not finished yet. And my workpiece can be united as your example? Max 324 (talk) 20:13, 24 February 2014 (PST)
Yes you can, but the script works by using two copies of every image, one with a black background and one with a white background. But again, the whole process is much much much easier if you use the script to generate the images. User Moussekateer signature sprite.pngMoussekateer·talk 20:30, 24 February 2014 (PST)
And the last question:how to adjust the display position 3d image on the wiki? I saw that the parameter Maps different in different images Max 324 (talk) 19:29, 25 February 2014 (PST)
The script outputs the map into a text file once the stitching is done. User Zabidenu sig.png (contribstalk) 19:31, 25 February 2014 (PST)


Need help with 3D images

Hey, I'm trying to learn how to take images for 3D image. But I'm having trouble with setting up automatebeta.py. Can you give me an example of this? Thanks. Lf400212 (talk) 06:35, 25 March 2014 (PDT)

The process is rather long so it'd be easier if you told me which step you were stuck on. The default file contains some example settings that should guide you. User Moussekateer signature sprite.pngMoussekateer·talk 15:23, 26 March 2014 (PDT)
On a related note, the majority of the 3d images left need recompiling. Darkid (Talk | Contribs) 15:27, 26 March 2014 (PDT)
I've downloaded strongly recommended one from requirements section. and now I'm trying to find out where "automatebeta.py" is, but it isn't going well.. should i open up Notepad and make a new one? plus, i don't know how to do it :/ Lf400212 (talk) 06:29, 27 March 2014 (PDT)
It's in 3D_Models-automation-master. Darkid (Talk | Contribs) 06:45, 27 March 2014 (PDT)

Love and War update

You created skeleton pages for a lot of the new items in the Love and War update. Thanks for doing this, although you seem to have set the patch date on those pages to June 19. The update was released on June 18. Since there was a patch today too, it's important those dates are changed on all the new item pages so people don't get confused between the two patches. --Piemanmoo 18:03, 19 June 2014 (PDT)

Yep, sorry about that. Issue with my script datetime that I will have resolved for next time. I've been trying to fix them by running through the pages with AWB, which should be simple in theory, but I all my edits are timing out due to the wiki load issues. I'll fix any stragglers when I can. User Moussekateer signature sprite.pngMoussekateer·talk 18:11, 19 June 2014 (PDT)

Error uploading audio files

For some reason, I'm still unable to upload certain files.

If you recall my last post from Halloween, I was unable to upload

Sf13_mannbros_argue21.wav because it was too large (2.18MB) and Sf13_blutarch_win06.wav because of the MIME error.

This time around, I'm getting the same problem for Scout_taunt_nun_81.wav and Spy_taunt_dosi_end_11.wav due to

Cannot upload due to Files of the MIME type "application/x-php" are not allowed to be uploaded.

I still encounter the error even after a fresh re-extraction of the files through GCFScape. They play fine on my end.

There's also a strange audio file called mtt_medic_punchnslaps.wav which is 2.19MB and the uploader still won't accept it because it is larger than 2.00MB.

User Upgrade Signature.png 21:15, 20 June 2014 (PDT)

Unfortunately we don't have the ability to change the max file upload size ourselves. As for your other issue, I'm not sure why the server would be detecting the filetype incorrectly. It may be that the file was generated incorrectly and MW's guess at what filetype it is is tripping up for some reason. I'll have a try myself. User Moussekateer signature sprite.pngMoussekateer·talk 05:22, 21 June 2014 (PDT)
It seems like every Halloween there's trouble uploading audio files. On time of getting error messages regarding the MIME type not being accepted, now I'm getting "413 Request Entity Too Large". It seems like I can't upload anything larger than 1MB whereas last year it was 2MB.
I'm not sure what to do and a quarter of the lines on Halloween Boss voice responses page are in red. User Upgrade Signature.png 11:28, 2 November 2014 (PST)
I'll look into it, but we haven't lowered the size limits at all so I'm not sure what's going on. User Moussekateer signature sprite.pngMoussekateer·talk 18:15, 2 November 2014 (PST)

TF2 Character with a transparent background ?

Greetings, mate.
I saw what you did about drawing, etc.
I'm wondering if you could help me.
I have a screenshot of my Soldier here.
I would like to have him with a transparent background.
Like your Engineer on your User page, you see ?
I don't know what should I use to do that.
Can you help me, please ? Scher2o Killicon rocket launcher.png 05:47, 3 July 2014 (PDT)

You're going to need to follow the guide at Team Fortress Wiki:3D Models to create a 3D model. A screenshot won't do unfortunately, you'll need a bit of experience with HLMV and running scripts. User Moussekateer signature sprite.pngMoussekateer·talk 16:47, 4 July 2014 (PDT)

some recompiling resources

Hey there Mousse.

I have a page here which has some small but useful information for the 3D model viewer recompile process.

Just want to run it by you and check if this information could be helpful in any way.

some examples of this in work are:

Equalizer

Minigun

Thanks

RED Überneedle.png - Lexar - talk 06:42, 21 July 2014 (PDT)

Looks good to me. It should be very helpful doing those pesky and tedious recompiles. Thanks for making this, stick it on the page pls. User Moussekateer signature sprite.pngMoussekateer·talk 19:44, 21 July 2014 (PDT)

New version of wikitools

[1].
Also, how's the display template coming along? Darkid (Talk | Contribs) 20:46, 22 July 2014 (PDT)

Did this version of wikitools sort out your upload issues? As for the template, I will push it out soon after I make a few changes. User Moussekateer signature sprite.pngMoussekateer·talk 08:25, 24 July 2014 (PDT)
It doesn't directly have a wikiUpload.py, so I wasn't sure how to integrate it with your code (I don't understand python imports). Darkid (Talk | Contribs) 15:41, 30 July 2014 (PDT)

New languages translations.

Hi,I'm Greek Spy.I'm a user in the wiki and I have also helped with some stud articles but I would like to ask a question....Is the tf2 wiki gonna have any new languages added to it.I have seen that many languages are been supported right now by the wiki and I wonder if I could help in the translation of the articles in Greek.Many gamers here in greece play tf2 but don't use the wiki due ti being in a different language they dont really know.So this also the opportunity for other Greek Tf2 wiki users to help in expanding the wiki.I hope you take that in mind and give me an answer.

Thank you,Greek Spy. GreekSpy (talk) 13:31, 9 August 2014 (PDT)

talk page stalker Heyo, WindPower already gave an answer to a question similar to this before. The wiki only adds languages if it is supported by Valve for TF2. So if you can gather enough greek players and convince valve to add greek language support to TF2, then we can add it here. But until then, we can't really add new languages :( Ashes (talk) 13:43, 9 August 2014 (PDT)
(talk page stalker) Addendum: We support arabic and danish despite them having no official support. If you can get 10+ editors who are all willing to make consistent translations, then the wiki can support the language. Darkid (Talk | Contribs) 14:01, 9 August 2014 (PDT)

wikifi license

Hai :o Your wikifi does not contain any license.md file, neither the files any similar header - under what license do you published the code? so i know, how/if i could fork/edit it slighly for my use :3
Monte / talk 06:15, 15 August 2014 (PDT)

Thanks for bringing that to my attention. I've licensed it under the GPLv3 license now, so go nuts. Hope that helps. User Moussekateer signature sprite.pngMoussekateer·talk 07:20, 15 August 2014 (PDT)

{{Mw-langlink}}

I've got a better version here which should simplify matters. Darkid (Talk | Contribs) 13:49, 27 September 2014 (PDT) Edit: dis.

Receivable from crafting in infobox

Hey Moussekateer, I've got a question. Would it be possible for you/a bot to add whether or not an item is craftable to the infobox (similar to the equip region script you've got)? As far as I'm aware, the craft_class line in the schema (which is in the no_craft prefab for a lot of items that have it, if you get your info from that part of the schema) determines whether or not an item can be received from crafting or not. If it just has "" or doesn't have the line at all, then it can't be crafted. On the other hand, if it has "hat", then it can potentially be received from any recipes that would give you a cosmetic.

The only other things I can see in there are supply_crate, tool, weapon, craft_bar, and craft_token. Tools and crates can't be crafted, so there are no issues with those. craft_bar and craft_token are used for the metals and for the tokens, so they (mostly) wouldn't be an issue as most of them only come from their respective recipes. The problem item with it would be the Haunted Scrap Metal, as that's marked as being a craft_bar, even though it can only be received from an achievement. The odd one is weapon, seeing as it includes all of the stock weapons (and assumedly their Botkiller/Festive/Australium reskins), along with the Ap-Sap, which can't be crafted due to not having a matching token I believe. There'd have to be exceptions for those obviously, but hopefully that wouldn't be too hard.

The only issue with this is what the infobox currently says for the craftable parameter. Either there would need to be a new parameter added to cover this, or the existing "craftable" parameter would need to be changed so that it says the item can be received from crafting, rather than being usable in crafting. I think the second option could be better for this, seeing as the existing parameter is pretty rarely used in the first place.

This sort of thing would hopefully stop issues of people removing craft numbers in the infobox for items that aren't craftable, seeing as Valve seem to have craft numbers be a default setting for almost all cosmetics, apart from tournament medals and a few other ones I think. It could also make it easier to keep these templates up to date, especially if the parameter was changed to put items that can't be received from crafting into a category. --Omolong (talk) 19:30, 29 September 2014 (PDT)

Translating MediaWiki:Toc

Windpower isn't here, I have to bug you now <3
This page contains the "Contents" string in the table of contents. In theory, this should be translated into other languages. What would be a good way of doing getting these strings? For example, we could ask editors, look up this string on wikipedia, add translations per request, etc. Darkid (Talk | Contribs) 23:47, 20 October 2014 (PDT)

I think an entry in the dictionary perhaps? User Moussekateer signature sprite.pngMoussekateer·talk 09:05, 21 October 2014 (PDT)
{{dictionary/items/contents}} Darkid (Talk | Contribs) 16:41, 21 October 2014 (PDT)
Maybe not under /items, there should be a more relevant subsection. User Moussekateer signature sprite.pngMoussekateer·talk 16:48, 21 October 2014 (PDT)
Where, then? Darkid (Talk | Contribs) 17:45, 21 October 2014 (PDT)
Dictionary/common strings? User Moussekateer signature sprite.pngMoussekateer·talk 17:59, 21 October 2014 (PDT)

{{Itemcount}}

I'd like to change this template into a lua module. This should help it keep up-to-date better, since nobody likes updating it. The simplest way seems to be to extract key information from relevant pages, but I'm not quite sure how to do that. Could help me by creating a skeleton module or something similar that I could work off of? Darkid (Talk | Contribs) 05:50, 31 October 2014 (PDT)

You could use the mw.site.stats.pagesInCategory function in lua but A) You'll have to subtract a certain number to get the true count and B) It's an expensive function. Not sure if you could do the same thing with the other counts. User Moussekateer signature sprite.pngMoussekateer·talk 13:02, 31 October 2014 (PDT)
Which count are you thinking of? Also, I was under the impression lua could pull template parameters, is this not right? Darkid (Talk | Contribs) 15:47, 31 October 2014 (PDT)
Like the number of stranges/number of unusuals/etc. I'm not sure what it is you want to do exactly. I thought you wanted this to automatically count the number of items? If so how would you work out how many items there are? User Moussekateer signature sprite.pngMoussekateer·talk 16:18, 31 October 2014 (PDT)
I was confused by your "not sure if you could do the same thing with the other counts" since you didn't specify a count to take the 'others' of. The majority are not in categories, but are in things like Wqc/Cqc, or floating in multiple tables (stranges). Paint variants are detectable, styles are mostly detectable. Some of the info can be pulled from the schema, but that's not quite what I was going for. Darkid (Talk | Contribs) 16:21, 31 October 2014 (PDT)
If you can't count them simply via category count or something similar then it's going to be very difficult to write code that can generate that info. User Moussekateer signature sprite.pngMoussekateer·talk 16:23, 31 October 2014 (PDT)
Let's see...
Cosmetics -- Category:Cosmetic items
Qualities (Vintage, Genuine, Strange, Unusual) -- Could write an extension to the {{Quality list}} in the infobox to place in quality categories.
Styles -- No idea. This information is on the Styles page.
Paintable -- No idea. This information is technically in {{Unpaintable items list}}, but I doubt it's very up-to-date.
Painted variants -- I can get this information manually from the Paint Can page, but I'd rather not hard-code things.
Where might I get the missing few numbers/can I process pages directly? Darkid (Talk | Contribs) 16:29, 31 October 2014 (PDT)
Not sure about styles. Paintable you can use Category:Paintable items, and painted variants I suppose you'll just have to math. It may be a lot of work (and an expensive module) to write just to keep the list up to date automatically but you can science. User Moussekateer signature sprite.pngMoussekateer·talk 18:14, 2 November 2014 (PST)
Just a small thing here, there is Category:Items with styles for styles. It has to be manually put onto item pages, but I'm pretty sure that it should contain all items that have styles. --Omolong (talk) 18:32, 2 November 2014 (PST)
Categories include all languages -.- so I need a way to process all elements in a category. I'm poking around for useful Lua modules, but I don't really know where to look. Darkid (Talk | Contribs) 21:10, 2 November 2014 (PST)
They shouldn't afaik? They contain lang subcategories indeed but there may be a way to get back the category members without subcategories. This page should help you. User Moussekateer signature sprite.pngMoussekateer·talk 21:19, 2 November 2014 (PST)

────────────────────────────────────────────────────────────────────────────────────────────────────Of course. Whoops. Anyways, if we're just using templates, why not just use {{PAGESINCATEGORY:}}? Darkid (Talk | Contribs) 21:25, 2 November 2014 (PST)

Yes, you could use that too. If getting the counts is straightforward then you could just go down the template route, but anything slightly more complicated and it'd be better as a module. I can't think of the top of my head now what a roadblock could be but there probably will be one :3 User Moussekateer signature sprite.pngMoussekateer·talk 21:33, 2 November 2014 (PST)
Well if there's no benefit to using the module beyond simple math, then I don't see a need to use it. Darkid (Talk | Contribs) 21:34, 2 November 2014 (PST)

I seeketh guidence.

Ill tell you the quidence im after if you reply. Try replying with nonesense words. ScottishDrunkard (talk) 02:14, 2 January 2015 (PST)

what. User Moussekateer signature sprite.pngMoussekateer·talk 04:20, 2 January 2015 (PST)
Okay, good you responded. You see, many cosmetic pages have incorrect grammar. Someone tried changing it on one page an another user (who I leave unnamed for reasons) because it dosent match with the other page... A good idea would be to fix the grammar on all the page. I want to fix them but I fear of them getting undone. What should I do? (P.S. I would like to be banned from getting the Wiki Cap on my own accord. Can you do that?) ScottishDrunkard (talk) 04:36, 2 January 2015 (PST)
Okay, me again. Ignore everything I said as it was a mistake of grammar. Ignore everything. (Exept my request for getting banned from ever acheiving a Wiki Cap. I have reasons) ScottishDrunkard (talk) 10:32, 2 January 2015 (PST)

Request for advice on new project

Hi there. I'm making a new Wiki project that has to do with defining game difficulty using a set of metrics. It's hosted at http://game-difficulty.wikia.com/wiki/, where I hope it will be manageable for many users. I've already gotten some advice, but not from people with a ton of experience with Wikia. Of course you've been on the TF2 Wiki for a long-ass time, so I do want some advice from you.

The Wiki is still in a very early state of development, where almost all of the metrics have yet to be formulated into pages. It's not a scientific wiki, but it's one that I'm trying to make interesting. It's something that nobody has ever done before with much ambition, so I hope that I can crate something interesting.

If you have the time and the energy to do so, I would like to chat. I don't expect you to hop on board and start smacking pages around, but I do want a perspective on how the whole Wiki thing comes together. I have Skype and Steam (http://steamcommunity.com/id/internet-wastelander/) as my main comms - my history with e-mail is tragic.

Thanks for reading this,

Samuel Enthers 19:03, 7 January 2015 (PST)

Looks interesting. I'd love to contribute (as I do) in the form of technical backend, though the project looks coneceptually solid as well. Darkid (Talk | Contribs) 20:04, 7 January 2015 (PST)

Facial Flex and sequence frame on 3D Image program?

Hi Moussekateer, I was wondering where can I configure the facial flex and the frames on the 3D image program. The classes page shows the frame and facial flex in some of the classes, but I have no idea where to put. Thanks. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 10:23, 22 April 2015 (PDT)

Unfortunately you have to set screenshotPause to true in the script and set up the model between every screenshot manually for those. User Moussekateer signature sprite.pngMoussekateer·talk 18:37, 22 April 2015 (PDT)
After setting the facial flex I want, what button do I press to continue? I suppose Num Lock? User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 20:14, 22 April 2015 (PDT)