2 registered members (TipmyPip, 1 invisible),
18,731
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Create a player with my source
[Re: rayp]
#411356
11/15/12 20:22
11/15/12 20:22
|
Joined: Feb 2010
Posts: 886
Random
User
|
User
Joined: Feb 2010
Posts: 886
|
5000$? That would have to be an amazing player source  Perhaps, didn´t I already wrote a little player source for him? Which I also posted on his thread?
|
|
|
Re: Create a player with my source
[Re: rayp]
#411386
11/16/12 05:35
11/16/12 05:35
|
Joined: Nov 2012
Posts: 49
amirmehrvarz
OP
Newbie
|
OP
Newbie
Joined: Nov 2012
Posts: 49
|
I do not speak English I use translate.google.com I translated the words I'm sorry for your time I am just a player like call of duty but I am just a player who can go The mouse does not pan or tilt One source is the ZOMBIE-part-I I want to be a player like him Of course, just walking and rotate / for example http://www.youtube.com/watch?v=IwolNVtikT8Again I say Just walking and rotate No bullets hit and nothing else I am very grateful to you if you help me
|
|
|
Re: Create a player with my source
[Re: amirmehrvarz]
#411399
11/16/12 10:02
11/16/12 10:02
|
Joined: Jul 2008
Posts: 2,110 Germany
rayp
 
X
|
 
X
Joined: Jul 2008
Posts: 2,110
Germany
|
This forum is FULL of these examples you're asking 4 fex http://www.opserver.de/ubb7/ubbthreads.p...true#Post410920anyway...
function _cam_follow()
{
vec_set(camera.x, my.x);
camera.pan -= 0.6 * mickey.x;
camera.tilt -= 0.6 * mickey.y;
camera.tilt = clamp(camera.tilt, -85, 85);
vec_set(player.pan, camera.pan);
}
function _move_player()
{
var dist_ahead, dist_side, simple_gravity;
while(1)
{
dist_ahead = (key_w-key_s)*time_step*4;
dist_side = (key_a-key_d)*time_step*4;
simple_gravity = 10*time_step;
c_move(me, vector(dist_ahead, dist_side, 0), vector(0,0,-simple_gravity), GLIDE|IGNORE_ME);
_cam_follow();
wait(1);
}
}
action Shitty_Basic_Player()
{
// player = me;
// setup bbox here
_move_player();
}
Edit: Not tested, but i guess it works. Apply Shitty_Basic_Player to your player model in WED and use WASD to move. Please transfer my +- 10000$ to my swiss bank account ^^ Greets
Last edited by rayp; 11/16/12 15:00.
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
|
|
|
|