Real time projected texture preview in game | tool made in vscript #1050
TheEnderek0
started this conversation in
Resources
Replies: 2 comments 6 replies
-
Is this compatible with Portal 2? |
Beta Was this translation helpful? Give feedback.
1 reply
-
hey ! can you reupload this pls ? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Script made by me to place and test projected textures in game in real time.
Using this you can open a map, load the script and place the env_projectedtextures in game directly, then transform them to hammer.
To place them in hammer you can either modify the vmf file directly, or place the texture at 0 0 0, then using the transform tool transform it's position and angles.
Report any issues to me on discord or here.
Download: here
Projected Texture Tester by Enderek0
Instructions on usage:
Setup:
Firstly you need to place this script in
scripts/vscripts/
in a mounted filesystem, so for examplePortal 2 Community Edition/p2ce/scripts/vscripts/
Launch the game:
developer 1
.-> If the console tells you the max allowed developer is 0, type
sv_max_allowed_developer 2
.script_execute ptex_test
.Pro tip: use the command
clear
to clear the console.Usage:
After you setup you will fire commands of specific functions to operate, these are like so:
script x
, where x is the function you want to fire, so likescript NewEntity()
,script Fov(80)
.Functions:
These are the functions that change the properties of the projected texture as well as spawn it, disable etc.
- Spawn/Stop:
- Keyvalues: (All of the number parameters here support fractions.)
Credit not required.
Beta Was this translation helpful? Give feedback.
All reactions