Question - Portal content in TF2?

Discussion in 'Mapping Questions & Discussion' started by AtionSong, Apr 5, 2008.

  1. AtionSong

    AtionSong L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Okay, my basic dilemma - I want to use some of the models from Portal in a TF2 map, but my World Model lister only gives me the models from TF2 and hl2. I've tried using GCFscape to get the Portal models to appear too, to no avail. Can anybody tell me how to do this?
     
  2. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,741
    Unfortunatly using portal's props in TF2 is against Valves eula.
     
  3. Hawk

    Hawk L7: Fancy Member

    Messages:
    419
    Positive Ratings:
    212
    This question has come up before and I usually gets the answer that it violates EULA. But isn't it more technically correct that owners of both Portal and TF2 can mix the two as much as they like, but embedding the contents in the map and distributing it is illegal?
     
  4. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,741
    They can only distribute it to those that also have portal. as you can now by TF2 seperately there is no garentee that everyone does, thus its not allowed.
     
  5. AtionSong

    AtionSong L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Okay, so if mixing portal content is against the rules, could somebody give me a brief lesson in how to create a button that, when stepped on, would open a door in TF2? That's basically all I want to do.
     
  6. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,741
    You'll need some 3d modeling software, you will need to make two actions, a being pressed and a beeing unpressed, then an up and down state ( I don't know the details of any part of the model making process) then you can make a trigger on top of it and fire the right actions wen a player stops into the trigger.

    Check interlopers for modeling tutorials - http://www.interlopers.net/index.php?page=errors
    Check DJives post for general info - http://forums.tf2maps.net/showthread.php?t=807
    and anything else use the developer wiki - http://developer.valvesoftware.com/wiki/SDK_Docs
    And the most important link of all - www.google.com
     
    • Thanks Thanks x 1
  7. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    I would think that you could use Portal content, but not distribute the content. So anybody who plays your map but doesn't have Portal installed would see errors instead of the models. This wouldn't be ideal but is as far as I know legal.

    As for making a button, you could make a 3D model as Youme said but I think it would be much simpler to make a brush-based button. Make a shape, most likely a cylinder, with the block tool. Tie it to entity func_button. You can set the movement angle, reset time, speed, and distance of the button. In the button's flags, check the "Touch Activates" option. Your door will either be a func_door or a prop_dynamic. Give names to both the door and the button. In the Outputs for the button, have OnPressed door Open. If the door is a model instead of func_door, use OnPressed door SetAnimation Open instead. If you want the door to close when the button resets itself add OnOut door Close.
     
    • Thanks Thanks x 2
  8. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,741
    Can't do that, the portal models are inside the portal GCFs and TF2 hasnt got acess to it so everyone would get error models unless you used pakrat to put it inside the BSP, which would be distributing it.