Raised This Month: $ Target: $400
 0% 

Fun related stuff


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LynX
Veteran Member
Join Date: Oct 2004
Old 03-09-2005 , 14:38   Fun related stuff
Reply With Quote #1

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!!!
__________________
Current plugin : SoulPunisher anti-cheat
Percentage done : {||--------} 20%

If you think v3x is a PIMP, paste this into your sig!

If you think Bailopan is DA BOMB, paste this into your sig
LynX is offline
Send a message via ICQ to LynX
LynX
Veteran Member
Join Date: Oct 2004
Old 03-10-2005 , 10:18  
Reply With Quote #2

5) I found it out myself...

C'mon, if you have any clue on this things I posted, even a single one o one question, please answer me, I really need the answers
__________________
Current plugin : SoulPunisher anti-cheat
Percentage done : {||--------} 20%

If you think v3x is a PIMP, paste this into your sig!

If you think Bailopan is DA BOMB, paste this into your sig
LynX is offline
Send a message via ICQ to LynX
Bend3R
Veteran Member
Join Date: Oct 2004
Location: Sweden (Stockholm)
Old 03-10-2005 , 11:04  
Reply With Quote #3

http://forums.alliedmods.net/showthr...?p=95489#99184
Bend3R is offline
LynX
Veteran Member
Join Date: Oct 2004
Old 03-10-2005 , 11:19  
Reply With Quote #4

I already know how to change model. I want to change a skin of a model ( model has three different appereances, I wanna change thru them )!
Besides, I want to know how to change model through FakeMeta because the mod team hard-coded model changing restriction into mod, so I won't get far with cs_set_user_model .

[edit]

- oh, and about sprite spawning - I need to spawn it on exact players position - and it should be 3x bigger than player!
__________________
Current plugin : SoulPunisher anti-cheat
Percentage done : {||--------} 20%

If you think v3x is a PIMP, paste this into your sig!

If you think Bailopan is DA BOMB, paste this into your sig
LynX is offline
Send a message via ICQ to LynX
LynX
Veteran Member
Join Date: Oct 2004
Old 03-11-2005 , 10:17  
Reply With Quote #5

C'mon guys... Why nobody answers? I really need thos answers...
Or it isn't possible...
__________________
Current plugin : SoulPunisher anti-cheat
Percentage done : {||--------} 20%

If you think v3x is a PIMP, paste this into your sig!

If you think Bailopan is DA BOMB, paste this into your sig
LynX is offline
Send a message via ICQ to LynX
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
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 13:57.


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