Skip to content

Commit 4b45a42

Browse files
committed
feat: asset modifications page
1 parent 97e9893 commit 4b45a42

39 files changed

Lines changed: 302 additions & 2 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
out/**/index.html
1+
out/**
22

33
# JetBrains IDE project settings
44
.idea/

content/index/03_general-rules/05_asset-modifications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ are present in the game or Steam directory to modify an asset is not allowed.
1919
Modpacks, which are curated by the moderators, are allowed to be used in runs without
2020
restrictions. These modpacks can be found in the #resources channel of the [P2SR
2121
discord](https://discord.com/invite/hRwE4Zr). Other than modpacks, you can only
22-
modify the assets listed on this [Google Doc](https://docs.google.com/document/d/1C8lGxwyicsJU29Twrr0Xf8TfvjM6YV4qKjgPpxGtu_0/edit).
22+
modify the assets listed on [this page](/textures/).

content/textures/00_textures.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Custom Textures
2+
3+
This page lists all textures that are allowed to be modified without a verified
4+
modpack.
5+
6+
All verified modpacks can be found in this [Google Drive](https://drive.google.com/drive/folders/1kcDkGKFbo6yNB5VtB6M7v3FZFFG9SFgv).
7+
8+
To see how to change textures, see [this wiki page](https://wiki.portal2.sr/Texture_Modification).
9+
For mods like Portal Stories: Mel, follow [this guide](https://discord.com/channels/146404426746167296/425395750818807839/1178014065063379095)
10+
as well, as textures work a little differently.
11+
12+
If you have any questions, ask in `#help` in the [P2SR Discord Server](https://discord.com/invite/hRwE4Zr).
13+
14+
Currently, only `.vtf` files are allowed to be edited, except using verified
15+
modpacks. If you have a request for a `.vmt` or other file type change, please contact mods
16+
directly. You can submit a modpack for verification at this [Google Form](https://forms.gle/LVzXiyAnRNGqBJup8).
17+
18+
Portal color can be changed using the `sar_portalcolor_*` commands.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### Allowed Textures
2+
3+
<style>
4+
td img {
5+
display: block;
6+
margin: auto;
7+
max-width: 256px;
8+
max-height: 192px;
9+
}
10+
</style>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#### Portal Guns
2+
3+
<table>
4+
<tr>
5+
<th>Texture</th>
6+
<th>Image</th>
7+
<th>Path and Extra Information</th>
8+
</tr>
9+
<tr>
10+
<td>Singleplayer Gun</td>
11+
<td><img src="img/sp_portalgun.webp" alt="Singleplayer Gun"></td>
12+
<td>
13+
<code>materials/models/weapons/v_models/v_portalgun/v_portalgun.vtf</code> (viewmodel, shows in HUD)<br/>
14+
<code>materials/models/weapons/w_models/w_portalgun/w_portalgun.vtf</code> (worldmodel, shows in world/through portals)
15+
</td>
16+
</tr>
17+
<tr>
18+
<td>Singleplayer PotatOS<br/>(Potato Texture)</td>
19+
<td><img src="img/sp_potatos.webp" alt="Singleplayer PotatOS"></td>
20+
<td>
21+
<code>materials/models/weapons/v_models/v_portalgun/potatos_vmodel.vtf</code> (viewmodel)<br/>
22+
<code>materials/models/w_models/portalgun/w_portalgun_potatos.vtf</code> (worldmodel)
23+
</td>
24+
</tr>
25+
<tr>
26+
<td>Co-Op Atlas Gun</td>
27+
<td><img src="img/mp_portalgun1.webp" alt="Co-Op Atlas Gun"></td>
28+
<td>
29+
<code>materials/models/weapons/v_models/v_portalgun/v_portalgun_blue.vtf</code> (viewmodel, shows in HUD) <br/>
30+
<code>materials/models/weapons/w_models/w_portalgun/w_portalgun_blue.vtf</code> (worldmodel, shows in world/through portals)
31+
</td>
32+
</tr>
33+
<tr>
34+
<td>Co-Op P-Body Gun</td>
35+
<td><img src="img/mp_portalgun2.webp" alt="Co-Op P-Body Gun"></td>
36+
<td>
37+
<code>materials/models/weapons/v_models/v_portalgun/v_portalgun_orange.vtf </code> (viewmodel, shows in HUD) <br/>
38+
<code>materials/models/w_models/portalgun/w_portalgun_orange.vtf</code> (worldmodel, shows in world/through portals)
39+
</td>
40+
</tr>
41+
</table>

content/textures/03_cubes.html

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
#### Cubes and Balls
2+
3+
<table>
4+
<tr>
5+
<th>Texture</th>
6+
<th>Image</th>
7+
<th>Path and Extra Information</th>
8+
</tr>
9+
<tr>
10+
<td>Normal Cubes</td>
11+
<td><img src="img/cube.webp" alt="Normal Cubes" width="256px"></td>
12+
<td>
13+
<code>materials/models/props/metal_box.vtf</code> (off)<br/>
14+
<code>materials/models/props/metal_box_skin002.vtf</code> (on)
15+
</td>
16+
</tr>
17+
<tr>
18+
<td>Dilapidated Cubes</td>
19+
<td><img src="img/cube_old.webp" alt="Dilapidated Cubes" width="256px"></td>
20+
<td>
21+
<code>materials/models/props/metal_box_skin003.vtf</code> (off)<br/>
22+
<code>materials/models/props/metal_box_skin005.vtf</code> (on)
23+
</td>
24+
</tr>
25+
<tr>
26+
<td>Companion Cubes</td>
27+
<td><img src="img/cube_friend.webp" alt="Companion Cubes" width="256px"></td>
28+
<td>
29+
<code>materials/models/props/metal_box_skin001.vtf</code> (off)<br/>
30+
<code>materials/models/props/metal_box_skin004.vtf</code> (on)
31+
</td>
32+
</tr>
33+
<tr>
34+
<td>Laser Cubes</td>
35+
<td><img src="img/cube_laser.webp" alt="Laser Cubes" width="256px"></td>
36+
<td>
37+
<code>materials/models/props/reflecto_cube_shell.vtf</code> (clean)<br/>
38+
<code>materials/models/props/reflecto_cube_shell_rusted.vtf</code> (dilapidated)
39+
</td>
40+
</tr>
41+
<tr>
42+
<td>Old Aperture Cubes</td>
43+
<td><img src="img/cube_older.webp" alt="Image" width="256px"></td>
44+
<td>
45+
<code>materials/models/props_underground/underground_weighted_cube.vtf</code>
46+
</td>
47+
</tr>
48+
<tr>
49+
<td>Turrets / Frankenturrets</td>
50+
<td><img src="img/cube_turret.webp" alt="Image" width="256px"></td>
51+
<td>
52+
<code>materials/models/npcs/monsters/turret_box.vtf</code> (only the shell)<br/>
53+
<code>materials/models/npcs/turret/turret_casing.vtf</code> (turret faces, ALSO CHANGES NORMAL TURRETS)<br/>
54+
<code>materials/models/npcs/turret/turret_eye.vtf</code>
55+
</td>
56+
</tr>
57+
<tr>
58+
<td>Balls</td>
59+
<td><img src="img/cube_ball.webp" alt="Image" width="256px"></td>
60+
<td>
61+
<code>materials/models/props_gameplay/mp_ball.vtf</code> (off)<br/>
62+
<code>materials/models/props_gameplay/mp_ball_orange.vtf</code> (on)
63+
</td>
64+
</tr>
65+
</table>

content/textures/04_buttons.html

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#### Buttons
2+
3+
<table>
4+
<tr>
5+
<th>Texture</th>
6+
<th>Image</th>
7+
<th>Path and Extra Information</th>
8+
</tr>
9+
<tr>
10+
<td>Floor Buttons</td>
11+
<td><img src="img/button.webp" alt="Floor Buttons"></td>
12+
<td>
13+
<code>materials/models/props/portal_button_blue.vtf</code> (off)<br/>
14+
<code>materials/models/props/portal_button_orange.vtf</code> (on)
15+
</td>
16+
</tr>
17+
<tr>
18+
<td>Dilapidated Floor Buttons</td>
19+
<td><img src="img/button_old.webp" alt="Dilapidated Floor Buttons"></td>
20+
<td>
21+
<code>materials/models/props/portal_button_destroyed_blue.vtf</code> (off)<br/>
22+
<code>materials/models/props/portal_button_destroyed_orange.vtf</code> (on)
23+
</td>
24+
</tr>
25+
<tr>
26+
<td>Cube Floor Buttons</td>
27+
<td><img src="img/button_cube.webp" alt="Cube Floor Buttons"></td>
28+
<td>
29+
<code>materials/models/props/box_socket.vtf</code> (off)<br/>
30+
<code>materials/models/props/box_socket_orange.vtf</code> (on)
31+
</td>
32+
</tr>
33+
<tr>
34+
<td>Ball Floor Buttons</td>
35+
<td><img src="img/button_ball.webp" alt="Ball Floor Buttons"></td>
36+
<td>
37+
<code>materials/models/props/ball_button.vtf</code> (off)<br/>
38+
<code>materials/models/props/ball_button_orange.vtf</code> (on)
39+
</td>
40+
</tr>
41+
<tr>
42+
<td>Old Aperture Floor Buttons</td>
43+
<td><img src="img/button_older.webp" alt="Old Aperture Floor Buttons"></td>
44+
<td>
45+
<code>materials/models/props_underground/underground_floor_button.vtf</code>
46+
</td>
47+
</tr>
48+
<tr>
49+
<td>Pedestal Buttons</td>
50+
<td><img src="img/button_pedestal.webp" alt="Pedestal Buttons"></td>
51+
<td>
52+
<code>materials/models/props/switch.vtf</code> (normal)<br/>
53+
<code>materials/models/props/switch_skin002.vtf</code> (dilapidated)<br/>
54+
<code>materials/models/props_underground/underground_testchamber_button.vtf</code> (old aperture)
55+
</td>
56+
</tr>
57+
</table>

content/textures/05_doors.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#### Doors
2+
3+
<table>
4+
<tr>
5+
<th>Texture</th>
6+
<th>Image</th>
7+
<th>Path and Extra Information</th>
8+
</tr>
9+
<tr>
10+
<td>Test Chamber Doors</td>
11+
<td><img src="img/door.webp" alt="Test Chamber Doors"></td>
12+
<td>
13+
<code>materials/models/props/portal_door_02.vtf</code> (front)<br/>
14+
<code>materials/models/props/portal_door_destroyed.vtf</code> (back)
15+
</td>
16+
</tr>
17+
<tr>
18+
<td>Old Aperture Doors</td>
19+
<td><img src="img/door_old.webp" alt="Old Aperture Doors"></td>
20+
<td>
21+
<code>materials/models/props_underground/test_chamber_door.vtf</code>
22+
</td>
23+
</tr>
24+
<tr>
25+
<td>Push Door</td>
26+
<td><img src="img/door_bar.webp" alt="Push Door"></td>
27+
<td>
28+
<code>materials/models/props_underground/underground_door_dynamic.vtf</code>
29+
</td>
30+
</tr>
31+
<tr>
32+
<td>Vertical Door</td>
33+
<td><img src="img/door_vert.webp" alt="Vertical Door"></td>
34+
<td>
35+
<code>materials/models/props/vert_door/vert_door.vtf</code>
36+
</td>
37+
</tr>
38+
</table>
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
#### Miscellaneous Textures
2+
3+
<table>
4+
<tr>
5+
<th>Texture</th>
6+
<th>Image</th>
7+
<th>Path and Extra Information</th>
8+
</tr>
9+
<tr>
10+
<td rowspan="2">Misc. Co-Op Textures</td>
11+
<td><img src="img/ping.webp" alt="ping"></td>
12+
<td>
13+
<code>materials/signage/coop_animals.vtf</code> (Atlas Ping Board in Calibration)<br/>
14+
<code>materials/signage/coop_periodic_table.vtf</code> (P-Body Ping Board in Calibration)
15+
</td>
16+
</tr>
17+
<tr>
18+
<td><img src="img/disc.webp" alt="disc"></td>
19+
<td><code>materials/models/props_gameplay/laser_disc.vtf</code> (Co-Op disc)</td>
20+
</tr>
21+
<tr>
22+
<td>Laser Textures</td>
23+
<td><img src="img/laser_emitter.webp" alt="laser_emitter"></td>
24+
<td>
25+
<code>materials/sprites/purplelaser1.vtf</code> (Laser color)<br/>
26+
<code>materials/sprites/purpleglow1.vtf</code> (Laser glow particles)
27+
</td>
28+
</tr>
29+
<tr>
30+
<td>Finale 4 Moon</td>
31+
<td><img src="img/moon.webp" alt="moon"></td>
32+
<td>
33+
<code>materials/skybox/moon_card_1a.vtf</code>
34+
</td>
35+
</tr>
36+
<tr>
37+
<td>Container Ride TV Video</td>
38+
<td><img src="img/tv.webp" alt="tv"></td>
39+
<td>
40+
<code>materials/models/props_motel/tv_screen001.vtf</code>
41+
</td>
42+
</tr>
43+
<tr>
44+
<td>Challenge Mode Flags</td>
45+
<td><img src="img/flags.webp" alt="flags"></td>
46+
<td>
47+
<b>All in <code>portal2_dlc1/pak01_dir.vpk</code></b><br/>
48+
<code>materials/models/props/stopwatch_finish_line/stopwatch_finish_line_2_colors.vtf</code><br/>
49+
<code>materials/models/props/stopwatch_finish_line/stopwatch_finish_line_blue.vtf</code><br/>
50+
<code>materials/models/props/stopwatch_finish_line/stopwatch_finish_line_orange.vtf</code><br/>
51+
<code>materials/models/props/stopwatch_finish_line/stopwatch_finish_line_no_color.vtf</code>
52+
</td>
53+
</tr>
54+
<tr>
55+
<td>Posters</td>
56+
<td><img src="img/paradox.webp" alt="paradox"></td>
57+
<td>
58+
<code>materials/signage/underground_80s_paradoxes.vtf</code> (Paradoxes Poster in Three Gels)<br/>
59+
<code>materials/signage/underground_80s_implosion02.vtf</code> (Implosion Poster in Neurotoxin Sabotage)
60+
</td>
61+
</tr>
62+
<tr>
63+
<td rowspan="2">Loading Screens</td>
64+
<td><img src="img/logo.webp" alt="portal2logo"></td>
65+
<td><code>materials/vgui/portal2logo.vtf</code> (menu and loading screens)</td>
66+
</tr>
67+
<tr>
68+
<td><img src="img/spinner.apng" alt="spinner"></td>
69+
<td><code>materials/vgui/spinner.vtf</code> (save/load spinner)</td>
70+
</tr>
71+
</table>

content/textures/img/button.webp

30.1 KB
Loading

0 commit comments

Comments
 (0)