Raised This Month: $ Target: $400
 0% 

Name into Model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pattinho
Member
Join Date: Dec 2007
Old 05-08-2012 , 09:39   Name into Model
Reply With Quote #1

Hey guys,

i just have a question. For example, i have a custom model. Is it possible through a plugin to put the name of the mate into this model ? So that no one has to download every model, just only one model ?
Pattinho is offline
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 05-08-2012 , 15:04   Re: Name into Model
Reply With Quote #2

Why everyone write only "hey guys", should be 'guys/girls' !

I don't understand your question, do you want to put your name on a model?
With pawn you can't, you need edit your model "with half life model viewer"
bazhenov93 is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 05-09-2012 , 02:21   Re: Name into Model
Reply With Quote #3

Quote:
Originally Posted by Pattinho View Post
Hey guys,

i just have a question. For example, i have a custom model. Is it possible through a plugin to put the name of the mate into this model ? So that no one has to download every model, just only one model ?
Mmm no... maybe you can use sprites that are smaller than the models.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 05-09-2012 , 02:27   Re: Name into Model
Reply With Quote #4

Use sprites as chars
attach to player
__________________
The functional way is the right way
GordonFreeman (RU) is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-09-2012 , 02:41   Re: Name into Model
Reply With Quote #5

Quote:
Originally Posted by GordonFreeman (RU) View Post
Use sprites as chars
attach to player
That would be extremely intensive to implement and would not be worth it.
__________________
fysiks is offline
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 05-09-2012 , 02:40   Re: Name into Model
Reply With Quote #6

What about lags/ping?
bazhenov93 is offline
Pattinho
Member
Join Date: Dec 2007
Old 05-09-2012 , 19:49   Re: Name into Model
Reply With Quote #7

Im so sorry bazhenov93

Well I have a clan and i just wanna do for every member a special model with his name in his back. And its just annoying to download for everyone 10 models or something like that. So I though i make a custom model without name and put through my plugin the name on the model. Is that Possible ?

Because i saw in the Plugin "American Football" that he just use one model but if i play this mod there are different names in there backs. Well the Plugin got so many lines and its at first hard to understand what he is really doing.

So would be nice boys and girls if someone can help me or i have to understand the plugin

Last edited by Pattinho; 05-10-2012 at 06:23.
Pattinho is offline
Pattinho
Member
Join Date: Dec 2007
Old 05-10-2012 , 06:24   Re: Name into Model
Reply With Quote #8

I found something in the plugin of American Football Mod, he use this for set a player a model

PHP Code:
public set_user_model(id)
{
    
id -= 30437lastmove[0] = (lastmove[0] <= 0.2) ? 0.0 lastmove[0] - 0.2;
    
// check to make sure player has a unique skin
    
new user_team get_user_team(id);
    for (new 
1<= MaxPlayersi++)
        if (!
is_bot[i] && != id)
        if (
is_user_connected(i))
        if (
skin[i] == skin[id])
        if (
get_user_team(i) == user_team)
            
set_random_skin(id);
    
// set the model
    
engfunc(EngFunc_SetClientKeyValueidengfunc(EngFunc_GetInfoKeyBufferid), "model"model_names[(get_user_team(id) == 1) ? 10 21]), set_pev(idpev_skinskin[id] != -skin[id] : 0);

PHP Code:
engfunc(EngFunc_SetClientKeyValueidengfunc(EngFunc_GetInfoKeyBufferid), "model"model_names[(get_user_team(id) == 1) ? 10 21]), set_pev(idpev_skinskin[id] != -skin[id] : 0); 
but i dont understand this
Pattinho is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 05-10-2012 , 06:49   Re: Name into Model
Reply With Quote #9

In the American football mod all player models are put in one as different skins. You can't add anything on the model with a plugin, you can add all models in one as skins, but you need to know how to create models, which is not so easy and you wouldn't make it (it's not as changing textures in HLMV...). So the only way is to use different models as different files...
__________________

Last edited by <VeCo>; 05-10-2012 at 06:50.
<VeCo> is offline
Pattinho
Member
Join Date: Dec 2007
Old 05-10-2012 , 07:00   Re: Name into Model
Reply With Quote #10

Ah so he just split the model into 10 others ? ah ye then its really better to make different models. Thanks for all
Pattinho 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 00:20.


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