Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, dr_panther, Quad), 935 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
so many questions so much wated time #136356
06/13/07 22:28
06/13/07 22:28
Joined: Sep 2006
Posts: 100
H
harleyb12 Offline OP
Member
harleyb12  Offline OP
Member
H

Joined: Sep 2006
Posts: 100
ill get right to the questions
1.how do i atach the camra to the player model
2.how do i take a screenshot
3.how do i prevent light coming through a model where its not suppposed to
4.when i cg subtract and it splits a model into pieces how do i prevent those black line things on the model (sry if you dont understant)
5.how would i make a headlight thing that miners wear
ive been working on figuring out a simple game to make, i have finally found one, so now i am startting to get into the actual game insteadof just making the level. thx for your help

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 Offline

3D Artist
rvL_eXile  Offline

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] #136358
06/14/07 05:38
06/14/07 05:38
Joined: Sep 2006
Posts: 100
H
harleyb12 Offline OP
Member
harleyb12  Offline OP
Member
H

Joined: Sep 2006
Posts: 100
where do i put the script, lol im not getting this, ive had this for awhile im just not getting things, but i am improving quite a bit.

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 Offline

3D Artist
rvL_eXile  Offline

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
H
harleyb12 Offline OP
Member
harleyb12  Offline OP
Member
H

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 Offline

3D Artist
rvL_eXile  Offline

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: rvL_eXile] #136362
06/21/07 18:34
06/21/07 18:34
Joined: Sep 2006
Posts: 100
H
harleyb12 Offline OP
Member
harleyb12  Offline OP
Member
H

Joined: Sep 2006
Posts: 100
ok ive finally figured out whats going on (i should read the tutorial more carefully) now i have 1 question. what type of script should i use, the a6 template has no actions for some reason, i dont have a5 for another reason and shooter project doesnt seem to have a player_walk_fight action

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 Offline
Senior Member
Bot190  Offline
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.
Re: so many questions so much wated time [Re: Bot190] #136364
07/05/07 02:58
07/05/07 02:58
Joined: Sep 2006
Posts: 100
H
harleyb12 Offline OP
Member
harleyb12  Offline OP
Member
H

Joined: Sep 2006
Posts: 100
yey i figured it out!!!! ok, now i need to know how to make those little bushes like from prehistoric time where there like leaves coming out of the ground. there sprites (i think) but the sprite bends and curves


Gamestudio download | chip programmers | 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