Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (VoroneTZ, 7th_zorro), 1,332 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: PASSABLE flag not applicable to map entities? [Re: testDummy] #319954
04/18/10 22:41
04/18/10 22:41
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
What about just creating the map entity after the boss is dead instead of switching from passable to solid?

Re: PASSABLE flag not applicable to map entities? [Re: Pappenheimer] #319967
04/19/10 03:10
04/19/10 03:10
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline OP
Serious User
Redeemer  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Quote:
What about just creating the map entity after the boss is dead instead of switching from passable to solid?

My client wants to be able to place the object in the level editor before it appears. But anyway, I have found a solution:

I had forgotten this, but in my player code I set the player's push value to -1 to stop his own bullets from damaging him. So, when I attempted to use a work around such that the wall has a -1 push value and the player uses IGNORE_PUSH, it didn't work.

Of course, now that I've realized these things, I instead set the wall entity's push value to -2 or lower. The player can now pass through it without any problems. It seems to work just as good as the PASSABLE flag, although I'm still somewhat bewildered over why the PASSABLE flag seems to have no effect on map entities.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: PASSABLE flag not applicable to map entities? [Re: Redeemer] #320002
04/19/10 12:25
04/19/10 12:25
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Good to hear but the PASSABLE flag does work with map entities, I use it in my own project!


"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: PASSABLE flag not applicable to map entities? [Re: Superku] #320005
04/19/10 12:37
04/19/10 12:37
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Quote:

I do have a solution -

what if the initial block was a model, so you can have it passable, and then when the boss is dead, it ent_creates the map_entity, and removes the model.



A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: PASSABLE flag not applicable to map entities? [Re: DLively] #320072
04/19/10 15:31
04/19/10 15:31
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline OP
Serious User
Redeemer  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Quote:
Good to hear but the PASSABLE flag does work with map entities, I use it in my own project!

Perhaps the PASSABLE flag is affected by the push value of any colliding objects..? This would explain why it didn't work for me, as my player entity had a lower push value than the map entity.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Page 2 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