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 (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 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
Passable walls and ver 7.84 #325471
05/26/10 20:14
05/26/10 20:14
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!

My walls where solid in a previous version and are now passable.

I have done a search on the forum and read many discussions but did not find my solution.

My room (and walls) where made and complied in WED as a simple map, then integrated into the game.

The room has the following code

Code:
action forwalls ()
{
	mesmurs = my;
	wait (1);
	c_setminmax(mesmurs); 
	mesmurs.flags &= ~PASSABLE ; 
	}



The code for c_move is

Code:
c_move (enTete, vector(15*time_step, 0, 0), nullvector, 
IGNORE_MAPS | ACTIVATE_TRIGGER | IGNORE_CONTENT | USE_BOX | GLIDE  | IGNORE_PASSABLE);



All of this worked before...so the question is
what has changed in the 7.84 version?

Thanks for looking wink
Ottawa

Re: Passable walls and ver 7.84 [Re: Ottawa] #325472
05/26/10 20:20
05/26/10 20:20
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
I don't quite understand the problem. Do you want your wall to be passable but it's solid or do you want it to be solid but it's passable?

In the first case, note that this line in your code disabled the PASSABLE flag:
mesmurs.flags &= ~PASSABLE ;

In the latter case, try removing the IGNORE_MAPS from your c_move call.

Re: Passable walls and ver 7.84 [Re: Lukas] #325477
05/26/10 20:50
05/26/10 20:50
Joined: Apr 2010
Posts: 265
V
Vinous_Beret Offline
Member
Vinous_Beret  Offline
Member
V

Joined: Apr 2010
Posts: 265
try to put "wait(1)" after c_setminmax(mesmurs);
not before,and then try "set(me,PASSABLE)".
Greeting.

Re: Passable walls and ver 7.84 [Re: Vinous_Beret] #325482
05/26/10 21:12
05/26/10 21:12
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
@Vinous_Beret: the wait(1) have to be before the c_setminmax().
And he need to reset and not set the flag, that Ottawa make right.

The only thing i see is the IGNORE_MAP, remove this.

Re: Passable walls and ver 7.84 [Re: Widi] #325491
05/26/10 21:52
05/26/10 21:52
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi guys!

I want the walls to be solid.

Removing IGNORE_MAP did the trick. It's back to normal.

Thanks for the help! wink


Note : I'm back to programming and checking all my old code after doing
something else for a few months.

Again Thanks.

Ottawa

Re: Passable walls and ver 7.84 [Re: Ottawa] #325494
05/26/10 22:21
05/26/10 22:21
Joined: Apr 2010
Posts: 265
V
Vinous_Beret Offline
Member
Vinous_Beret  Offline
Member
V

Joined: Apr 2010
Posts: 265
@Widi sory man,my bad :D,it's 4 AM were i live,and iam very sleepy,i understood him all the way around.

Re: Passable walls and ver 7.84 [Re: Vinous_Beret] #325565
05/27/10 09:24
05/27/10 09:24
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
no problem....


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