Serversde avatar
Moderator: Moderators
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
Serversde avatar
Can you change a player's avatar to a stock texture thru scrpt? Or maybe add something over the avatar to specify that the player is holding an object? Or would i be better off just attatching a light or a corona to the person?
-
Unreal_Demon
- Lance Corporal
- Posts: 15
- Joined: Sat Jan 22, 2005 12:21 am
I dont really think so, not serverside.
But what I did to make a player avatar for one player was to spawn a model and give it the origin of the player. That's how I did it for my player medic mod.
But what I did to make a player avatar for one player was to spawn a model and give it the origin of the player. That's how I did it for my player medic mod.
Admin @ Unrealmod
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
-
Unreal_Demon
- Lance Corporal
- Posts: 15
- Joined: Sat Jan 22, 2005 12:21 am
I didn't use the glue command. I used a while loop and inside that I gave the entity's origin the same as the player's origin + ( 0 0 20 ).
Admin @ Unrealmod
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
soooo....
Code: Select all
while (parm.other.health != 0 )
{
$bomb.origin = parm.other.origin + ( 0.00 0.00 96.00 )
}
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
-
Unreal_Demon
- Lance Corporal
- Posts: 15
- Joined: Sat Jan 22, 2005 12:21 am
This is how I used it:
Code: Select all
while(level.medic.ismedic == 1)
{
$medic_avatar.origin = ( ( level.medic gettagposition "Bip01 Spine1" ) + ( 0 0 0 ) )
wait .1
}Admin @ Unrealmod
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
-
Unreal_Demon
- Lance Corporal
- Posts: 15
- Joined: Sat Jan 22, 2005 12:21 am
I extracted that out of my old one. I started from scratch. I couldn't find my new one. 
Edit:
Here's the new one:
Edit:
Here's the new one:
Code: Select all
$canteen.origin = ( level.medic gettagposition "eyes bone" ) + ( 0 0 15 )Admin @ Unrealmod


