Gamestudio Links
Zorro Links
Newest Posts
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
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,426 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
I can't "ignore_you". #90545
09/18/06 08:21
09/18/06 08:21
Joined: Apr 2006
Posts: 36
P
pwy Offline OP
Newbie
pwy  Offline OP
Newbie
P

Joined: Apr 2006
Posts: 36
Hi, I'm a newbie with Commercial Version.
I've been trying all morning to figure out how to shoot, but I cna't get the "bullet" to ignore the player model. Also, if the bullets are shot in a straight line, the stick to each other. UHG.

I've read AUM and followed some of the tuts--but, I can't seem to get it working.
Any help would be greatly appeciated. Thanks.

Re: I can't "ignore_you". [Re: pwy] #90546
09/26/06 02:50
09/26/06 02:50
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline
User
draculaFactory  Offline
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
Are the player and gun models seperate? Or is it like a first person POV with only the gun visible out in front?

Also, are the bullets sticking to eachother in the air, or are they "stacking up" as they impact the wall? If they stack up on the wall, simply code the bullet to stop when it hits a wall and become passable. Stop the bullet BEFORE it becomes passable or it will just continue to move through the wall.


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
Re: I can't "ignore_you". [Re: draculaFactory] #90547
09/26/06 12:10
09/26/06 12:10
Joined: Apr 2006
Posts: 36
P
pwy Offline OP
Newbie
pwy  Offline OP
Newbie
P

Joined: Apr 2006
Posts: 36
Actually it's a character throwing a stone.

I managed to get it kind of working. I created a "remove_stone" function that makes it passable/invisible/ent_remove. I also made the alpha fade out after a certain amount of time and if the alpha reached "0" , just call the remove function again. It's all really messy actually...

Is there a way to make the stone ignore the character that's throwing it?

I can show you my code if you think that would help. I would like to make it look a little bit more realistic.

Re: I can't "ignore_you". [Re: pwy] #90548
09/26/06 13:08
09/26/06 13:08
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline
User
draculaFactory  Offline
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
there is a mode for c_move called ignore_you, but i dont think that this is what you are looking for because the stone will ignore all yous. try making the stone passable for like 1 second when it leaves the player's hand then become solid again.


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
Re: I can't "ignore_you". [Re: draculaFactory] #90549
09/26/06 15:22
09/26/06 15:22
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline
Warned
Why_Do_I_Die  Offline
Warned

Joined: May 2005
Posts: 819
U.S.
You can try adding the ignore_you in the mode , and after on the next line you can put
you=player; , before the move , heres an example of how I have done for a similar thing ,

vec_scale(temp,movement_scale); // scale distance by movement_scale
move_mode = ignore_you + ignore_push + ignore_passable + ignore_maps;
you=player;
result = ent_move(nullskill,temp);

Hope it helps.

Re: I can't "ignore_you". [Re: Why_Do_I_Die] #90550
09/26/06 15:59
09/26/06 15:59
Joined: Apr 2006
Posts: 36
P
pwy Offline OP
Newbie
pwy  Offline OP
Newbie
P

Joined: Apr 2006
Posts: 36
I'll give it shot. Thanks you two. I also started the stone position a little bit ahead of the character ( so they are not touching ). That seems to help too...

..and yeah. I tried "ignore_you". But, I had not so good results.

Thanks again.

Re: I can't "ignore_you". [Re: pwy] #90551
09/27/06 04:04
09/27/06 04:04
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline
User
draculaFactory  Offline
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
the reason u didnt have good results with ignore_you, im guessing, is because during the collision, the you is set to whatever the stone strikes so it doesnt work well its kinda like a collision oxymoron, if you set the YOU to player (you=player as he said) then the you that is ignored is the player see?


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
Re: I can't "ignore_you". [Re: draculaFactory] #90552
09/27/06 14:10
09/27/06 14:10
Joined: Apr 2006
Posts: 36
P
pwy Offline OP
Newbie
pwy  Offline OP
Newbie
P

Joined: Apr 2006
Posts: 36
I think I get it. LOL
So just assign "you = player". In my case it would be the "hero" entity.
So it would be, "you = hero". Does this work the same with "c_move"? I noticed the use of "ent_move" in the example above. I am using c_move...

Thanks for all your help!

Re: I can't "ignore_you". [Re: pwy] #90553
09/27/06 15:25
09/27/06 15:25
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
Quote:

I can't "ignore_you".




this would be a less helpfull self-introduction to
get into contact with a pretty woman in a bar.

Quote:

I can't "ignore_you" LOL.




would be of no more help


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