Portal 2 (Other files)
Miscellaneous Portal 2 mods, assets, tools, and non-map downloads.
FlipCounter Instance (and vmf example)
I made this instance for my map and I managed to make it pretty much user friendly so I decided to share it. So it's basically a flip counter that goes from 0 up to 9(and loops) every time you trigger it. All you need to do is to put it as an instance and name it how you want. Trigger it with anything you want. And also you have a parameter for a starting value. Put any number from 0-9 and that will be the default number when the map spawns. I was having troubles getting the instance to return the value so it can trigger something else so I just figured a way to do that outside the instance with just one math_counter and one logic_case. It's all included in the example vmf. It looks pretty cool, I used panel animation to make the flipping look nicer. Although I wanted to make a real flipcounter where every number is split in half, but that would require twice as many brushes and 10 times a many patience .. it look cool enough Use it however you want, it's my gift to the community. Would be nice to credit me wherever you use it, but I'm not gonna hunt you if you don't
TSL_AutoDoor
This Autodoor Func_Instance as 4 optional Sises, extended with Windows, and 1 without winodws. UPDATE: New future build in, for Gameplay options: Lights On/Off IO_Proxy, and you can start in the dark. The Sises are : Only the door : 128x144x32 With Windows : 128x256x32, 128x384x32, 128x512x32 without Shoot Hole and 128x512x32 with Shoot Hole Read the document i included in the rar file for the paremeters and of settings and other explanations. Know Problem : Light indexing if you use my door and other light entities (not the Glass/Wall Lighting), but read the document i included. Issues: Non atm Fixed: - Lights by rotating the Func_Instace will be fail on 1 or both Window Sides its fixed as good as possible. If users still experians error on the lights please notify me. Requests: Door wide bringing to 128 instead of the 144 (by lpfreaky90) and will be looked in. (See the Topic for my Reaction) KEEP IN MIND TO REMOVE OLD FILES BEFORE YOU COPY THE NEW FILES! Regards Teddybeer
changelevel example + source
this is an example of how to make a changelevel. please read the readme file, it helps a lot. give feedback unfortunately i cannot create this into a instance as you have to change some of the values, then add it into the download (and no one want one thousand custom changelevels) so just stick to making one yourself.
Portal 2 Timers example
=================== Portal 2 timer examples =================== This is just an example map that includes the basics of 2 working timers (a countdown and a countup) that uses custom materials (numbers). The intention is to show the required entities and their inputs/outputs to understand the logic behind a timer made in the hammer editor. Also this method allows you the posibility to use your own custom typo/numbers to fit your map's aesthetics... For this example I used the typo "DIN Next LT Pro Condensed", because I think it's pretty much similar to the typo used by Valve for the signage lightboard; so if you are too lazy to make your own material and want to use it in a normal Portal2 map, it'll look good. So the purpose for this could be considered as merely didactic The basic idea under this method is to make an overlay with 10 frames (the ten numbers, from 0-9) and go changing its textureindex with the entity "env_texturetoggle". HOW TO MAKE YOUR OWN CUSTOM NUMBERS ---------------------------------------------------------------- 1. Open an image editor of your choice, take the font that you like and make 10 separate images, one per number (from 0 to 9), and REMEMBER to always give the image a size which values are a power of 2 (like 128x256 that I gave in this case). I prefer making .png files... you can do .tga as well... Whatever format that allows you recording an alpha channel (transparency) because this way, our numbers overlays would be stickable on whatever texture 2. Name each of them with a name followed by a suffix like "_0", "_1", "_2", and so on... Obviously, try to make that suffix coincides with the number into the image... lol. 3. Now open VTFEdit (http://nemesis.thewavelength.net/index.php?c=178) and go to File > Import. Now select at the same time (holding Ctrl or Shift keys down) all the ten image files. Do not resize the images. You can check into the "info" tab how the file contains 10 frames (each of them is a different number). I also made a cutie dots (":") to separate the seconds from the minutes and make them flicker: for this you need to make 2 textures, one with the dots and other completely empty but with the same size, then do the same as for the numbers, import them with VTFEdit selecting both at the same time. 4. Then save this file as .vtf into your "materials" folder (you can create whatever folder of your choice into /materials of course) giving it a whatever name. 5. Now you should create the .vmt file for the above .vtf file. Both names must be the same, only their extensions change... In this example, my .vmt file contains the following: UnlitGeneric { $baseTexture "josepezdj/numbers/black_numbers" $surfaceprop glass $translucent 1 "%keywords" portal $decal 1 Proxies { ToggleTexture { toggleTextureVar $baseTexture toggleTextureFrameNumVar $frame toggleTextureShouldWrap 0 } } } You can simply copy all that only replacing the path "josepezdj/numbers/black_numbers" by the one where your .vtf file is located and the name of your file. I guess it's clear. However, do not hesitate to ask whatever question or doubt Once created your custom texture for the ten numbers, check inside the attached .vmf in your hammer editor to see how you can set the timers up easily. Read the Readme.txt file for instructions info. A further post with an explanation in detail about how the timer system works is in the topic of this download, for those who doesn't really extract much info from the vmf file... josepezdj
Cube Dropper Example
The first thing i made in hammer, i started using hammer about 2 weeks ago and wanted to do something. This is my version of a cube dropper without instances, i combined the tutorial of portal cube droppers and some of my ideas for outputs. You can get a cube by pressing the button and then you can destroy it and get another one by pressing the button again or throwing the cube into the toxic slime. Pls give some feedback and rate. And remember, when life gives you lemons, burn someones house down.
Ratman Drawings v.0
Hello Here's my Ratman Drawings pack for more info read the "readme" in side the file. ======Updates====== ======v.0====== +Releace
Panel models 32 & 64
A request by ChickenMobile. She wanted 32322 and 64648 panels with ceiling/wall textures. The 32-panels have ceiling textures. Skin 0 - observation room ceiling Skin 1 to 8 - underground ceiling tiles, different variations Skin 9 to 16 - white dirty ceiling tiles, different variations The 64-panels have wall textures. Skin 0 - black metal wall Skin 1 to 16 - destroyed metal wall, different variations If you want to have other skins, ask me.
Scene Voice Script Package
These are a number of files which you can use to play Valve's scene files for voice lines. You can create your own custom order for the scenes like the way Valve has done it. This example mainly covers coop GLaDOS. If you really want to use a custom scene this is the only way to do it if the Scene Table is personalised for a certain map. I highly suggest you don't go all out unless you are making a mod or a larger map-pack. Check out: https://developer.valvesoftware.com/wiki/Portal_2_VCDs for references of each scene.
Frames prefabs
This file contains two prefabs: one for a doorframe, one for a funnel frame. To use these, place them in steam/steamapps/common/portal 2/bin/Prefabs. In hammer, click the entity tool and then select prefabs, and choose the one you want to use.
Custom "pedestal button" with 4 skins + Example Instances
This is a custom model based on the stock "pedestal button" but with 4 skins: I just decompiled the stock model and edited the .QC file to recompile it again with more textures. This was requested to me by Srs Bsnss and I thought somebody else in the community could be interested in it as well. This is a pack that includes the following: 1. A custom model based in the stock "pedestal button" (switch.MDL) with 4 skins instead of 2: - Skin 0 = Clean button OFF (blue lines) - Skin 1 = Dirty button OFF (blue lines) - Skin 2 = Clean button ON (yellow lines) - Skin 3 = Dirty button ON (yellow lines) 2. A custom animated texture with 4 frames to match the button type and state. These are: Clean ON and OFF, and Dirty ON and OFF. 3. An instance called "custom_prop_button.vmf" emulating the prop_button Portal2 entity, where you can select the value of the following variables: - Button_reset_delay = you can enter whatever float value (a number with decimals) or integers. This value determines the time for the button to reset and go back to the initial state. - Button_type = "0" is the clean one while "1" is the dirty model. Note that the pedestal skins will change as well accordingly in this instance - Play_timer_sound = "0" means not to play it, while "1" means to do. It will play or not the classical "tick-tack" sound. - Prevent_fast_reset = "0" means no, and "1" means yes. This will prevent the player from pressing the button again while it's still into the "reset_delay" time set before. 4. An example map in the case you need help with setting the button up into hammer. 5. The decompiled files (the .QC file and the .SMD files) for anyone interested in changing something in the model or adding even more skins and whatnot... INSTRUCTIONS - There's a folder inside the zipped file you downloaded called "portal 2", this folder and its structure inside is exactly as the one you have in your computer, so just copy the folder "portal 2" on the "Steam/SteamApps/Common" folder, and everything will go to its right place. - The custom button model is named "switch_4skins.mdl" and it is located under /models/props/ folder - The model's textures are located into /materials/models/props/ folder - The custom texture jose_button_frame_alpha(.VMT and .VTF) for the pedestal base goes into /materials/josepezdj/detail/ folder - The instance with the example button is into sdk_content/maps/instances/josepezdj/ folder - The example map (.VMF and .BSP) into sdk_content/maps/ folder NOTE Don't forget to give it a NAME to your func_instance into hammer when you use the custom instance "custom_prop_button.vmf" for its I/O to work properly Do not hesitate to ask me anything related to this content. Cheers! jose ChangeLog v1.1 - I improved the button textures tweaking a bit the alpha channel in order to get the right self-illumination - I added the corresponding (multi-framed) texture for the button's pedestal itself including the 4 skins/frames (clean-dirty / on-off) v1.2 - I added 2 more variables to the button instance: the "prevent fast reset" feature, and the possibility to play the timer sound.