Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,388 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
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 Offline
User
Random  Offline
User

Joined: Feb 2010
Posts: 886
5000$?
That would have to be an amazing player source grin
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: Random] #411363
11/15/12 20:56
11/15/12 20:56
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
Originally Posted By: Random
you`re

Maybe this helps: http://www.wikihow.com/Use-You're-and-Your


Visit my site: www.masterq32.de
Re: Create a player with my source [Re: MasterQ32] #411364
11/15/12 21:17
11/15/12 21:17
Joined: Feb 2010
Posts: 886
Random Offline
User
Random  Offline
User

Joined: Feb 2010
Posts: 886
-_-



Re: Create a player with my source [Re: Random] #411368
11/15/12 21:42
11/15/12 21:42
Joined: Jul 2008
Posts: 2,110
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,110
Germany
Quote:
5000$?
That would have to be an amazing player source
Yeah ^^ And dont forget the realdoll, another 5000, a new one of course grin


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;
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
A
amirmehrvarz Offline OP
Newbie
amirmehrvarz  Offline OP
Newbie
A

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=IwolNVtikT8
Again 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 Offline

X
rayp  Offline

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#Post410920

anyway...
Code:
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;
Re: Create a player with my source [Re: rayp] #411409
11/16/12 11:50
11/16/12 11:50
Joined: Nov 2012
Posts: 49
A
amirmehrvarz Offline OP
Newbie
amirmehrvarz  Offline OP
Newbie
A

Joined: Nov 2012
Posts: 49
yes yes yes thank you //// That was my problem.
But a problem
The camera used in the model. {camera is inside the model }
to wit
camera.y = player.y
camera.x = player.x
camera.z = player.z
but i want
camera.y == player.y+6
But everything goes wrong
can you help me ??

Re: Create a player with my source [Re: amirmehrvarz] #411410
11/16/12 11:52
11/16/12 11:52
Joined: Jul 2008
Posts: 2,110
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,110
Germany
Be carefull with "=="
Code:
//checking
 if (value1 == value2) Do Something
 //setting
 value1 = 1;



have a look at vec_add, vec_rotate and so on.

Last edited by rayp; 11/16/12 11:52.

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;
Re: Create a player with my source [Re: rayp] #411411
11/16/12 12:01
11/16/12 12:01
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Code:
vec_set(camera.x, vector(my.x, my.y, my.z+6));



Do... the... tutorial! wink

Re: Create a player with my source [Re: PadMalcom] #411415
11/16/12 12:25
11/16/12 12:25
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline
Senior Member
3dgs_snake  Offline
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
grin

Page 3 of 4 1 2 3 4

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1