- Offizieller Beitrag
illyaine hat eine neue Datei hinzugefügt:
Cameras Demo
ZitatAlles anzeigen
This sample shows different ways supplied by TRNG to change camera modes in game. You can look lara or enemies from different positions.
You should use default tga and objects (.wad) of Karnak level for this sample.
Remember to build script.txt: copy script.txt and english.txt in SCRIPT folder and then start NG_Center (or click on [Reload] button if it was already opened) and build the script.
All triggers for camera effects are placed on sectors with a texture showing a cat face.
Remark: This sample has been changed respect old version of 2008.
Now, at start, there are some new examples about usage of new flipeffect trigger: "Camera. Change camera mode with <&>Parameters for (E)time"
This method is more easy to build but it has the disvantage to don't allow to use it for enemys but only for Lara.
A) First examples are about new SET_CAMERA feature.
With this method you can change the normal camera that follows always Lara, setting a different position and angle for it, so to look lara from a different position.
In picture A you can see lara looked from front/down.
B) In picture B there is another SET_CAMERA setting: lara will be looked from up/front position
C) In picture C it has been used the other method to change the framing of lara. From this example it will be used the method to force a real fixed camera you placed in the level, to follow lara, framing her from a given position.
In picture C you can see the fixed camera following lara from upstairs
D) In picture D you can see the effect named "Lara's Portrait", it has the same layout of Picture B but it has been get with old flipeffect Lara portrait and an external camera, while in B picture has been used a SET_CAMERA.
When you want frame lara it's better using the SET_CAMERA mode because it's more easy and because this method is more able to avoid obstacles (walls, ceiling, statics) than "Lara's portrait" effect.
We could say that the "Lara's portarait" effect is by then an obsolete method to look lara, since the new flipeffect "Change camera mode" + set_camera is more effective.
E) In picture E you can see the Enemy Portrait effect
This effect look the wished enemy in front and follow its movment from this position.
The camera could have troubles in very short spaces, for this reason I suggest to study very well when and where place this kind of effect.
F) In picture F you can see a "Matrix effect", the name borns from famous "Matrix" movie.
The camera turns fastly arond lara while she reamins still.
It could be a good way to show the skin of lara and in same moment the level scene.
I suggest to use the Matrix effect togheter with keyboard disabling to force lara to reamin still, because if lara is moving the resulting effect is not good but only a bit chaotic
G) In picture G you can see the "Follow-me camera effect" for enemies.
This camera works like the follow camera for lara but in this case it will an enemy to watched.
Remark: all effects have as target an enemy should be used only for few seconds, because until they are working, the player will have no chance to understand the position of Lara.