Acrobat Posted November 27, 2012 Share Posted November 27, 2012 I was helping a friend convert his jk2 map to jka, and he has cameras. Everything in map is working except those. They work in jk2 but not jka. How exactly are cameras made in jka, and is it impossible to have ones that work in both games? Link to comment
mrwonko Posted November 27, 2012 Share Posted November 27, 2012 Which kind of camera? Link to comment
eezstreet Posted November 27, 2012 Share Posted November 27, 2012 Cameras are exactly the same between the games. The only (major) difference is that the script_targetname for the player in JK2 is "kyle", while the script_targetname in JKA is "player". So anything that affect()s "kyle" will need to affect "player" instead. EDIT: I'm talking about cinematic cameras and ICARUS, specifically Link to comment
Acrobat Posted November 28, 2012 Author Share Posted November 28, 2012 Is it possible to make it work for jka, but still have it work for jk2 though? Link to comment
eezstreet Posted November 28, 2012 Share Posted November 28, 2012 Not unless you hack the game, as I did here. Link to comment
redsaurus Posted November 28, 2012 Share Posted November 28, 2012 maybe do each instruction twice, once affect player and once affect kyle? Link to comment
eezstreet Posted November 28, 2012 Share Posted November 28, 2012 i made it into a cvar more or less Link to comment
redsaurus Posted November 28, 2012 Share Posted November 28, 2012 (I mean in the script, so no mods are needed) Link to comment
eezstreet Posted November 28, 2012 Share Posted November 28, 2012 ah, you are correct @@redsaurus. That is an interesting point. Link to comment
therfiles Posted November 28, 2012 Share Posted November 28, 2012 Maybe try posting the scripts in question. Maybe we can change it there. Link to comment
Acrobat Posted November 29, 2012 Author Share Posted November 29, 2012 Well in jk2 it's a shader. I'm on my mac right now so can't post, but I'll post if people think I could alter the shader to make it work for both somehow. Link to comment
therfiles Posted November 29, 2012 Share Posted November 29, 2012 Well in jk2 it's a shader. I'm on my mac right now so can't post, but I'll post if people think I could alter the shader to make it work for both somehow. Do you mean 'script', not 'shader'? Thats fine. We may be able to edit it possibly, so if you can post it, that would be great! Link to comment
Acrobat Posted November 29, 2012 Author Share Posted November 29, 2012 textures/camera/Vcamera{ qer_editorimage textures/camera/camera.tga surfaceparm playerclip surfaceparm nolightmap portal { map textures/camera/camera.tga blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA depthWrite alphaGen portal 2048 }} This is the shader I use in jk2 on the screen Link to comment
Acrobat Posted December 2, 2012 Author Share Posted December 2, 2012 what does r_fastsky have to do with cameras? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now