Question - Portal content in TF2?

AtionSong

L1: Registered
Feb 17, 2008
6
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?
 

Hawk

L7: Fancy Member
Dec 3, 2007
419
213
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?
 

YM

LVL100 YM
aa
Dec 5, 2007
7,158
6,079
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.
 

AtionSong

L1: Registered
Feb 17, 2008
6
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.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,158
6,079
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
 

Pseudo

L6: Sharp Member
Jan 26, 2008
319
150
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.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,158
6,079
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.

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.