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
3 registered members (AndrewAMD, Akow, degenerate_762), 1,430 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
Unwanted Wall !? #346676
11/08/10 18:18
11/08/10 18:18
Joined: Jan 2010
Posts: 22
Bielefeld, Germany
T
TIEclon Offline OP
Newbie
TIEclon  Offline OP
Newbie
T

Joined: Jan 2010
Posts: 22
Bielefeld, Germany
Hi Forum,

I'm currently working on a little RPG-Arcade mixture game in which the player should be able to move a character in 3D from the 3rd person view. I got that as far as a beginner like me could very well but now theres one problem:

The game is in a comicstyle and the models should change their facial expression by changing a sprite that shows different pictures of mouths (maybe someone here knows "South Park", that's the theme here). In WED i have added and scaled a Mouth-Sprite and made in PASSABLE:

action mund_1
{
mund1 = me;
my.PASSABLE=on;
}

Also it uses this Code:

vec_for_vertex(playermund.x,player,979);
vec_set(playermund.pan,vector(player.pan+90,player.tilt+20,player.roll));

It should always be at the position of the 979th vertex of my player and that works. The only problem is that my player can't move anymore, even if the sprite is Passable. Can someone help? Is there maybe anotherway to create and scale these sprites than WED? Why can't my player go through PASSABLE sprites?

Thank you,

TIEclon

Re: Unwanted Wall !? [Re: TIEclon] #346681
11/08/10 18:43
11/08/10 18:43
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Your movement instruction ent_move/ c_move has to have the ignore_passable/ IGNORE_PASSABLE flag set.


EDIT:
Quote:
Is there maybe anotherway to create and scale these sprites than WED?


Use ent_create to create the sprite at runtime (have a look at ent_morph, too) and scale it using the my.scale_x (/y/z) skill.

Last edited by Superku; 11/08/10 18:44.

"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

Moderated by  HeelX, Spirit 

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