Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   1stPersonView in Spectate is here. (alliedassault.us/showthread.php?t=24982)

MPowell1944 05-18-2003 11:37 AM

Well actually, if you want to see through the eyebone of your player, you can type cg_animationviewmodel 1 in the console. You then get the swaying of your player and if you look down you can see only the arms.

But, if you think about it, there has to be a setting somewhere that tells the game to use that first person view. Maybe it is a camera or whatnot.

Captain_McCusker 05-18-2003 12:04 PM

Quote:

Originally Posted by MPowell1944
But, if you think about it, there has to be a setting somewhere that tells the game to use that first person view. Maybe it is a camera or whatnot.

That's why I mentioned the 3rd person variable. Couldn't you trace that back to the definition of it and then back to the original function for 1st person?

Captain_McCusker 05-18-2003 12:05 PM

Quote:

Originally Posted by MPowell1944
But, if you think about it, there has to be a setting somewhere that tells the game to use that first person view. Maybe it is a camera or whatnot.

That's why I mentioned the 3rd person variable. Couldn't you trace that back to the definition of it and then back to the original function for 1st person?

MPowell1944 05-18-2003 01:11 PM

Well, what definition would I be looking for? I tried cameras, viewangles, viewmodels, playermodels. positions. No luck.

Captain_McCusker 05-18-2003 01:57 PM

Well, I just found this one, but not sure what it does:
seta cg_drawviewmodel 2

I don't think that's the same one that you can use to always have 3rd person, though, is it? That's what I was thinking of when mentioning it, and if you just referenced it, then nevermind. It was just a thought that you could backtrack through the functions to find the original definition of the variable.

MPowell1944 05-18-2003 02:35 PM

That is just the hand/gun model in 1st person view. 0 is neither, 1 is gun only and 2 is both.

=FM=1st Lt prey 05-18-2003 03:27 PM

Looks really usefull actually, nice idea powell biggrin:

Ydiss 05-18-2003 04:02 PM

In true 1st person your own model is not rendered by your PC. The viewmodel you see is only viewable by you and is not a direct representative of what other players see as your arms and gun (as you most probably know already).

I don't see the problem, really. The aim of this modification is to allow first person perspective spectating and it seems to do that very well.

Who honestly cares if the viewmodel is pre-rendered or live? I know I wouldn't.

There is a quake cvar that allows spectating in 1st person but I don't think it was carried over (hell, it was before, I know that much - a mate of mine found it and it worked but he can't remember it now).

But, this mod does what that does anyway.

It just changes the view-point of the camera in spectate mode. That's all you need.

Any further work to enable rendering of the "client" viewmodel instead of the 3d models that everyone sees would be work wasted on asthetics.

If it's not immediately evident and you're having trouble working it out, don't worry about it!

I think everyone would just like to be able to use the work you've done already, bud. Sooner it is released the better. We can live without the graphical touches, I think.

MPowell1944 05-18-2003 04:05 PM

Very wise words Ydiss. I guess if you all can deal with some minor body clipping and no crosshairs, I will release what has been done so far, which is effective but not pretty. I will however not give up on finding out the key to the 1st person spectate option.

Captain_McCusker 05-18-2003 04:22 PM

Quote:

Originally Posted by Ydiss
Any further work to enable rendering of the "client" viewmodel instead of the 3d models that everyone sees would be work wasted on asthetics.

If it's not immediately evident and you're having trouble working it out, don't worry about it!

I think everyone would just like to be able to use the work you've done already, bud. Sooner it is released the better. We can live without the graphical touches, I think.

Again, this goes back to what I said earlier. Perhaps with decent systems, this is just an aesthetics call, but this could also be a performance boost as well. Another example: without any graphics, the server is allowed to run at a fraction of what the client runs; this is because the server doesn't do any rendering. By rendering these models in 3rd person, even if you don't see them, is in a sense wasting resources.

However, you're right in a sense. If it's already done, even if it's still 3rd person with modified camera position, then it'd be reinventing the wheel to persue the 1st person rendering position. My point was simply that if you haven't managed to do this completely, then isn't this sorta like reinventing the wheel from the getgo?

Now... all along, I didn't want you to get the impression that I'm displeased with what you've done. This is good work and after being released I'm sure will be appreciated by all who use it. It seems to have generated a decent interest over at AAN, and I know I'm particularly interested. My whole discussion here was a) to provide some assistance, if it was even helpful and b) to discuss my own views on the quick cheat-scanning aspect of it, which is to keep those sorts of discussions amongst private "admin" circles to avoid giving away "secrets" to people who'd like to know how to get around detection.

BTW, another good point to using the 1st person camera/model is that it comes predefined with a crosshair that's as accurate as the one on the system of the person you're spectating. Just thought I'd bring that back to light as it seems to be of interest here. ;)

newfie-gunner 05-18-2003 05:15 PM

when will it be out?

MPowell1944 05-18-2003 05:19 PM

Regarding someone trying to get around this mod. To clear that up, all I can say is that is is impossible to get around this mod. I have created a new cvar which is purely serversided. Only admins can change the cvar. Clients can try adding the cvar to their newconfig.cfg or even hexediting their .dll files, but they will be wasting their time. I went again and tried both with no avail.

Regarding a release, that will be tonight sometime.

05-18-2003 05:24 PM

I would have never thought of taking the camera angles and a cvar.

Pure genius.


wink:

LOCC 05-18-2003 05:25 PM

Good work Dude, make sure to post when its out, that looks really Koo, we just got a new server so Im sure that would be koo in it and useful, thanks again for the Work, cant wait cool:


LOCC

Captain_McCusker 05-18-2003 06:24 PM

Quote:

Originally Posted by MPowell1944
Regarding someone trying to get around this mod. To clear that up, all I can say is that is is impossible to get around this mod. I have created a new cvar which is purely serversided. Only admins can change the cvar. Clients can try adding the cvar to their newconfig.cfg or even hexediting their .dll files, but they will be wasting their time. I went again and tried both with no avail.

Regarding a release, that will be tonight sometime.

No, that's not what I meant. What I mean is, after the wall hacks and such were out for a while, admins had an idea of what to look for. Not long after that, the wall hackers knew how to avoid making it that obvious. Then along came some applications like Delator. After much discussion, wasn't long before hacks were created to get around it along with a tutorial to avoid being caught - like turning it on and off on a fly. My point was that discussion on how you can use this to make it even easier to detect a cheater.... well, if I were on that side of the fence, I think I would already have an idea of how to best avoid (not necessarily successfully) detection by a spectator. Just a matter of training one's self to play the game a little differently.

Judas 05-18-2003 06:27 PM

Quote:

Originally Posted by ktog3
Sounds good, you always have aM to help you beta test.

ktog is aMs beta tester ... hake: ed: oOo:

BusterKing 05-18-2003 06:51 PM

Will your mod still allow for sv_pure to work with Spearhead?

There's some server mods out there that make it impossible to have sv_pure activated, no one can join the server since their files don't include the server side mod.

Was it tested with sv_pure on?

MPowell1944 05-18-2003 07:13 PM

No, but I strongly believe that if the server has the mod installed, sv_pure will run fine.

KTOG 05-18-2003 07:19 PM

Quote:

Originally Posted by Judas
Quote:

Originally Posted by ktog3
Sounds good, you always have aM to help you beta test.

ktog is aMs beta tester ... hake: ed: oOo:

you know me evil:

BusterKing 05-18-2003 10:17 PM

MPowell1944,

Can you send me your mod and I will test the sv pure issue and I will let you know the results.

fhotte@cyberbeach.net

MPowell1944 05-19-2003 06:23 AM

Sure. What is your email?

Also, I apologize for the delay on releasing it. I had 2 clans try it out and both wanted 2 different views. 1 clan wanted to see the hand/gun, and 1 didn't. Before I do release it, which do you all prefer? If the hand/gun does show more, you will get a larger amount of body clipping. That is with AA. SH seems to be much easier to work with when the mod is on.

Let me know.

Sgt.Pepper 05-19-2003 04:03 PM

I have been eagerly waiting for this, has a link been posted that I missed?

Sgt.Pepper 05-19-2003 04:04 PM

Nevermind, that post above me didn't show up earlier. And no edit button.

BusterKing 05-19-2003 05:29 PM

The SH version please. Both version, Handgun and not.

My email: fhotte@cyberbeach.net

Thanks

Strakon 05-19-2003 06:23 PM

Yeah i am interested to, for AA and SH. With both versions.

famigol@langames.cl

Bye

:D

Kyril VIII 05-19-2003 07:29 PM

Would love to check out the Spearhead version,thx.
kyril@f8team.com

05-19-2003 07:32 PM

Send meh both no-gun, and gun For AA, jnewton@hvc.rr.com

awesome.

MPowell1944 05-19-2003 08:47 PM

Here we go folks. This is the AlliedAssault version. I decided that instead of making 2 versions (gun/nogun), I would put in coordinates half way between the 2. Remember, this isnt the best view in the world (you will get body clipping no matter what), but it is pretty good if your aim is to catch cheaters. Also, when you are running the mod, make sure you type cg_smoothclientstime 0 in the console. Make sure all of your players do that too. That command removes some of the clipping in the head. If you do not set that to 0, you will get unnecessary head clipping.

There is a detailed Readme.txt included. Read that before you post questions.

Enjoy.

[url=http://www.dirtyrottentouchholes.com/Eye4Eye1.0_AA.zip:ceae7]DOWNLOAD[/url:ceae7]

MPowell1944 05-19-2003 08:49 PM

Oh and 1 last thing. If you server already has a DMprecache.scr (most do), then simply add the this line into your already existing one to activate the mod :

exec global/Eye4Eye.scr

MPowell1944 05-19-2003 09:19 PM

The spectator crosshair is now working. I just have to adjust its position to the mod's coordinates (so it can match the player's line of fire) and I will post the file.

[img]http://www.dodstudios.net/uploads/uploads/crosshair_enabled.jpg[/img]

sam-man 05-19-2003 10:15 PM

Not to sound like a complete n00b here, but how would i edit the .spr file?

MPowell1944 05-20-2003 11:58 AM

*bump*

Simo Häyhä 05-20-2003 12:48 PM

well done powell, im a fan

05-20-2003 03:51 PM

hey mike dude...when can we expect the spearhead version.

kickR 05-20-2003 04:17 PM

I don't se the gun model =( at all!??

DeadBolt 05-20-2003 04:44 PM

gg powell, i tried this on N O T F, and it's pretty slick

Kemikalie 05-21-2003 02:34 PM

U know the guns i asked about powell?
They look very good and shiny but not as screen shost...
and is there no final release of this 1st person view mod?
and wil the mod only work on your own server?


Great job anyway biggrin:

Kyril VIII 05-21-2003 04:07 PM

Any news on the Spearhead version?

Sgt.Pepper 06-04-2003 08:28 AM

Any updates on this for SH?


All times are GMT -6. The time now is 05:23 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.