PDA

View Full Version : Probs with HUD


RimReaper
25th Sep 2001, 01:29 AM
I'm currently making a mod where I want my view to be behind the player. I read all HUD tut's here on Chimeric and wrote some code but I didn't get it to work.

Bytekeeper
25th Sep 2001, 09:38 AM
The view is calculates in the playerpawn. So take a look at the playerpaw code, IIRC PlayerCalcView() is the function you're searching.

RimReaper
28th Sep 2001, 03:38 AM
Okay, I expanded my Hud class from PlayerPawn but nothing happens. I also tried TournamentPlayer and the rest..
On one occassion I got it to work but I got greedy and changed it somehow (and didn't make a backup first).

Bytekeeper
28th Sep 2001, 08:56 AM
I don't know what you mean, the playerview view has nothing to do with the hud, it only draw upon the players view.

Make a new playerpawn class, and overwrite the function PlayerCalcView ( or so )