Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 76 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Tutorials

»
SOF2 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Adding a camera to a map
Versions: You must be logged in to view history.
Adding a camera to a map thanks to awesom-o.

my_portal.shader:

-------------------------

textures/my_portal/portal_tex
{
qer_editorimage textures/my_portal/a_portal.tga
surfaceparm playerclip
surfaceparm nolightmap
portal
{
map textures/my_portal/a_portal.tga
blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
depthWrite
alphaGen portal 2048
}
}

{
qer_editorimage textures/my_portal/a_portal2.tga
surfaceparm playerclip
surfaceparm nolightmap
portal
{
map textures/my_portal/a_portal2.tga
blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
depthWrite
alphaGen portal 2048
}
}


1. make an enity misc_portal_camera
2. push n (add noswing) (targetname: cam1) (target: eye1)
3. add an enity info_notnull (targetname: eye1)
4. the camera will look trough cam1 in the direction of eye1
5. now u made your camera so now to add a tv to look at it :)
6. make a brush with one side (my_portal/portal_tex)
7. make an enity misc_portal_surface (target: cam1) and place it near the portal_tex texture

You're done :D

ps: don't add two portal_tex for 2 different camera close together else one will not work

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»