Raised This Month: $ Target: $400
 0% 

Fun related stuff


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 03-11-2005 , 20:58   Re: Fun related stuff
Reply With Quote #6

Quote:
Originally Posted by LynX
Well, I have several questions which I would be like that anyone of you answers me
Now, on stuff:

1) How can I change skin(texture) of a model without using any XX_set_user_model, coz it wouldn't work.
2) How to spawn a sprite on players position?
3) How can I change sprite when a function is called? So when I press, let's say, command to change health then it changes sprite of something.
4) How can I make that function can only be called if 2 players are standing close to each other ( looking into their faces )?
5) How can I force some player to be a spectator?
6) How I can change model with FakeMeta?

Thanks in advance!!!
1) Using cs_set_user_model you specify the name of the model, ie "gign", and it then looks in models/player/gign/gign.mdl. You don't specify the entire model path. You could try entity_set_string(id,EV_SZ_model,"themodel"), but it may not work how you want it to.

2)
Code:
   //TE_SPRITE - additive sprite, plays 1 cycle    message_begin(MSG_BROADCAST,SVC_TEMPENTITY);    write_byte(17);    write_coord(spriteorigin[0]); // coord, coord, coord (position)    write_coord(spriteorigin[1]);    write_coord(spriteorigin[2]);    write_short(firespr); // short (sprite index)    write_byte(20); // byte (scale in 0.1's)      write_byte(200); // byte (brightness)    message_end();

3) What?

4) Use get_user_aiming to see who they are looking at, and that will also return the distance so you can make sure they are close together.

5) Make them run changeteam and then menuselect 3 (or it might be slot3).

6)
Code:
engfunc(EngFunc_SetModel,entity,"models/modelnameandthesuch.mdl");
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
 



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 13:57.


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