Please or Register to create posts and topics.

robots not chell

PreviousPage 3 of 4Next
walropodes wrote:
If you don't have a cube spawned in your map, you need to do this or Portal 2 will crash:

Code: Select all
ent_create_portal_weighted_cube

Then go:

Code: Select all
setmodel props/metal_box

It's important to not have the .mdl at the end of the model name, or the models/ at the beginning, or the game will crash.

Screenshots:
ImageImage

That so made my day. xD

And well then could you do this same thing with a black mesa soldier?

-ArttyIntel-

Do you have a Black Mesa soldier 3D model that works in Portal 2? If so you probably can.

walropodes wrote:
Do you have a Black Mesa soldier 3D model that works in Portal 1? If so you probably can.

I use portal 1. And No. But I do have an Alyx.

-ArttyIntel-

Oh

I dunno if the "setmodel" command is in Portal 1 is it? If not, you'll need to use the "modelindex" way that chickenmobile posted earlier

Yea. Portal 1 uses set model. I tried with the code you gave me. Is it that I should change props to something else?

Edit: Cube and turret and stuff works tho.

-ArttyIntel-
walropodes wrote:
Also if you wanna do the model changing in vscripts you can use GetPlayer().SetModel("models/props/metal_box.mdl");

Good, since GetModelIndex isn't available.

Thanks very much for this post...very helpful to the project I've been working on!

Someone should use this information to make a map in which you are a personality sphere. If that's even possible (because come on, that would be awesome).

"Okay, I'll take that as a no, then. Fine. Well. May the best man win.
Sphere. May the best sphere win. Swap that in. Much more clever. Books."

Check me out on deviantART! http://cookieninja8.deviantart.com/

Is there a way to rename an existing animation in an existing decomplied model, for example giving Alyx the run_portalgun animation in place of run_rpg2 or something?

Falsi sumus crusto!
taralqua wrote:
Thanks very much for this post...very helpful to the project I've been working on!

forget about modelindex and put your model of choice in the level and change it at the start. very easy.
the only caveat is that the sounds of chell are not removed (ex: when walking you hear the footsteps for both).
you can easily resolve that by overwriting the related sound files ( I suggest to wait for mod support however).

PreviousPage 3 of 4Next