Gamestudio Links
Zorro Links
Newest Posts
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
Camera always moves upwards?
by NeoDumont. 11/14/25 16:32
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (TipmyPip, Grant, Ayumi, ozgur, Quad), 7,400 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
tritom, sheliepaley, Blueguy, blobplayintennis, someone2
19178 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bullets #180513
01/28/08 18:59
01/28/08 18:59
Joined: Jan 2007
Posts: 59
C
Creepinbox Offline OP
Junior Member
Creepinbox  Offline OP
Junior Member
C

Joined: Jan 2007
Posts: 59
okay.. well .. I've been posting way to much about these bullets laitly.. but can anyone tell me.. whats the best way for me to make the bullets avoid the player? I can set its speed to 330 and it wont hit me .. but .. i feel that this is to "unstable"..

So what can I do ? I can't get push to work, and im hessitant to use trace.. I want the bullets to ignore the player completely..

Re: Bullets [Re: Creepinbox] #180514
01/28/08 19:14
01/28/08 19:14
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
you counted all the possibilities you have to do that and there are no real deficits about them.
I guess you are using c_move, so you could set the ignore_you flag of it...and set you to the player.

Re: Bullets [Re: Scorpion] #180515
01/28/08 19:44
01/28/08 19:44
Joined: Jan 2007
Posts: 59
C
Creepinbox Offline OP
Junior Member
Creepinbox  Offline OP
Junior Member
C

Joined: Jan 2007
Posts: 59
Well, how would you do it ? ..

Re: Bullets [Re: Creepinbox] #180516
01/29/08 14:16
01/29/08 14:16
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
if only the player should be ignored i would use the last mentioned method. c_move with ignore_you set to the player-entity

Re: Bullets [Re: Scorpion] #180517
01/29/08 20:18
01/29/08 20:18
Joined: Jan 2007
Posts: 59
C
Creepinbox Offline OP
Junior Member
Creepinbox  Offline OP
Junior Member
C

Joined: Jan 2007
Posts: 59
yes.. but the player hits the bullets when he moves ..

Re: Bullets [Re: Creepinbox] #180518
01/29/08 20:48
01/29/08 20:48
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
then also set the bullets push lower than the player (-1) and use ignore_push in the c_move of the player :]

Re: Bullets [Re: Scorpion] #180519
01/29/08 21:34
01/29/08 21:34
Joined: Jan 2007
Posts: 59
C
Creepinbox Offline OP
Junior Member
Creepinbox  Offline OP
Junior Member
C

Joined: Jan 2007
Posts: 59
Well .. I don't get it .. nothing seems to work

Re: Bullets [Re: Creepinbox] #180520
01/30/08 22:06
01/30/08 22:06
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
in bullet function:

Code:
my.push = -1;
while(1)
{
[...]
you = player;
c_move(me,vector(10*time_step,0,0),ignore_you);
wait(1);
}



in da players action

Code:
while(1)
{
[...]
c_move(me,direction,ignore_push);
wait(1);
}




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