harc varc of mg42 b0rked?


(MadJack) #1

Setting it at 70 makes the harc ever bigger than the normal 115???

I’m sure I’m not the first one to “fix” an MG42 harc… Am I the only one with that problem or there’s something I haven’t read about that?

There’s a couple of hits from google but they’re in russian, polish whatever and they can’t be translated… The only one I could read was simply stating what was in the N box :slight_smile:

Help highly appreciated…


(MadJack) #2

Nevermind it… I just thought about using -70 instead so it removes 70 degrees to the 115…

It works… :disgust:

VERY frustrating… I won’t start a rant but this is damn annoying. The small docs we have (in Radiant mostly) is so totally missing infos…


(MadJack) #3

Well… false alarm… didn’t really work… Since I changed it to -70 so it reverted to it’s normal harc of 115 after trying to put it at the right harc I wanted instead of anything that would work… gahhhh!!!


(MadJack) #4

Use the source Luke…

void SP_mg42 (gentity_t *self) {
	char		*damage;
	char		*accuracy;

	if (!self->harc) {
		self->harc = 57.5;
	} else {
		if (self->harc < 45) {
			self->harc = 45;
		}
	}

	if (!self->varc)
		self->varc = 45.0;
	
	--- Snipped ---
}

So harc is the degrees you can go either left or right from the angle you’re facing. Thus 1/2 of what you would want the angle to be BUT it has to be 45 or higher…

Now we’re talking.

Let’s go try it…

(a moment later)

Yeah it works though I would’ve like to have an angle of about 20… oh well…


(=DaRk=CrAzY-NuTTeR) #5

you know there is an EDIT button incase you want to add extra to your post


(MadJack) #6

Do NOT feed the Trolls

I’ll leave it at that.