Page 1 of 1

How to fire a weapon while moving camera somewhere else?

Posted: 2015-08-21 01:50
by Megagoth1702
Hey guys, for testing purposes I would like to position a camera somewhere and still be able to shoot a gun. Is there a way to do it with PR bot or maybe something else?

Thanks a lot!

Re: How to fire a weapon while moving camera somewhere else?

Posted: 2015-08-21 06:16
by rPoXoTauJIo
Sounds like you wanna test 3p sounds, right? Unfortunately, you can't do this from ingame unless it's a bots firing.

Other way to do it is to edit cameras:

Code: Select all

ObjectTemplate.CVMFlyBy 0
ObjectTemplate.CVMChase 0
ObjectTemplate.CVMFrontChase 1
ObjectTemplate.CVMNose 0
ObjectTemplate.CVMTrace 0
ObjectTemplate.CVMExternTrace 0
Set views to 1.

Code: Select all

ObjectTemplate.chaseDistance 3.25
ObjectTemplate.chaseAngle 0.18
ObjectTemplate.chaseOffset 0/1/0.5
And here you can set camera position\rotation(note i have take setting from jets, so yours will be something like 0\3\10 + some more chaseDistance)

Posted: 2015-08-21 10:03
by Megagoth1702
rPoXoTauJIo wrote:Sounds like you wanna test 3p sounds, right? Unfortunately, you can't do this from ingame unless it's a bots firing.

Other way to do it is to edit cameras:

Code: Select all

ObjectTemplate.CVMFlyBy 0
ObjectTemplate.CVMChase 0
ObjectTemplate.CVMFrontChase 1
ObjectTemplate.CVMNose 0
ObjectTemplate.CVMTrace 0
ObjectTemplate.CVMExternTrace 0
Set views to 1.

Code: Select all

ObjectTemplate.chaseDistance 3.25
ObjectTemplate.chaseAngle 0.18
ObjectTemplate.chaseOffset 0/1/0.5
And here you can set camera position\rotation(note i have take setting from jets, so yours will be something like 0\3\10 + some more chaseDistance)
Thanks,maybe there is a way to record a demo? I have never done it on a local server but that would be a good way I think.

Re: How to fire a weapon while moving camera somewhere else?

Posted: 2015-08-21 10:13
by rPoXoTauJIo
None i knowl of without editing files.
Same goes for vehicles.

Open vehicle .tweak file, find camera(note there's might be multiple ones).
Edit as follows in tutor.

Re: How to fire a weapon while moving camera somewhere else?

Posted: 2015-08-21 10:21
by Megagoth1702
rPoXoTauJIo wrote:None i knowl of without editing files.
Same goes for vehicles.

Open vehicle .tweak file, find camera(note there's might be multiple ones).
Edit as follows in tutor.
Thank you.

I have figured it out on my own but noticed that the editor is not loading my external mods (I use a rather cumbersome system, heh).

So I will try the record-demo thing and adding external cameras to the soldier.

EDIT: Okay, so demo recording failed. The console says "recording demo" and "recording stopped" but there is no demo file. Damn.

Another idea - I have two PCs, I can use one to join onto a local server and shoot around. Just gotta figure out how to join, Hamachi is overloaded right now, maybe local network will work (since it IS local).

Re: How to fire a weapon while moving camera somewhere else?

Posted: 2015-08-21 13:22
by rPoXoTauJIo
Megagoth1702 wrote: EDIT: Okay, so demo recording failed. The console says "recording demo" and "recording stopped" but there is no demo file. Damn.
Demo file is being recorded in your modfolder, while you should have them in Documents\Project Reality\profiles\default\demos if you want them to be played.

Re: How to fire a weapon while moving camera somewhere else?

Posted: 2015-08-21 13:58
by Megagoth1702
rPoXoTauJIo wrote:Demo file is being recorded in your modfolder, while you should have them in Documents\Project Reality\profiles\default\demos if you want them to be played.
Ah, I didn't know that.!
Thank you very much! This is working great! :) Thaaaaanks!