Raised This Month: $ Target: $400
 0% 

Player model set to an entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
T3STIK
Junior Member
Join Date: Oct 2012
Location: Czech Republic
Old 12-26-2013 , 09:14   Player model set to an entity
Reply With Quote #1

Hi,
I wanted to try to write a new mod, but I could not find any model,
which would be good for me.

So I had an idea, if is possible to set player model to any entity?
For example:
I have some brushes, which a set to entity "func_wall" (in valve hammer editor, in my map).
I set them names CTModels01-CTModels09 and TModels01-TModels09.

Is any way, how to set player's models to this entity, so that they could move?

Thanks for answers.
T3STIK is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 12-26-2013 , 20:12   Re: Player model set to an entity
Reply With Quote #2

Do you mean assign entity to player and they carry the entity? If so, it's possible
__________________
What are you looking for here?

Last edited by DavidJr; 12-26-2013 at 20:14. Reason: appropriate typo
DavidJr is offline
T3STIK
Junior Member
Join Date: Oct 2012
Location: Czech Republic
Old 12-27-2013 , 07:53   Re: Player model set to an entity
Reply With Quote #3

Yes, I mean this (Assign entity to player, so that player will look like this entity).

Do you know any way, how to do it?
T3STIK is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 12-27-2013 , 09:55   Re: Player model set to an entity
Reply With Quote #4

You can use
PHP Code:
    entity_set_edict(entEV_ENT_aimentid)
    
entity_set_int(entEV_INT_movetypeMOVETYPE_FOLLOW
__________________
What are you looking for here?
DavidJr is offline
T3STIK
Junior Member
Join Date: Oct 2012
Location: Czech Republic
Old 12-27-2013 , 12:28   Re: Player model set to an entity
Reply With Quote #5

It does not work. When did I use this, player had normal model and he carried that entity.

Here is better example, what I mean:
Do you know mod Hide N Seek, where you has not normal model, but
you was changed to any one model on this map (bottle, bed, lamp, door, ...)?
This is samae, but I need use to entity than model.

Image: http://**************/a/img811/7892/pzma.jpg

Last edited by T3STIK; 12-27-2013 at 12:48.
T3STIK is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 12-27-2013 , 15:36   Re: Player model set to an entity
Reply With Quote #6

Prophunt
You need special models for that. As far as I'm searched/tested - you need a model that can be added to players foot bone. After that, make player invisible, and you will be your globus. But then there is problem with player size remaining the same
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 12-27-2013 , 19:45   Re: Player model set to an entity
Reply With Quote #7

I guess it can be done with cs_set_user_model
__________________
What are you looking for here?
DavidJr is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode