[WIP] TF Chess

Discussion in 'WIP (Work in Progress)' started by Spacemonkeynz, Jul 24, 2008.

  1. Spacemonkeynz

    Spacemonkeynz L5: Dapper Member

    Messages:
    234
    Positive Ratings:
    52
    [​IMG]

    My goal is to have players able to play chess in TF2. The 'pieces' are prop_dynamic, which can be move by being parented to a func_moveliner

    Don't know if this will work yet, but i'm going to try.
     
  2. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    615
    Neato. Though I imagine this would get rather chaotic on normal servers. Still, I enjoyed playing chess in HL2DM, lol. Looking forward to this one :)
     
  3. Shadowclad

    Shadowclad L1: Registered

    Messages:
    29
    Positive Ratings:
    2
    By the way, there is a company that manufactures models of peoples WoW characters, maybe we could get thim to make this...
    Anyway, if this map is 1v1 it might be easier. Or you know what would be cool (although this would probably be based on the server and not the map) is if everybody took a vote on what piece to move and the most popular choice was moved. By the way, you should also choose a good backdrop for it. Hanging in oblivion or in the middle of the sky would probably be okay, but if you put typical decoration in the back it would be better, IMHO. You could also always put it right smack in the middle of dustbowl if you can't think of anything else. And if you can get them to play an attack animation when they take another piece, that would be so awesome I can't even describe (and get the knight to do his rocket jump animation when he jumps). By the way, I noticed that there are 32 pieces and that is the maximum amount of players on most servers. If only there was a way to play chess with real players as the pieces without ten year olds running across the board and smashing all in sight.
     
    Last edited: Jul 24, 2008
  4. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,468
    I think your best bet would be to add path_tracks to each square with the "Teleport to this track" flag checked.

    When the players moves a piece, it will simply teleport to the place.
     
  5. Shadowclad

    Shadowclad L1: Registered

    Messages:
    29
    Positive Ratings:
    2
    Maybe you shoot the square of the piece then where you want it to move. On second thought... this is getting too complicated. You're a human, after all!
     
  6. Spacemonkeynz

    Spacemonkeynz L5: Dapper Member

    Messages:
    234
    Positive Ratings:
    52
    That's what i'm thinking, shoot the piece you want to move, shoot it to where you want to move it.

    I'm planing to have multiple boards in one map, so more then two people can play. However only two people are allowed on each board.

    EDIT:

    I've got the Red Rook working
    [​IMG]
    shoot him, he turns red.

    [​IMG]
    shoot the square, it square turns blu and he moves to it.

    First i'm planing to get a version just where all the pieces can be moved anywhere, not worrying about the game logic yet.
     
    Last edited: Jul 24, 2008
  7. joshman

    joshman L5: Dapper Member

    Messages:
    204
    Positive Ratings:
    14
    Neato!
     
  8. Shadowclad

    Shadowclad L1: Registered

    Messages:
    29
    Positive Ratings:
    2
    Awesome! Excellent work!
     
  9. Randdalf

    aa Randdalf

    Messages:
    1,054
    Positive Ratings:
    462
    Hope it works, this is good.

    How will you simulate the death of pieces? Gib ragdolls?
     
  10. joshman

    joshman L5: Dapper Member

    Messages:
    204
    Positive Ratings:
    14
    I'd think a explosion and some gibs.
     
  11. Snipergen

    Snipergen L13: Stunning Member

    Messages:
    1,053
    Positive Ratings:
    150
    I really wonder how you will tell the game that a horse can only move 2 forward 1 sideways etc.. the chess rules.
     
  12. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    lol a horse, you mean a knight? :p
     
  13. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    This. Is. CHECKMATE!!!
     
  14. Snipergen

    Snipergen L13: Stunning Member

    Messages:
    1,053
    Positive Ratings:
    150
    Wtf horse jumps 2 and 1 right? At least in belgium we call THE HORSE a horse.

    [​IMG]
     
  15. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    1 right or left.
     
  16. efciem

    efciem L69: Deviant Member

    Messages:
    69
    Positive Ratings:
    6
    I have access to a 3d Polyurethane epoxy printer..

    use it for work..

    basicly you can take any 3d model and it creates a casted model of it with a maximum size of 6" high, 3" diameter and its pretty detailed , I have some airplane models ive made done with it.

    Cost for doing it would run about $15 per model though for the materials,

    Time and use of the machine is free for me.. cuz i can do it while im at work.
     
  17. efciem

    efciem L69: Deviant Member

    Messages:
    69
    Positive Ratings:
    6
    as for a background to the map, do a 3d Skybox with large furniture etc so it looks like its set on a coffee table in a living room.. have a big screen TV blurred out in the background with some tv show animated texture ;)
     
  18. Spacemonkeynz

    Spacemonkeynz L5: Dapper Member

    Messages:
    234
    Positive Ratings:
    52
    Haha, that would be pretty cool.

    However, i've put it on hold for a moment. While i've worked out I way to do everything, it's extremely time consuming, every entity has to renamed, 84 squares, 32 pieces. Then if I wanted two boards in the same map (so that more then 2 people could play at a time), I would have to rename all the entities for the new board, plus inputs and outputs, which would double the amount of work.

    So i'm going to try and work out an easier way. If only we could code our own entities, it would make things so much easier.
     
  19. Bonafide

    Bonafide L6: Sharp Member

    Messages:
    314
    Positive Ratings:
    25
    remember to make a high platform so people can run up there to get a clear view of the whole board, maybe a glass ceiling to run across. Its hard to make decisions at ground level imo.

    also i know it would be kinda impossible but what about when a piece is taken, the capture piece kills the taken piece? I remember they did this in a mortal kombat game where they had chess as a bonus game.
     
    Last edited: Jul 25, 2008
  20. R3dRuM

    R3dRuM L6: Sharp Member

    Messages:
    303
    Positive Ratings:
    19
    It is extremly hard to do this. you need some extensive programming. i cant even list all the hard/impossible things to do to make this play right.