PDA

View Full Version : Help with logic flow for Team Game w/ 3rd person



Saturns
04-27-2011, 02:19 AM
Hey folks,

Trying to figure something out and haven't been able to find it here or googling.

I've got the 3rd person cam from the epic tutorials working (http://udn.epicgames.com/Three/BasicGameQuickStart.html)
and now I'm trying to extend the UTTeam game code into it.

New to coding, so I'm probably missing a step in the logic flow of extensions, or maybe I'm totally off all together. Here is what I've done:

Created custom camera after extending from Camera
Created custom player controller that extends GamePlayerController and modifies CameraClass=class'MyMod.MyModPlayerCamera' via defaults

Then I created MyModGameInfo class to extend off GameInfo and added
PlayerControllerClass=class'MyMod.MyModPlayerContr oller'


Am I on the right track or waaayy off. Any help would be appreciated.

Thanks

meganaut
04-27-2011, 02:58 AM
Seems ok :) whats the issue?

Saturns
04-27-2011, 11:39 AM
Well, I thought that would be enough to get Team Deathmatch running on my gametype. Something is off cause it's not working.

Saturns
04-27-2011, 12:09 PM
EDIT Mostly Fixed

Ok, got it all working except my pawn doesn't have a weapon. Enemies do, and they are attacking like they should.
I imagine I need to adjust something in my pawn class to extend off of UTteam game pawn or something along those lines?

firestorm713
04-27-2011, 01:28 PM
There's a setting that controls whether you start with inventory or not. Can't remember the name of it off the top of my head, but check your world properties and type in inventory, that should get you on the right track.

Saturns
04-27-2011, 04:09 PM
Thanks, firestorm. I'll check this out after work.