1 registered members (Ayumi),
1,170
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
STREAK/BEAM not working correctly
#311499
02/20/10 03:41
02/20/10 03:41
|
Joined: Sep 2009
Posts: 20
uniman
OP
Newbie
|
OP
Newbie
Joined: Sep 2009
Posts: 20
|
didn't get an answer in the other forums so I thought I'd ask here.
whenever I try to attach the STREAK or BEAM flag to a particle it shows up behind and to the right of the player instead of the assigned position. I am aware that these flags are not available with isometric cameras, however, I am using a simple FPS camera. this is the code,
vec_set(camera.x,player.x); vec_set(camera.y,player.y); vec_set(camera.z,player.z+38); vec_set(camera.pan,player.pan); vec_set(camera.tilt,player.tilt);
camera.pan -= 5 * mouse_force.x * time_step; camera.tilt += 3 * mouse_force.y * time_step; if(camera.tilt<-20) { camera.tilt = -20; } if(camera.tilt>40) { camera.tilt = 40; } player.pan = camera.pan; player.tilt = camera.tilt;
the version is 7.80 pro edition
if anyone can give me a clue as to what is causing this it would be greatly appreciated.
Last edited by uniman; 02/20/10 03:41.
|
|
|
Re: STREAK/BEAM not working correctly
[Re: uniman]
#312261
02/23/10 22:29
02/23/10 22:29
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
The "Bug Hunt" forum is meant for engine bugs, not for bugs in your own script. You should use the LiteC forum for that. (First one in the list, I think.)
That being said, we need more information than that. You mention a BEAM and a STREAK flag, but you don't call any particles in your script. BEAM and STREAK are for particles only... so where are the particles supposed to show? You said they shouldn't be behind and to the right of the player, but where should they be? If you answer some of these questions, I'm sure someone will help you. You could also just post the answers to those questions in the LiteC forum. Good luck...
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
Re: STREAK/BEAM not working correctly
[Re: Germanunkol]
#312384
02/24/10 15:15
02/24/10 15:15
|
Joined: Sep 2009
Posts: 20
uniman
OP
Newbie
|
OP
Newbie
Joined: Sep 2009
Posts: 20
|
ANY time the beam or streak flag is called with ANY particle script(including the ones that came with GS) from ANY vector it does this. and I know VERY well that beam and streak are for particles. it's obvious that I know that as I mentioned I was using it on particles("whenever I try to attach the STREAK or BEAM flag to a particle"). I only showed one small portion of my scripts(the camera portion) in case it was something to do with that.
Last edited by uniman; 02/24/10 15:16.
|
|
|
Re: STREAK/BEAM not working correctly
[Re: uniman]
#312407
02/24/10 16:54
02/24/10 16:54
|
Joined: Mar 2006
Posts: 3,538 WA, Australia
JibbSmart
Expert
|
Expert
Joined: Mar 2006
Posts: 3,538
WA, Australia
|
To be more specific, the Bug Hunt forum is for engine bugs in the latest public update. It's useless reporting bugs in older versions if it may not be there in the latest version.
Update to 7.82.
Jibb
Formerly known as JulzMighty. I made KarBOOM!
|
|
|
|