I've been working on a
project for the past several weeks and have run into a few problems as far as config editing is concerned. I've gone through the BIS commented configs and looked at various other tutorials to no avail, so I was hoping that you guys could help me out.
#1: This is killing me. What does "cost" do? I see it in every vehicle class, but I've never seen its function defined.
#1a: What about "valueweapon" and "valuemagazine"?
#2: Can somebody offer me a summary of what the tracer defines all do?
#define TracerEColor 0.2,0.8,0.1
#define TracerWColor 0.8,0.5,0.1
#define TracerGColor 0.7,0.7,0.5
#define TracerNColor 0,0,0 // used for sniper / silenced rifles
#define TracerEColorF {TracerEColor,0.040}
#define TracerWColorF {TracerWColor,0.040}
#define TracerGColorF {TracerGColor,0.040}
#define TracerNColorF {TracerNColor,0.005}
#define TracerSEColorF {TracerEColor,0.25}
#define TracerSWColorF {TracerWColor,0.25}
#define TRACER_W_ALWAYS tracerColor[]=TracerWColorF;tracerColorR[]=TracerWColorF
#define TRACER_W_OPTIONAL tracerColor[]=TracerWColorF;tracerColorR[]=TracerNColorF
#define TRACER_W_STRONG tracerColor[]=TracerSWColorF;tracerColorR[]=TracerSWColorF
#define TRACER_E_ALWAYS tracerColor[]=TracerEColorF;tracerColorR[]=TracerEColorF
#define TRACER_E_OPTIONAL tracerColor[]=TracerEColorF;tracerColorR[]=TracerNColorF
#define TRACER_E_STRONG tracerColor[]=TracerSEColorF;tracerColorR[]=TracerSEColorF
#define TRACER_G_ALWAYS tracerColor[]=TracerGColorF;tracerColorR[]=TracerGColorF
#define TRACER_G_OPTIONAL tracerColor[]=TracerGColorF;tracerColorR[]=TracerNColorF
What is the difference between TracerWColor and TracerWColorF?
What does {TracerWColor,0.040} do? I know that the numbers represent RGB/Alpha as far as the tracers go, but what is that 0.040 for? Is it as simple as it simply being just red and nothing else?
I'm just looking for a brief summary of what all of these do.
#3: Is there any way to independently use different pictures for both the weapon and the magazine for a weapon
without creating a second class for the mag?
#4: Is there any way to to FORCE different displayname strings for a class even when it's inheriting related things from another class?
Example: Say I wanted to rename the AK47CZ to Sa-58 in-game. I change the displayname to "Sa-58" in the base AK47CZ class. OK, great. But I also want that to show when firing, so I add the fire mode classes and change the displayname in each of those classes to the value that I want. Not so great. As long as it uses an AK47 mag, the displayname string in the fire mode classes is overiden.
Is there a way around this without creating a new magazine, or am I sunk?
I had a few more questions, but it's 1:30 in the morning and I've forgotten them at the moment. If anybody could answer any of those questions (and I suspect that they're pretty stupid ones at that,) I'd be grateful.