What kind of demo support is there in TF?

General discussion relating to the Transfusion project.

Moderator: General Discussion Moderators

Post Reply
scirmast
Cultist
Posts: 74
Joined: Sat Aug 14, 2004 12:07 am
Location: Finland
Contact:

What kind of demo support is there in TF?

Post by scirmast »

I think every self respecting game should have a demo support. Quake had one, so I presume TF does too. But just to make sure :)

To be a competitve 1on1 game, demos are a must.
User avatar
Willis

Master of the Mask
Lead Programmer

Posts: 872
Joined: Tue Aug 10, 2004 09:28 am
Location: Eau Claire, WI USA
Contact:

Post by Willis »

Yep, there is standard demo recording.

Demos in the DarkPlaces engine record your network output (even local single players create a local port and run like a network game).

Currently, the feature of turning on auto-recording is under way I believe, though it still needs a couple tweaks.
scirmast
Cultist
Posts: 74
Joined: Sat Aug 14, 2004 12:07 am
Location: Finland
Contact:

Post by scirmast »

Alright!

And I presume there is an option the change which player you are observing?
User avatar
Willis

Master of the Mask
Lead Programmer

Posts: 872
Joined: Tue Aug 10, 2004 09:28 am
Location: Eau Claire, WI USA
Contact:

Post by Willis »

From a pre-recorded demo? No. The network traffic you receive from the server is only what you would see as a player. It discards anything not visible to you. If you are recording from spectator mode, it is possible while you are recording, but you will never get a point of view from all players with the current demo system.

The reason for this is to prvent cheating in the network protocol. If everybody recieved all information about all players all the time, this would allow for cheats such as "wall hacks" where somebody could remove walls to always reveal player locations during actual gameplay.
User avatar
DustyStyx
2D Artist
Posts: 2038
Joined: Wed Aug 11, 2004 02:12 am
Location: Salt Lake
Contact:

Post by DustyStyx »

Sounds like the crystall ball.
User avatar
Willis

Master of the Mask
Lead Programmer

Posts: 872
Joined: Tue Aug 10, 2004 09:28 am
Location: Eau Claire, WI USA
Contact:

Post by Willis »

I don't think I've ever used the crystal ball with more than 2 players before... gonna have to find out how it worked with 3 or more yet...
scirmast
Cultist
Posts: 74
Joined: Sat Aug 14, 2004 12:07 am
Location: Finland
Contact:

Post by scirmast »

That actually is a good way to prevent wallhacking. But also being able to switch between the players helps you determine if the other player uses aimbot.

And I also assume you haven't looked at the Crystal Balls code yet? :)
User avatar
Willis

Master of the Mask
Lead Programmer

Posts: 872
Joined: Tue Aug 10, 2004 09:28 am
Location: Eau Claire, WI USA
Contact:

Post by Willis »

No I have not.

Also the demo ability you are asking for is on the todo list for the engine, but I'm not quite sure how it will work honestly... basically what it is is a full network recording from the server point of view, not the player point of view. I'm not sure if this will only be accessible to server operators or all players.
Daedolon
Cultist
Posts: 97
Joined: Tue Aug 17, 2004 10:29 am
Contact:

Post by Daedolon »

Willis wrote:I don't think I've ever used the crystal ball with more than 2 players before... gonna have to find out how it worked with 3 or more yet...
I think it just browsed through all of the players' views with every use and then shut down.
User avatar
DustyStyx
2D Artist
Posts: 2038
Joined: Wed Aug 11, 2004 02:12 am
Location: Salt Lake
Contact:

Post by DustyStyx »

From what I remember it would cycle through the other players, pausing for about a second or so and then going onto the next. I don’t think it would shut down until it was out of power, it'd just keep cycling.

To accomplish this we would have to have some sort of split screen mode, prefrebly with some sort of concave distrotion effect, and a camera following each player.
scirmast
Cultist
Posts: 74
Joined: Sat Aug 14, 2004 12:07 am
Location: Finland
Contact:

Post by scirmast »

I am pretty certain Crystal Ball switched between players when you pressed the use key or the crystall ball key. Don't remember when I saw it though. Definitely in 1on1 you could turn it on or off.
User avatar
DustyStyx
2D Artist
Posts: 2038
Joined: Wed Aug 11, 2004 02:12 am
Location: Salt Lake
Contact:

Post by DustyStyx »

Well yes, you can turn it on and off with the use key. I'm just not sure it was picky about who it chose to display. More of a "There's a guy here, and here, and here." That sort of thing.
Post Reply