Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TedMar, dr_panther), 1,049 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
from 7.866 to 8.10 now entity walks through walls #360446
02/23/11 23:49
02/23/11 23:49
Joined: Dec 2003
Posts: 521
LazyDog Offline OP
User
LazyDog  Offline OP
User

Joined: Dec 2003
Posts: 521
I have really small sample that worked fine in A7 7.866 and below versions, now when I run it in A8 8.10 the entities walk right through the walls.

I took my very small level and rebuilt in A8 Wed and it still didn't help. the blocks are not labeled as passable in the level.

can someone please explain what I need to change to fix this in A8? many thanks in advance!

#include <Acknex.h>

#define PRAGMA_PATH "files"; //absolute or relative paths.

ENTITY* aEntity;
ENTITY* bEntity;

int main ()
{
add_folder("files");
level_load("paths.wmb");

aEntity = ent_create("warlock.mdl",vector(-115,180,192),NULL);
bEntity = ent_create("witch.mdl",vector(-115,120,192),NULL);
bEntity.pan += 90;

while(1)
{
c_move(aEntity,vector(0.1,0,0),nullvector,IGNORE_PASSABLE);
c_move(bEntity,vector(0,-0.1,0),nullvector,IGNORE_PASSABLE);

wait(1);
}
}


www.LazyDogSoftware.com
Delphi SDK Homepage

A7 Pro 780
Delphi 5 through 2010
Re: from 7.866 to 8.10 now entity walks through walls [Re: LazyDog] #360447
02/23/11 23:52
02/23/11 23:52
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
I used WED with A8 only once, and got the same problem. For me it helped to set the build options to default in the build window with the "Default Settings" button.

Re: from 7.866 to 8.10 now entity walks through walls [Re: Pappenheimer] #360486
02/24/11 13:59
02/24/11 13:59
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
You probably disabled meshes in the map compiler. When you messed up your compiler settings, set them back to default and it will work again.

Re: from 7.866 to 8.10 now entity walks through walls [Re: Tobias] #360563
02/24/11 23:40
02/24/11 23:40
Joined: Dec 2003
Posts: 521
LazyDog Offline OP
User
LazyDog  Offline OP
User

Joined: Dec 2003
Posts: 521
many thanks! that was the problem!


www.LazyDogSoftware.com
Delphi SDK Homepage

A7 Pro 780
Delphi 5 through 2010

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