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 2 of 2 1 2
Re: accurate shot [Re: demiGod] #148585
08/17/07 22:18
08/17/07 22:18
Joined: Nov 2006
Posts: 141
South Africa
quasarchangel Offline
Member
quasarchangel  Offline
Member

Joined: Nov 2006
Posts: 141
South Africa
I have come across this same problem before. It must be the player walking into it. Unfortunately I could never come up with a solution. Maybe you can try something with push values?

EDIT | What about just doing a precalculated shot with a trace and then moving the passable ball as one would expect, with gravity, etc? Probably would be hard to do.

Another thought...
Are you using the physics engine for the ball? If so you can set the ball to ignore the player, if I remember corectly.

By the way your HUD models look quite nice.

2nd EDIT | It looks also like either your impact events for the ball are not correct or maybe glide is on?

Last edited by quasarchangel; 08/17/07 22:27.

God DID give us a manual on how to change this world...
Re: accurate shot [Re: demiGod] #148586
08/19/07 12:28
08/19/07 12:28
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
Quote:


Code:

function create_balls()
{
proc_kill(4);
vec_for_vertex (temp.x, weapon1, 1465);
ent_create (ball_mdl, temp.x, move_balls);
}

function move_balls()
{
var ball_speed;
my.pan = camera.pan;
my.tilt = camera.tilt;
ball_speed.x = 50 * time_step;
ball_speed.y = 0;
ball_speed.z = 10 * time_step; // change this to 0
while (my != null)
{
c_move (my, ball_speed, nullvector, ignore_passable);
ball_speed.z -= 3 * time_step; //change this to = -3 * time_step;
wait (1);
}
}







Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Page 2 of 2 1 2

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