3rd Person style gameplay Created 18 years ago2005-10-20 15:42:40 UTC by Habboi Habboi

Created 18 years ago2005-10-20 15:42:40 UTC by Habboi Habboi

Posted 18 years ago2005-10-20 15:42:40 UTC Post #142588
I hardly post for help but lets see if you can assist...
I had a go at making a mario style map for CS:S and everything looked great except for that fact that I could not see the player model e.g. me!

Here is what I see:

User posted image


I can only see the player if I kill myself *note I tested in DM first cause my CS:S screwed up...Anyway I reinstalled and the same thing so picture that combine as a CT :)

Right well when the map starts it triggers a camera entity and the mario music...
Now my problem is the invisible player...I can shoot normally but all I see is bullet decals...

I've tried many things and my only assumption is the camera entity or Valve just didn't model a player model... aka the floating HL2 hand.
Habboi HabboiSticky White Love Glue
Posted 18 years ago2005-10-20 15:46:08 UTC Post #142589
cameras dont take players who can see the monitor or something like that... if u play with someone who cant see the screen, you'll be able to see them.
Archie ArchieGoodbye Moonmen
Posted 18 years ago2005-10-20 16:12:27 UTC Post #142590
There is a model for you, but it wasn't coded to show up when using camera's - only to show up for other players, and after you die.

However, HL had a third-person view console command, so if there is one for CSS then you can activate it so you show up as a player model too. Then you could use an entity that fires a console command... It's just a wild guess but maybe that's a possible solution.
Posted 18 years ago2005-10-21 03:41:42 UTC Post #142614
Just type thirdperson at the console. Type firstperson to go back to normal. You can't move the camera angle around though, so it's stuck behind you. I think you'd have to create your own mod and code the camera position in.
Posted 18 years ago2005-10-21 05:43:25 UTC Post #142631
Ah, so there is a thirdperson camera... good, then you could try to trigger that with a console-command entity, so you show up as a player model, and then use those camera's. If everything goes as I think it should go, you will also be visible as a player.
Posted 18 years ago2005-10-21 14:11:29 UTC Post #142702
Does anyone know the entity to trigger console commands then?
Habboi HabboiSticky White Love Glue
Posted 18 years ago2005-10-22 08:09:30 UTC Post #142798
Posted 18 years ago2005-10-22 08:13:44 UTC Post #142802
Haha much appreciated Vixus. I shall begin tests now.

Ok, well it worked sorta, thanks Vixus but let me rather show you than explain.

First off thirdperson is considered a cheat to console so unless sv_cheats is set to 1 it will not work so thats one problem...Means people can magically spawn npc's, props etc which is not good at all...

Second of all I turned cheats on so it worked but as I suspected...

User posted image


You can see the model but with the gay hand floating in between his legs.

And finally the third problem...Once thirdperson is set, the player model shows up but moving the mouse allows the player to look around like 3D e.g.

User posted image


Now this whole project may fall because of Valve's code...
I suppose the model isn't that bad so thats one error down...
I can turn cheats on by forcing it to and adamins will just have to kick those who cheat so one error left.
The ability to look around by moving the mouse...Hm now how can I prevent this...

Any ideas otherwise I might as well stop and work on my other idea for a project.
Habboi HabboiSticky White Love Glue
Posted 18 years ago2005-10-22 10:25:54 UTC Post #142861
That second one looks funny, eh?

I wouldn't try and make a platform game with no new code, myself. It might be possible, of course, but it's not looking too great at the moment.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2005-10-22 10:36:55 UTC Post #142866
Hmm, well... you can code it yourself. If you've seen the Eclipse mod for HL2, you'll see the entire game is set in 3rd person. You'll have to mod it yourself I'm afraid.

In fact, here are the goods:
http://developer.valvesoftware.com/wiki/Creating_a_Third_Person_Camera

:)
Posted 18 years ago2005-10-22 12:33:40 UTC Post #142900
Gah coding, i'd need the program and such and such which makes this impossible for me alone sadly...
Damn it!

Oh well, my next project idea will work.
Habboi HabboiSticky White Love Glue
Posted 18 years ago2005-10-22 14:16:57 UTC Post #142922
Hey, it's not that hard. Get Source SDK, get Dev-C++, get the Visual C++ compiler and get Dev-C++ to use it, follow the guide I showed you, recompile and voila... you have a 3rd person Half-Life. Plug your level into this! :)
Posted 18 years ago2005-10-22 16:38:05 UTC Post #142968
Nice work done then, but the average CSS player can't play it without that custom code, meaning there's probably little public for it...

So, yeah, I wouldn't go for custom code for things like this.
Posted 18 years ago2005-10-23 05:46:48 UTC Post #143099
If it's an entire Half-Life mario game, I wouldn't complain. I wonder if I could create Earthbound in Source? :)
Posted 18 years ago2005-10-23 08:00:25 UTC Post #143121
Good-luck on that haha...
Well MP fails but I wonder if SP could make this work :biggrin:
Habboi HabboiSticky White Love Glue
Posted 18 years ago2005-10-23 08:01:24 UTC Post #143122
no. because there is no gordon freeman model. no thirdperson mode

rofl, parent a prop_ragdoll with a citizen model to the player so that when player moves, visible citizen moves with him :D:D
Archie ArchieGoodbye Moonmen
Posted 18 years ago2005-10-23 09:02:02 UTC Post #143141
Uh Hunter...You can download a 3rd person Gordon model...
Habboi HabboiSticky White Love Glue
Posted 18 years ago2005-10-23 14:09:17 UTC Post #143221
Er, anyway... it would be cool if you could parent a ragdoll to the player but then no weapons.
Posted 18 years ago2005-10-23 17:11:27 UTC Post #143250
Hm that is an interesting idea but it would just look like a retarded version of 'Rag Doll Kung Fu...'
Habboi HabboiSticky White Love Glue
Posted 18 years ago2005-10-24 06:21:45 UTC Post #143293
Heh, isn't putting a CS:S guy in a Mario style map heading in that direction anyway? :D
You must be logged in to post a response.