[QUOTE=kar-re;29359436]I know how he got the tank into Portal 2. And it doesn't have anything to do with the L4D2 engine.[/QUOTE]
Mind sharing, I'm curious now.
[QUOTE=eggman249;29360477]Mind sharing, I'm curious now.[/QUOTE]
he copy and pasted the model and material from l4d2 then animated it and put it in the map
wow so fucking ~mysterious~
[QUOTE=Tark;29366150]he copy and pasted the model and material from l4d2 then animated it and put it in the map
wow so fucking ~mysterious~[/QUOTE]
You know you're wrong when the maker of the video even disagrees with you.
[QUOTE=eggman249;29366582]You know you're wrong when the maker of the video even disagrees with you.[/QUOTE]
then I truly am intrigued as to his method
Copying and pasting the files straight from Left 4 Dead 2 will not work since Valve did some cockamamie thing to how the models were stored in the L4D2 vpks (not present at launch, introduced in a later patch) that makes them incompatible with the Source 2011 (including Alien Swarm's as well) engine. Do that and you'll just end up with an invisible model and error messages spamming the console.
Even though I made no changes at all, it was necessary to decompile and recompile the Tank model to make it work in Portal 2. However, even that wasn't enough as, instead of an invisible model, the game would instantly crash, despite the model as it was able to work even in the Source 2006 engine. I ended up having to use the Tank's first LOD mesh instead of its main mesh. After that point, I loaded up Portal 2, spawned the model through prop_dynamic_create, did some ent_fire work to make it play the right animation, and then recorded.
Also, that's not the Left 4 Dead 2 Tank. That was clearly the Left 4 Dead 1 Tank skin. More specifically, my unreleased Beta-Style L4D1 Tank skin.
Regardless, the code for that sort of NPC is hard coded in, you can't just copy and paste it. All that he did was spawn a model of the tank and assign it an animation.
WE GOT A TANK
/c
Sorry, you need to Log In to post a reply to this thread.