Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 1,170 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
STREAK/BEAM not working correctly #311499
02/20/10 03:41
02/20/10 03:41
Joined: Sep 2009
Posts: 20
U
uniman Offline OP
Newbie
uniman  Offline OP
Newbie
U

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] #312064
02/23/10 02:39
02/23/10 02:39
Joined: Sep 2009
Posts: 20
U
uniman Offline OP
Newbie
uniman  Offline OP
Newbie
U

Joined: Sep 2009
Posts: 20
I know someone can at least give me a clue.

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 Offline
Expert
Germanunkol  Offline
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
U
uniman Offline OP
Newbie
uniman  Offline OP
Newbie
U

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
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

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!
Re: STREAK/BEAM not working correctly [Re: JibbSmart] #313055
02/27/10 16:11
02/27/10 16:11
Joined: Sep 2009
Posts: 20
U
uniman Offline OP
Newbie
uniman  Offline OP
Newbie
U

Joined: Sep 2009
Posts: 20
well I just updated the engine and the flags are still doing the same thing. this problem has been getting under my skin for several months now. again I'm sure someone has an idea of some things which could cause this type of problem. remember
ANY particle does this. particles that are called by a generator, particles that are spawned at a hit point, and particles simply spawned from an entities x coordinates.

Re: STREAK/BEAM not working correctly [Re: uniman] #313059
02/27/10 16:18
02/27/10 16:18
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Post a screen shot, please. I don't understand your problem. You could post a screen how it should look like.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: STREAK/BEAM not working correctly [Re: Superku] #313082
02/27/10 16:52
02/27/10 16:52
Joined: Oct 2009
Posts: 149
Germany
M
muffel Offline
Member
muffel  Offline
Member
M

Joined: Oct 2009
Posts: 149
Germany
Perhaps I have the same bug.
If you create a particle with the BEAM flag there is a horizontal line from the particle position to the right side of the screen

http://www.imagebanana.com/view/a2hi5cj/shot_0.jpg

Last edited by muffel; 02/27/10 16:52.
Re: STREAK/BEAM not working correctly [Re: muffel] #313085
02/27/10 17:05
02/27/10 17:05
Joined: Sep 2009
Posts: 20
U
uniman Offline OP
Newbie
uniman  Offline OP
Newbie
U

Joined: Sep 2009
Posts: 20
I am unable to get a screen shot of it. however I will explain it better. we'll use the particle smoke as an example. the game s a first person shooter. when a level block is shot(using c_trace) it spawns smoke particles(the same particle code that came with GS). it works perfectly, but when the streak or beam flag is set, they do not show up. when running around and shooting sometimes I can see them to the right of the player in a random spot. it does this with anything including a particle generator which spawns flame particles periodicly.

Re: STREAK/BEAM not working correctly [Re: uniman] #313087
02/27/10 17:26
02/27/10 17:26
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Can you post the part with the Particle (effect....)

Page 1 of 2 1 2

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

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