Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/16/26 19:52
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (AndrewAMD), 35,482 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rht, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 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 | 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