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
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 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: collision problem [Re: Vyse220] #229532
09/28/08 12:37
09/28/08 12:37
Joined: Aug 2008
Posts: 218
U.S.
GamerX Offline
Member
GamerX  Offline
Member

Joined: Aug 2008
Posts: 218
U.S.
I don't know if it will work i didn't try it yet but you can attach actions to

map entity's if you load them into your level. In the even that it doesnt work,

would you mind telling me why your character dies on collision because it might

be a matter of just changing what triggers the dieing event. Does the player have

to die every time he hits something?


"You may never know what results come of your action, but if you do nothing there will be no result."
-Mahatma Gandhi
Re: collision problem [Re: GamerX] #229568
09/28/08 17:23
09/28/08 17:23
Joined: Aug 2008
Posts: 49
V
Vyse220 Offline OP
Newbie
Vyse220  Offline OP
Newbie
V

Joined: Aug 2008
Posts: 49
yep, it's a shooting game, in the player touch the wall he must die.
but he now die when he enter the collision box Y_Y

it doesn't work when i import it in map entity.
You telled me that you have tryed with and work, what flag have you set?

Re: collision problem [Re: Vyse220] #229571
09/28/08 17:44
09/28/08 17:44
Joined: Aug 2008
Posts: 218
U.S.
GamerX Offline
Member
GamerX  Offline
Member

Joined: Aug 2008
Posts: 218
U.S.
NO i didn't get it to work i didn't know he must die when hitting a side, as i see the only option for this i am guessing would be to break it up into multiple pieces and put it back together in WED. There may be other ways but this is all i can propose.

Last edited by GamerX; 09/28/08 17:45.

"You may never know what results come of your action, but if you do nothing there will be no result."
-Mahatma Gandhi
Re: collision problem [Re: GamerX] #229573
09/28/08 17:47
09/28/08 17:47
Joined: Aug 2008
Posts: 49
V
Vyse220 Offline OP
Newbie
Vyse220  Offline OP
Newbie
V

Joined: Aug 2008
Posts: 49
i just cant split up the model in more parts cause every part will create a new box that mustn't be a box.
there must be a way, but also in the manual i can't see nothing

Re: collision problem [Re: Vyse220] #229574
09/28/08 17:54
09/28/08 17:54
Joined: Aug 2008
Posts: 218
U.S.
GamerX Offline
Member
GamerX  Offline
Member

Joined: Aug 2008
Posts: 218
U.S.
yea there must be a way i agree ill keep looking and tell u if i find anything.


"You may never know what results come of your action, but if you do nothing there will be no result."
-Mahatma Gandhi
Re: collision problem [Re: GamerX] #229575
09/28/08 18:07
09/28/08 18:07
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
@Vyse220 - Are you sure that the polygon flag of that model with holes in wed is checked? It must be checked and it should work just fine. Is some action attached to that model?



Ubi bene, ibi Patria.
Re: collision problem [Re: croman] #229576
09/28/08 18:21
09/28/08 18:21
Joined: Aug 2008
Posts: 49
V
Vyse220 Offline OP
Newbie
Vyse220  Offline OP
Newbie
V

Joined: Aug 2008
Posts: 49
Code:
action move_ambsolid(){
	my.ambient = 100;
	my.z = player.z;
	if(vec_dist(me,player) > 100){
		my.passable = off;
		my.POLYGON = ON;
	}
			while(my.x > -10000){
			c_move(me,nullvector,vector(-8*time_step,0,0),ignore_you);
			wait(1);
		}
	ent_remove(me);
}

that's the action
i'm sure that the flag of that model is set, what's the problem?

Last edited by Vyse220; 09/28/08 18:22.
Re: collision problem [Re: Vyse220] #229798
09/30/08 14:34
09/30/08 14:34
Joined: Aug 2008
Posts: 49
V
Vyse220 Offline OP
Newbie
Vyse220  Offline OP
Newbie
V

Joined: Aug 2008
Posts: 49
so that's can be solved?
isn't it strange?

Re: collision problem [Re: Vyse220] #230272
10/04/08 11:45
10/04/08 11:45
Joined: Aug 2008
Posts: 49
V
Vyse220 Offline OP
Newbie
Vyse220  Offline OP
Newbie
V

Joined: Aug 2008
Posts: 49
sorry for the triple post, but i want to everyone know that i have solved (sort of)
i've created a map entity and set it to polygon, i've changed the move action of the player, i set ent_move.

the only problem is that when the player move up and the model move down, the player penetrate the map_entity

Page 2 of 2 1 2

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