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

Members Online

»
0 Active | 96 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

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Soldier of Fortune
Category: SoFII General
General game questions, comments and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Portal Camera in SoF2 ?
Caveman
General Member
Since: Jul 28, 2007
Posts: 8
Last: Aug 21, 2007
[view latest posts]
Level 0
Category: SoFII General
Posted: Friday, Aug. 10, 2007 09:21 am
Hi again..

I´ve seen for some days a portal camera in [stk]compound and wanted to add one in my new Map.
But something goes wrong...
on modsonline is no Sof2 tutorial for Portal camera--but in Q3A and the same method dosnt work for sof2.

These are the steps i´ve made:

1. Mappin a screen and add on one surface Tools/Portal

2. add a misc_portal_surface and placed it 16 units from the Portal like to make a mirror.

3. add a misc_portal_camera

4. connect the misc_portal_camera with the misc_portal_surface

5. add a target_position and connect with misc_portal_camera

Nothing will work.

Hope one of you can Help me....

THX alot
Share |
Caveman
General Member
Since: Jul 28, 2007
Posts: 8
Last: Aug 21, 2007
[view latest posts]
Level 0
Category: SoFII General
Posted: Friday, Aug. 10, 2007 12:17 pm
Okay, i have found the error after reading lots of Mapping Pages.

The Secret is the Tools/Portal texture, its MUST be the Mirror Texture !!! and a little Shader as follow:

//Shader:

textures/portal/portal_tex
// portal_tex is a fictive texture and you get in Radiant a "no Shader" error, but is okay.

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

The Texture a_portal you can get it from my Page: www.ccs-arena.de/mapping/a_portal.jpg

put the texture in your base/textures/portal folder
put the shader in your base/shaders folder

..
I will add a complete Portal Camera Tutorial in some Hrs here in Modsonline...look out for it..

greets
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Soldier of Fortune : SoFII General

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

»