Difference between revisions of "Modified Fizzler Fields"
m (→Pink Fizzler Field (Liquid Coloring Excision Field)) |
(Change section names and improve SDF tutorial) |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | '''Modified fizzler fields''' are a custom element that is not shipped with [[Portal 2]]. It's basically a modified [[Emancipation Grid]] that behaves differently depending on the color of the field. | + | '''Modified fizzler fields''' are a custom element that is not shipped with [[Portal 2]]. It's basically a modified [[Emancipation Grid]] that behaves differently depending on the color of the field. |
+ | {{note|For fields longer than 128 units, you wil need to use the <code>l</code>, <code>r</code> and <code>center</code> fizzler textures as explained [[Emancipation Grid#Larger Fizzlers|here]]. For fields taller than 128 units, you will need to split it into multiple 128-unit high brushes.}} | ||
http://s18.postimg.org/oelik7qtl/2016_01_01_00002.jpg | http://s18.postimg.org/oelik7qtl/2016_01_01_00002.jpg | ||
==Creation== | ==Creation== | ||
− | This assumes you have a level to put the fields in. If not, [[Level_Design_Introduction_(Portal_2)/Your_First_Level|this page] | + | This assumes you have a level to put the fields in. If not, [[Level_Design_Introduction_(Portal_2)/Your_First_Level|this page]] will show you the basics. You will also need to have downloaded the [https://www.dropbox.com/s/fzx5svyy51wfxs1/Modified%20Fizzler%20Fields.zip?dl=0 Field texture pack] that contains the custom fizzler textures (Look at the vmf of this file to see exactly how it works). |
− | {{note|If the texture is misaligned, use the tool texture, click on the surface you want to align, then click on "Fit" button.}} | + | {{note|If the texture is misaligned, use the tool texture, click on the surface you want to align, then click on "Fit" button.}} |
− | === | + | ===Surface Division Field (Green field)=== |
− | Essentially a world portal that | + | Essentially a [[linked_portal_door|world portal]] that portals cannot be fired through. It does not fizzle cubes or clear portals. Because this field is a portal, you will need to make a second field which it is linked to. This testing element was initially made for the map [http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=1585 FourthReaper's Penrose]. |
− | It is a | ||
− | 1. Create a | + | 1. Create a 128*128*1 {{ent|trigger_portal_cleanser}} textured with the [[Tool textures|tools/nodraw]] texture. Set the field to be visible and uncheck the <code>Clients</code> flag. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | 2. Texture the face you will see with <code>fr_surface_division_field</code>. | |
− | + | 3. Create a {{ent|linked_portal_door}} and apply the following settings: | |
− | |||
::{| class=standard-table | ::{| class=standard-table | ||
|- | |- | ||
Line 35: | Line 25: | ||
| Linked Partner || green_field_2 | | Linked Partner || green_field_2 | ||
|- | |- | ||
− | | Width || | + | | Width || Half of the field's width |
|- | |- | ||
− | | Height || | + | | Height || Half of the field's height |
|- | |- | ||
| Start active || Yes | | Start active || Yes | ||
|- | |- | ||
− | |} | + | |} |
− | + | ||
+ | For the second field, the Name and Linked Partner should be swapped. | ||
− | {{ | + | {{tip|It is helpful if you put the field in front of the <code>linked_portal_door</code>. This can minimize the likelihood of odd visual behavior when you pass things like lasers or funnels through field. If you have lasers or funnels, it is also helpful to put a <code>func_brush</code> behind the field. This will help to prevent odd visual behavior.}} |
+ | {{note|If the player is able to see the back of the field, you will also need to apply the field texture to the back and add a second <code>linked_portal_door</code> facing in the opposite directon.}} | ||
− | === | + | This will create a <code>linked_portal_door</code> which covers the entire <code>trigger_portal_cleanser</code>. |
+ | |||
+ | ===Force Deflection Field (Orange field)=== | ||
This field prevents everything from passing it, except portal shots. It is essentially a reskin of grating. | This field prevents everything from passing it, except portal shots. It is essentially a reskin of grating. | ||
This field is created in a similar way as the green field. It does, however, have few differences as well. | This field is created in a similar way as the green field. It does, however, have few differences as well. | ||
− | 1. Create a [[ | + | 1. Create a [[func_brush]] and texture it like you did the surface division field, except use fr_force_deflection_field. |
2. Set it as follows: | 2. Set it as follows: | ||
Line 63: | Line 57: | ||
{{note|Make sure the 2 ''func brushes'' are the same size. This will ensure that the orange field functions properly.}} | {{note|Make sure the 2 ''func brushes'' are the same size. This will ensure that the orange field functions properly.}} | ||
+ | {{Note|You don't have to, but I prefer to give them the same name to save time when setting what activate/deactivate it.}} | ||
− | === | + | ===Matter Inquisition Field (Yellow field)=== |
This field will fizzle things and block portals but will not reset portals. | This field will fizzle things and block portals but will not reset portals. | ||
− | 1. Create a field as you did with the green field, steps 1 and 2 | + | 1. Create a field as you did with the green field, steps 1 and 2 |
2. Texture the face of the field with fr_matter_inquisition_field. | 2. Texture the face of the field with fr_matter_inquisition_field. | ||
Line 73: | Line 68: | ||
3. Uncheck the ''Clients'' flag and check the ''Physics Objects'' flag under '''flags'''. | 3. Uncheck the ''Clients'' flag and check the ''Physics Objects'' flag under '''flags'''. | ||
− | === | + | ===Compressed Smoke Field (Purple field)=== |
This field will block the player and prevent portals from being fired through it, but allow physic objects to pass. | This field will block the player and prevent portals from being fired through it, but allow physic objects to pass. | ||
Line 82: | Line 77: | ||
3. Create a '''func brush''' and texture it with tools/playerclip. | 3. Create a '''func brush''' and texture it with tools/playerclip. | ||
− | === | + | {{Note|You don't have to, but I prefer to give them the same name to save time when setting what activate/deactivate it.}} |
+ | |||
+ | ===Liquid Coloring Excision Field (Pink field)=== | ||
It is esentially a fizzler for paint. It block portals, but does not fizzle portals or cubes. Only paint will be destroyed when the field is active. | It is esentially a fizzler for paint. It block portals, but does not fizzle portals or cubes. Only paint will be destroyed when the field is active. | ||
Line 91: | Line 88: | ||
3. Texture the faces that you'll see with fr_liquid_coloring_excision_field. | 3. Texture the faces that you'll see with fr_liquid_coloring_excision_field. | ||
− | 5. Create a [[ | + | 5. Create a [[trigger_paint_cleanser]] that is the same size. Texture this in tools/trigger. No properties need to be changed. |
{{Note|You don't have to, but I prefer to give them the same name to save time when setting what activate/deactivate it.}} | {{Note|You don't have to, but I prefer to give them the same name to save time when setting what activate/deactivate it.}} | ||
− | === | + | ===Death Fizzler (Red field)=== |
− | This field prevents everything from passing it, except lasers (as a non solid glass) | + | This field prevents everything from passing it, except lasers (as a non solid glass). |
+ | This field was featured in Portal Stories: Mel. | ||
− | 1. | + | 1. Create a field as you did with the green field, steps 1 and 2 |
+ | 2. Check the "Physics Objects" flag | ||
+ | |||
+ | 3. Texture with fr_death_field_fizzler | ||
+ | |||
+ | 4. Create a [[trigger_hurt]] (same size that the previous field), and texture it with tools/trigger | ||
+ | |||
+ | 5. Set it as follows: | ||
+ | ::{| class=standard-table | ||
+ | |- | ||
+ | ! Property Name || Value | ||
+ | |- | ||
+ | | Damage || 1000 | ||
+ | |} | ||
+ | |||
+ | {{Note|You don't have to, but I prefer to give them the same name to save time when setting what activate/deactivate it.}} | ||
+ | |||
+ | ===Physics Repulsion Field (Dark green field)=== | ||
+ | This fizzler only blocks physic objects (as cubes); you can shoot through it, and this doesn't fizzle portals | ||
+ | |||
+ | 1. Create a field as you did with the orange field, steps 1 and 2, except use fr_forcefield | ||
+ | |||
+ | 2. Create a [[func_clip_vphysics]] (same size that the previous field), and texture it with tools/trigger. No properties need to be changed. | ||
+ | |||
+ | {{Note|You don't have to, but I prefer to give them the same name to save time when setting what activate/deactivate it.}} | ||
==Controlling the Fields== | ==Controlling the Fields== | ||
− | You can of course control these fields just like any other object. If you choose to make the fields controllable, you will need to give the fields names. I find it easiest to name the field for its color; such as green_field_1, purple_field_east, etc. | + | You can of course control these fields just like any other object. If you choose to make the fields controllable, you will need to give the fields names. I find it easiest to name the field for its color; such as green_field_1, purple_field_east, etc. That way I can remember where the devil the silly thing is in the room. The, you just have to use enable/disable output, except for the green fizzler field where the output is Open/Close |
− | + | (If you haven't followed my advice to give the same name of the two part of the field, you have to enable/disable both) | |
− |
Latest revision as of 19:23, 1 November 2017
Modified fizzler fields are a custom element that is not shipped with Portal 2. It's basically a modified Emancipation Grid that behaves differently depending on the color of the field.

l
, r
and center
fizzler textures as explained here. For fields taller than 128 units, you will need to split it into multiple 128-unit high brushes.
Contents
Creation
This assumes you have a level to put the fields in. If not, this page will show you the basics. You will also need to have downloaded the Field texture pack that contains the custom fizzler textures (Look at the vmf of this file to see exactly how it works).

Surface Division Field (Green field)
Essentially a world portal that portals cannot be fired through. It does not fizzle cubes or clear portals. Because this field is a portal, you will need to make a second field which it is linked to. This testing element was initially made for the map FourthReaper's Penrose.
1. Create a 128*128*1 trigger_portal_cleanser
textured with the tools/nodraw texture. Set the field to be visible and uncheck the Clients
flag.
2. Texture the face you will see with fr_surface_division_field
.
3. Create a linked_portal_door
and apply the following settings:
Property Name Value Name green_field_1 Linked Partner green_field_2 Width Half of the field's width Height Half of the field's height Start active Yes
For the second field, the Name and Linked Partner should be swapped.

linked_portal_door
. This can minimize the likelihood of odd visual behavior when you pass things like lasers or funnels through field. If you have lasers or funnels, it is also helpful to put a func_brush
behind the field. This will help to prevent odd visual behavior.
linked_portal_door
facing in the opposite directon.This will create a linked_portal_door
which covers the entire trigger_portal_cleanser
.
Force Deflection Field (Orange field)
This field prevents everything from passing it, except portal shots. It is essentially a reskin of grating. This field is created in a similar way as the green field. It does, however, have few differences as well.
1. Create a func_brush and texture it like you did the surface division field, except use fr_force_deflection_field.
2. Set it as follows:
Property Name Value Solidity Never Solid
3. Create a second func brush and texture it with tools/invisible.


Matter Inquisition Field (Yellow field)
This field will fizzle things and block portals but will not reset portals.
1. Create a field as you did with the green field, steps 1 and 2
2. Texture the face of the field with fr_matter_inquisition_field.
3. Uncheck the Clients flag and check the Physics Objects flag under flags.
Compressed Smoke Field (Purple field)
This field will block the player and prevent portals from being fired through it, but allow physic objects to pass.
1. Create a field as you did with the green field, steps 1 and 2
2. Texture the field with fr_compressed_smoke_field.
3. Create a func brush and texture it with tools/playerclip.

Liquid Coloring Excision Field (Pink field)
It is esentially a fizzler for paint. It block portals, but does not fizzle portals or cubes. Only paint will be destroyed when the field is active.
1. Create a field as you did with the green field, steps 1 and 2
2. Uncheck the "Clients" flag. This will prevent the field from fizzling portals.
3. Texture the faces that you'll see with fr_liquid_coloring_excision_field.
5. Create a trigger_paint_cleanser that is the same size. Texture this in tools/trigger. No properties need to be changed.

Death Fizzler (Red field)
This field prevents everything from passing it, except lasers (as a non solid glass). This field was featured in Portal Stories: Mel.
1. Create a field as you did with the green field, steps 1 and 2
2. Check the "Physics Objects" flag
3. Texture with fr_death_field_fizzler
4. Create a trigger_hurt (same size that the previous field), and texture it with tools/trigger
5. Set it as follows:
Property Name Value Damage 1000

Physics Repulsion Field (Dark green field)
This fizzler only blocks physic objects (as cubes); you can shoot through it, and this doesn't fizzle portals
1. Create a field as you did with the orange field, steps 1 and 2, except use fr_forcefield
2. Create a func_clip_vphysics (same size that the previous field), and texture it with tools/trigger. No properties need to be changed.

Controlling the Fields
You can of course control these fields just like any other object. If you choose to make the fields controllable, you will need to give the fields names. I find it easiest to name the field for its color; such as green_field_1, purple_field_east, etc. That way I can remember where the devil the silly thing is in the room. The, you just have to use enable/disable output, except for the green fizzler field where the output is Open/Close (If you haven't followed my advice to give the same name of the two part of the field, you have to enable/disable both)