Raised This Month: $ Target: $400
 0% 

Changing model in esf


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 12-26-2007 , 17:00   Changing model in esf
Reply With Quote #1

Untill now I tried with all the methods that I know, and with none worked
//tested untill now
entity_set_model(id, "models/transform/bebivegeta/bebivegeta.mdl")
engfunc(EngFunc_SetModel, index, "models/transform/bebivegeta/bebivegeta.mdl")
set_pev(id,pev_model,"models/transform/bebivegeta/bebivegeta.mdl")

Plugin attached.
Please, if anyone has a solution post it here.

Problem solved, using the esf model changer module.
Attached Files
File Type: sma Get Plugin or Get Source (vegeta_to_bebivegeta.sma - 721 views - 1.5 KB)

Last edited by hip_hop_x; 12-26-2007 at 20:01.
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
Old 12-26-2007, 19:58
hip_hop_x
This message has been deleted by hip_hop_x.
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-26-2007 , 23:16   Re: Changing model in esf
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=64883

esf_set_avatar_model(id, const szModel[])?
__________________
M249-M4A1 is offline
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 12-27-2007 , 06:57   Re: Changing model in esf
Reply With Quote #3

yea but how to use that function if there's no file to include that one . In esf.inc are others functions than those on the website.
Now I'm using a module, but the model isn't animated right .
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-27-2007 , 08:45   Re: Changing model in esf
Reply With Quote #4

Try this plugin (works for cs1.6).
This plugin makes fake natives that you can use in other plugins.

Just put this with plugins includes :

PHP Code:
#include <setusermodel> 
Then you can use those natives :

set_user_model(player_index, model), where model is only the name fo file with the extansion (newvegeta for $mod/models/player/newvegeta/newvegeta.mdl)

ex : set_user_model(id, "newvegeta")

And to reset the player model :

reset_user_model(id).


This plugin is based on amxmod_compat.amxx.
Attached Files
File Type: inc setusermodel.inc (196 Bytes, 397 views)
File Type: sma Get Plugin or Get Source (Set_User_Model.sma - 1033 views - 2.3 KB)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-27-2007 at 08:50.
ConnorMcLeod is offline
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 12-27-2007 , 09:29   Re: Changing model in esf
Reply With Quote #5

doesn't work with esf
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-27-2007 , 09:47   Re: Changing model in esf
Reply With Quote #6

Did you do all what i wrote ?
Doesn't seem you have DLed the .inc file that is needed to compile your plugin.

Please past result of 'amxx list' command.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 12-27-2007 , 10:55   Re: Changing model in esf
Reply With Quote #7

I've downloaded that, and tried. I'm using now esf model changer module, but the animations of the models aren't right. Anyway, atleast I found a working solution.
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-27-2007 , 11:22   Re: Changing model in esf
Reply With Quote #8

Yeah I'd say you did, considering you posted in new submissions
__________________
M249-M4A1 is offline
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 12-27-2007 , 11:36   Re: Changing model in esf
Reply With Quote #9

well if anyone will have a better solution that works, and does the right animation on player model, post it here.
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-27-2007 , 11:46   Re: Changing model in esf
Reply With Quote #10

I'm pretty sure that the plugin i gave you works, i just can't test.
Please post the plugin you test with mine
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 11:12.


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