|
|
Line 1: |
Line 1: |
| [http://rivers.onthenet.as/comments/sushi-thai-garden.html sushi thai garden saratoga] [http://member.lowestprices.at/article/reicom.html rei.com] [http://choose.onthenet.as/jane-fonda.html jane fonda lyric] [http://rivers.onthenet.as/comments/bob-marley-no-woman.html bob marley no woman no cry] [http://lodden.ifrance.com/hotguys.html hotguys] [http://sawest.lowestprices.at/lib/tila-nguyen-galleries.html gallery image nguyen tila] [http://parson.onthenet.as/venture-capitalist.html venture capitalist company] [http://rivers.onthenet.as/comments/unchained-melody.html unchained melody righteous brothers download] [http://depriv.lowestprices.at/article/frankfurt-airport.html airport frankfurt] [http://kaiba-katt.ifrance.com/article/free-online-greeting.html free yahoo greeting card online funny] [http://choose.onthenet.as/ryan-adams-music.html ryan adams music website] [http://thrive.onthenet.as/styles/boston-the-band.html band best boston wedding] [http://attir.onthenet.as/emptor.html caveat definition emptor] [http://member.lowestprices.at/article/local-movie.html in listing local mississippi movie south] [http://attir.onthenet.as/upskirt-bald.html upskirt bald pussy] [http://depriv.lowestprices.at/article/louisville-georgia.html louisville georgia] [http://depriv.lowestprices.at/article/ultimate-force-series.html ultimate force series 3 itv1] [http://rivers.onthenet.as/comments/rhode-island.html rhode island] [http://lodden.ifrance.com/hot-lesbian.html asian hot lesbian] [http://sawest.lowestprices.at/lib/5-big-center-distribution.html 5 big center distribution] [http://thrive.onthenet.as/styles/new-office-post.html new office post state york] [http://grunt.onthenet.as/content/tightly-bound.html tightly bound gagged] [http://kaiba-katt.ifrance.com/article/hub-caps.html hub caps] [http://belong.lowestprices.at/9-code-icd-medical.html 9 code icd medical symptom] [http://brush.onthenet.as/article/young-sweet-pussy.html young sweet pussy cocksuckers] [http://brush.onthenet.as/article/elna-diva-9000.html elna diva 9000] [http://twinn.lowestprices.at/airline-tickets.html airline tickets for dirt cheap] [http://atomiclife.ifrance.com/html/sanyo-tv.html sanyo plasma tv] [http://belong.lowestprices.at/naked-lesbians.html naked lesbians in bondage] [http://coign.onthenet.as/description/discount-ugg.html discount ugg boot] [http://grunt.onthenet.as/content/uk-dogging.html uk dogging] [http://depriv.lowestprices.at/article/toast-making.html toast making] [http://sawest.lowestprices.at/lib/koyo-hotel.html koyo hotel] [http://greedy.onthenet.as/lib/rci-resorts.html rci resort] [http://lodden.ifrance.com/chanel-handbag.html bag chanel chocolate handbag leather onlymoda purse] [http://lodden.ifrance.com/carolina-herrera.html carolina herrera dress] [http://rivers.onthenet.as/comments/resident-evil.html resident evil 4 walkthrough] [http://baying.onthenet.as/aamco.html aamco transmission service] [http://choose.onthenet.as/architecture-oriented.html architecture oriented pattern software] [http://baying.onthenet.as/make-point-three.html make point three turn] [http://irek-loveyou.ifrance.com/texas-department.html texas department of public safety] [http://atomiclife.ifrance.com/html/payson.html payson] [http://attir.onthenet.as/temptations-discography.html discography temptation within] [http://parson.onthenet.as/schnook.html schnook] [http://irek-loveyou.ifrance.com/hunting-ontario.html hunting ontario] [http://brush.onthenet.as/article/police-id-cards.html police id cards] [http://submersibles.ifrance.com/speedo.html speedo] [http://choose.onthenet.as/julia-miles.html julia miles] [http://brush.onthenet.as/article/u-know-i-got.html u know i got] [http://grunt.onthenet.as/content/price-comparison.html price comparison] [http://kaiba-katt.ifrance.com/article/vicodin.html vicodin online pharmacy] [http://belong.lowestprices.at/microsoft-access.html microsoft access advanced features] [http://member.lowestprices.at/article/2006-6-bible.html 2006 6 bible june] [http://coign.onthenet.as/description/rncm.html rncm] [http://choose.onthenet.as/slow-stochastics.html slow stochastics settings] [http://irek-loveyou.ifrance.com/comix-sex.html cartoon sex comix] [http://depriv.lowestprices.at/article/msn-messager.html msn messager plus] [http://belong.lowestprices.at/kim-tae-young.html kim tae young] [http://attir.onthenet.as/picture-frames.html picture frames mattes] [http://twinn.lowestprices.at/idaho-realtors.html association estate idaho real realtor] [http://grunt.onthenet.as/content/asterisk-macosx.html asterisk macosx] [http://coign.onthenet.as/description/teen-pregnancy.html teen pregnancy forum] [http://lodden.ifrance.com/dorm-room-decorations.html dorm room decorations] [http://rivers.onthenet.as/comments/video-poker.html video poker] [http://rivers.onthenet.as/comments/social-studies.html social studies games kids] [http://attir.onthenet.as/automatic-head.html automatic head pan tilt] [http://member.lowestprices.at/article/insulation-tester.html insulation tester] [http://lodden.ifrance.com/bathrooms.html bathroom faucets] [http://coign.onthenet.as/description/cheap-atenolol.html cheap atenolol] [http://sawest.lowestprices.at/lib/modem-ambient-md5628d.html modem ambient md5628d l a] [http://attir.onthenet.as/seamless-knitting.html seamless knitting machines] [http://depriv.lowestprices.at/article/cheap-imitrex.html cheap imitrex] [http://choose.onthenet.as/deep-blue-sea.html deep blue sea cast] [http://greedy.onthenet.as/lib/custom-stretcher.html custom stretcher] [http://twinn.lowestprices.at/laptop-skins.html custom laptop skin] [http://rivers.onthenet.as/comments/bertha.html bertha big club golf] [http://grunt.onthenet.as/content/brad-patton.html brad patton] [http://baying.onthenet.as/cougar.html by cougar seduced] [http://thrive.onthenet.as/styles/american-west.html american west airlines] [http://member.lowestprices.at/article/rtty-decoder.html rtty decoder software] [http://coign.onthenet.as/description/minun.html pokemon minun and plusle] [http://baying.onthenet.as/ohio-remedial.html ohio remedial driving course] [http://member.lowestprices.at/article/buying-a-home.html buying a home in ahwatukee] [http://baying.onthenet.as/uterine-fibroids.html uterine fibroids] [http://greedy.onthenet.as/lib/design-source.html american book design design native source] [http://lodden.ifrance.com/www-babie-com.html www babie com] [http://parson.onthenet.as/winavi-converter.html winavi converter crack 6.2] [http://member.lowestprices.at/article/list-of-zipcodes.html code state united zip] [http://member.lowestprices.at/article/sony-mavica.html sony mavica fd200] [http://parson.onthenet.as/free-family-sex.html free family sex stories] [http://irek-loveyou.ifrance.com/student-loans.html student loan consolidation program] [http://belong.lowestprices.at/ireland-facts.html fact and figure about ireland] [http://submersibles.ifrance.com/robert-wood-johnson.html robert wood johnson university hospital] [http://sawest.lowestprices.at/lib/arnolds-bakery.html arnolds bakery] [http://brush.onthenet.as/article/men-thong.html men thong] [http://twinn.lowestprices.at/free-celebrity-nipple.html free celebrity nipple slips] [http://rivers.onthenet.as/comments/lesbians-licking.html lesbians licking girls] [http://irek-loveyou.ifrance.com/long-video.html duration long music type video] [http://sawest.lowestprices.at/lib/buy-hydrocodone.html buy hydrocodone without prescription] [http://attir.onthenet.as/graduation-cap.html picture of graduation cap and gown]
| |
| {{wrongtitle|title=script_intro}} | | {{wrongtitle|title=script_intro}} |
|
| |
|
Revision as of 11:22, 15 January 2008
Template:Wrongtitle
Entity description
The script_intro entity is a singleplayer only entity that is used extensively in the intro sequence for Half-Life 2. It makes use of DirectX's buffer blending capabilities to overlay a second camera onto the main camera, i.e., the player's view, and to blend between the two views using various effects. This is also useful for doing traditional A-B camera exposition sequences.
Some of the possible uses for this entity include hallucination effects, and dream sequences, traditional A-B camera work for machinima, and so on.
The main issue with understanding this entity is the workflow isn't the same as other entities, in that it's highly time based. You don't just set keys and it works, but rather you'll have to trigger it at intervals using inputs, so a good working knowledge of Source's entity I/O system is required.
Using script_intro
There's only one key that you have to deal with on this entity, and that's it's targetname. Once you have a name to refer to the entity by, all the work is done by sending it inputs. First thing that you have to do to use script_intro is to send in an Activate input. This will (I believe) initialize the secondary framebuffer it uses.
There are several inputs you have to send to 'initialize' the entity, before it functions the way you expect it to. Each will be explained. They are SetCameraViewEntity, FadeTo, SetNextBlendMode, and SetNextBlendTime.
Start by sending the SetCameraViewEntity input, with the name of the point_camera entity that you'll be using as the second view as a parameter. Remember, the player's viewpoint is the first camera, so in traditional film terms, the player is the A camera, and the point_camera that script_intro is using is the B camera. You'll send further inputs to script_intro to control blending between the A and B cameras.
You'll use the FadeTo value to tell the second camera what Alpha value it should display at. This is what controls how transparent the camera will be when it's overlayed over the first view. You use the input by sending a parameter with it with two values separated by a space. The first value is an integer with a range of 0-255, where 255 is completely opaque, and 0 is completely transparent. The second value is a number in seconds, that the fade will occur over.
Next you'll want to use the SetNextBlendMode and SetNextBlendTime to accompish effects. SetNextBlendMode with a parameter of '6' is the most natural of blend modes. It will produce a straight fade between the two cameras. The other blend modes will produce special effects, such as the black and white and inversion effects seen in HL2's intro.
Send a SetNextBlendMode input with a integer parameter of 0 through 6, each produces a different effect. This sets up the blend; you next send an input of SetNextBlendTime to execute the blend, with a parameter that equals the time value that you want the blend effect to occur over, in seconds.
The blend mode will cause the camera to change effects when executed; so it will blend from one effect to the next.
Of note, the FadeTo input is used hackishly in the intro sequence to fadeout the player's view. This is because the env_fade entity can't be iterated, i.e. you can't have two env_fades, and fade from one to the other.
Blend modes
This is an incomplete list of the apparent function of the blend modes. These can be set in the entity by sending it a SetNextBlendMode and SetNextBlendTime or just SetBlendMode.
values:
1: Inverted Black & White with levels.
This appears to map the screenbuffer to grayscale, invert the colors, and apply some sort of posterize filter.
2: Black
As far as I can tell, this blanks both primary and secondary screen buffers.
3: Black & White Blend
This maps the screenbuffers to grayscale, and blends between them.
4: A cam is normal, B is black
This appears to blank the secondary screenbuffer, and leaves the primary unaffected.
5: B cam is normal, A is black
This is the reverse of 4.
6: Normal mix, Overlay
This appears to be the most straightforward mix between the two screenbuffers, applying a straight blend.
Keyvalues
- If set, the script will match env_zoom's FOV transition.
Inputs
- Take control of the player's view and start blending the two scenes.
- Stop controlling the view.
- SetCameraViewEntity <target_destination>
- Set the viewpoint to blend with the player's viewpoint.
- Fade to a specific alpha amount over a specified amount of time.
- Format:
<alpha> <duration>
- SetFadeColor ⇆#000000rgb(0,0,0)⇆
- Set the fade color.
- Set the blending mode to use.
- SetNextBlendMode <integer>
- Set the blending mode to blend to over time. Follow this with a SetNextBlendTime input to start the mode blend.
- Set the amount of time it should take to blend to the next mode, and start blending.
- Set the fov for the second camera.
- Set the FOV to blend to over time. Follow this with a SetFOVBlendTime input to start the fov blend.
- Set the amount of time it should take to blend to the next fov target, and start blending.
Outputs