Acrobat Posted November 27, 2012 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?
eezstreet Posted November 27, 2012 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
Acrobat Posted November 28, 2012 Author Posted November 28, 2012 Is it possible to make it work for jka, but still have it work for jk2 though?
eezstreet Posted November 28, 2012 Posted November 28, 2012 Not unless you hack the game, as I did here.
redsaurus Posted November 28, 2012 Posted November 28, 2012 maybe do each instruction twice, once affect player and once affect kyle?
redsaurus Posted November 28, 2012 Posted November 28, 2012 (I mean in the script, so no mods are needed)
eezstreet Posted November 28, 2012 Posted November 28, 2012 ah, you are correct @@redsaurus. That is an interesting point.
therfiles Posted November 28, 2012 Posted November 28, 2012 Maybe try posting the scripts in question. Maybe we can change it there.
Acrobat Posted November 29, 2012 Author 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.
therfiles Posted November 29, 2012 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!
Acrobat Posted November 29, 2012 Author 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
Acrobat Posted December 2, 2012 Author Posted December 2, 2012 what does r_fastsky have to do with cameras?
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