2 registered members (Akow, tomaslolo),
1,536
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: so many questions so much wated time
[Re: harleyb12]
#136357
06/14/07 03:20
06/14/07 03:20
|
Joined: Apr 2005
Posts: 3,076 Germany, NRW
rvL_eXile
3D Artist
|
3D Artist
Joined: Apr 2005
Posts: 3,076
Germany, NRW
|
Hi, 1. Code:
Function camera_pos()
{ camera.genius = player; camera.x = player.x; camera.y = player.y; camera.z = player.z; }
2. Press F6 3. Add this lines to the Player Action Code:
my.light=on; my.lightrange=300; my.red=255; my.green=0; my.blue=0; //Now the Player Traces a Red Light
Hope this helps a lot cYa Seabstian
Tutorials: [Blender]Terrain creation ENG/GER [Blender]Low Poly Tree Modeling [GIMP]Create a Texture for Terrains CLICK HERE
|
|
|
Re: so many questions so much wated time
[Re: rvL_eXile]
#136359
06/14/07 14:18
06/14/07 14:18
|
Joined: Apr 2005
Posts: 3,076 Germany, NRW
rvL_eXile
3D Artist
|
3D Artist
Joined: Apr 2005
Posts: 3,076
Germany, NRW
|
Put the Code:
my.light=on; my.lightrange=300; my.red=255; my.green=0; my.blue=0; //Now the Player Traces a Red Light
In the first of ure Player Script. Put this "Camera.pos();" in a while(1) Loop int the Player Script. Put the Code:
Function camera_pos()
{ camera.genius = player; camera.x = player.x; camera.y = player.y; camera.z = player.z; }
under ure Player Action... cYa Sebastian
Tutorials: [Blender]Terrain creation ENG/GER [Blender]Low Poly Tree Modeling [GIMP]Create a Texture for Terrains CLICK HERE
|
|
|
Re: so many questions so much wated time
[Re: rvL_eXile]
#136360
06/14/07 16:24
06/14/07 16:24
|
Joined: Sep 2006
Posts: 100
harleyb12
OP
Member
|
OP
Member
Joined: Sep 2006
Posts: 100
|
how do i get to the player script?
Last edited by harleyb12; 06/14/07 16:31.
|
|
|
Re: so many questions so much wated time
[Re: harleyb12]
#136361
06/14/07 20:13
06/14/07 20:13
|
Joined: Apr 2005
Posts: 3,076 Germany, NRW
rvL_eXile
3D Artist
|
3D Artist
Joined: Apr 2005
Posts: 3,076
Germany, NRW
|
Maybe wirte it to ure own? or try this (You mst Modify this) Code:
Var Spieler_vorne=17; Var Spieler_hinten=31; Var Spieler_links_Drehung=30; Var Spieler_rechts_Drehung=32;
Var Spieler_Bewegung;
Entity* Player;
Action player_move { player=my; while(1) { Spieler_Bewegung.X = (key_pressed(Spieler_vorne)-key_pressed(Spieler_hinten))*10*time; Player.pan-=10*(mouse_force.x+(key_pressed(Spieler_links_Drehung)-key_pressed(Spieler_rechts_Drehung)))*time;
Camera_Pos(); c_move(my,Spieler_Bewegung,vector(0,0,0), glide); wait(1); } }
Function Camera_Pos() { camera.genius = player; camera.x = player.x; camera.y = player.y; camera.z = player.z+40; camera.pan = player.pan; }
Now u can Attach the Action to one Model in the WED Use the W/S/A/D Keys to move the Player... cYa Sebastian
Last edited by rvL_eXile; 06/14/07 20:14.
Tutorials: [Blender]Terrain creation ENG/GER [Blender]Low Poly Tree Modeling [GIMP]Create a Texture for Terrains CLICK HERE
|
|
|
Re: so many questions so much wated time
[Re: harleyb12]
#136363
06/21/07 22:44
06/21/07 22:44
|
Joined: May 2006
Posts: 398
Bot190
Senior Member
|
Senior Member
Joined: May 2006
Posts: 398
|
ok, that tut. is out of date... for that part of the tutorial you should skip it. use this Tutorial
Last edited by Bot190; 06/21/07 22:45.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|