
HaloExtreme117
Joined: May 5, 2012
~Gone~
|
Posted: Jun 4, 2012 05:05 PM
Msg. 1 of 6
I had an idea while playing around on HCE, A way to switch bipeds. Menu item that calls a function, freeze player, spawn the new biped on top of the player, activate bump_possesion, sleep for a second (or maybe .5?), deactivate bump_possesion, delete old biped.
Not sure if this is possible, but could a scripter try it out? Im not the best with scripts, and would probably fail epicly if I tried.
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Jun 4, 2012 05:21 PM
Msg. 2 of 6
It's fine for SP, not for MP though (clients all freeze. they are aware they are in the other body, but they cant move). Also, you want to use ai_attach to your player to make them an AI, and use a command list to make them walk into the biped. Set your health to something different than what the biped your possessing is, and when your health no longer matches, you know you've entered the other body and it can then clean everything up.
|
|
|

HaloExtreme117
Joined: May 5, 2012
~Gone~
|
Posted: Jun 4, 2012 05:40 PM
Msg. 3 of 6
Thanks Kirby!
|
|
|

game user10
Joined: Dec 9, 2011
Who is the Overseer?
|
Posted: Jun 5, 2012 07:24 AM
Msg. 4 of 6
Cheats don't work in scripts for me. Keep saying something like invalid function or something.
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Jun 5, 2012 02:37 PM
Msg. 5 of 6
cheats are considered globals, so you have to type (set cheat_deathless_player 1)
|
|
|

game user10
Joined: Dec 9, 2011
Who is the Overseer?
|
Posted: Jun 6, 2012 04:40 AM
Msg. 6 of 6
Well, infinite ammo in all my maps is a go!
|
|
|