Page 1 of 1
[?] File Location of the Codes for Tracers?
Posted: 2012-04-08 03:18
by BoZo_135
Was looking around for the codes that control when and how often tracers fire but couldn't seem to find them in the object files.
For example, I want to change the tracers from firing every 5 shots to every single shot. (For personal purposes ofc.)
Already searched the forums, but couldn't find anything. Any help would be greatly appreciated.

Re: Location of the Codes for Tracers?
Posted: 2012-04-08 08:34
by rPoXoTauJIo
Code: Select all
ObjectTemplate.tracerInterval [b]X[/b]
No?

Re: Location of the Codes for Tracers?
Posted: 2012-04-08 11:36
by BoZo_135
I've looked everywhere, but I can't find the location of the code. It's driving me mad
Is it in one of the zipped /pr/objects files? Or is it somewhere in the root /pr file?
Re: Location of the Codes for Tracers?
Posted: 2012-04-08 11:38
by AncientMan
Check under projectiles in weapons_server.zip

.
Re: Location of the Codes for Tracers?
Posted: 2012-04-08 11:42
by Rudd
\pr\objects\weapons\common\projectiles go to the projectiles_tracer_g/r files
ObjectTemplate.tracerScaler 22
ObjectTemplate.maxTracerScaler 21
ObjectTemplate.minTracerScaler 11
ObjectTemplate.tracerSizeModifier 5
ObjectTemplate.tracerConvergeDistance 20
ObjectTemplate.tracerTemplate p_tracer_g
ObjectTemplate.tracerInterval 5
ObjectTemplate.detonation.timeUntilCanDetonate 0.08
Re: Location of the Codes for Tracers?
Posted: 2012-04-08 11:52
by BoZo_135

Haha, the one folder I didn't check :d uh:
Thanks a bunch

Re: [?] File Location of the Codes for Tracers?
Posted: 2012-04-10 17:09
by TeRR0R
Yes, for training purposes it's nice to have every bullet as tracer

Re: [?] File Location of the Codes for Tracers?
Posted: 2012-04-10 17:14
by Rhino
Tracker rounds behave differently from normal rounds in BF2

Re: [?] File Location of the Codes for Tracers?
Posted: 2012-04-10 19:37
by Doc.Pock
wait really? so if i fire a tracer it wont land where normal rounf would?
Re: [?] File Location of the Codes for Tracers?
Posted: 2012-04-10 19:38
by Rudd
Doc.Pock wrote:wait really? so if i fire a tracer it wont land where normal rounf would?
Over a long long range, correct. Its not really noticable over 600m. The tracers are somehow heavier than normal rounds, and drop sooner.
It was a real problem for various additions people like Alex tried to add to tracers.
Re: [?] File Location of the Codes for Tracers?
Posted: 2012-04-10 20:26
by Rhino
Doc.Pock wrote:wait really? so if i fire a tracer it wont land where normal rounf would?
Yep, its one of the big problems we faced when trying to implement realistic ballistics, with the options being have all rounds tracers, having no rounds trackers, or having unrealistic ballistics with normal tracers and due to the VD of BF2, we went with unrealistic ballistics with normal tracers as you often don't fire far enough to notice its unrealistic.
Re: [?] File Location of the Codes for Tracers?
Posted: 2012-04-10 23:09
by TeRR0R
Lol, didn't know that.

But I think it's still good for training, especially when you want to observe settling behavior.
Re: Location of the Codes for Tracers?
Posted: 2012-07-03 13:08
by Psyko
Rudd wrote:\pr\objects\weapons\common\projectiles go to the projectiles_tracer_g/r files
Whats the difference between g and r?
Re: [?] File Location of the Codes for Tracers?
Posted: 2012-07-03 13:50
by Doc.Pock
Green and red?
Re: [?] File Location of the Codes for Tracers?
Posted: 2012-07-03 13:53
by AfterDune
Yep, green and red.