Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

how do I make fake walking

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Sat Apr 09, 2005 8:08 am    Post subject: how do I make fake walking Reply with quote

I would to make my npc as if it was walking. I am using the set npc position but it only make the npc slide. To make fake walking (npc speed=0) I need to combine the set npc position with put npc.

set npc position

set npc position (npc pixels are 1 pixel difference)

This way Npc will really seems walking. Could somoene help me to write that ?
Thanks very much in advance!
If you think there is another way to do that, feel free to post it!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Sat Apr 09, 2005 8:39 am    Post subject: to make a short version Reply with quote

So I would like to change the X, Y position of my npc and IN THE SAME TIME back by 1 pixel my npc's grafics.

Thanks very much for the help!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sat Apr 09, 2005 4:45 pm    Post subject: Reply with quote

why can't you just use
Code:
walk NPC (who,direction,distance)

?

For instance, if you want your npc to walk 1 tile down, use

Code:
walk NPC (npc,down,1)

_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Sat Apr 09, 2005 5:20 pm    Post subject: Yes! Reply with quote

Thank you!

walk npc (who, direction, distance)

That's what I was searching for! Sorry to post a message. I should have been able to guess it by myself!

Sorry for making losing losing time and good luck !
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Cube
Dimensional Traveller




Joined: 02 Feb 2003
Posts: 294

PostPosted: Sat Apr 09, 2005 6:53 pm    Post subject: Reply with quote

I dunno if you've read this before or not, but I might as well link to it:

Plotscripting Dictionary

This contains every plotscripting command in existance, and details descriptions on how to use every one. They've also been categorized, so for this particular quest you would've checked out the "Moving NPCs" section.

Usually questions like your first post can be answered by taking a quick peak at the dictionary, so hopefully this will solve any unforeseeable problems that may arise in the future.
Back to top
View user's profile Send private message
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Sun Apr 10, 2005 3:44 am    Post subject: Sorry Reply with quote

I know the walk npc command very well. The problem is that I didn't tought that it could help me to solve my problem.

I haven't realised that I could make appear the npc moving with an npc speed equal to 0 and the walk (npc command)

Thanks very much anyway.
Sorry again for posting so much messages (I've already post about 40 messages!) but it really helps me to make my game and to post messages at the FAQ. Tell me if you think I should post less messages. I will try not to post more than 1 by week from now on.

Good luck all in making your game!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
rpgspotKahn
Lets see...




Joined: 16 May 2004
Posts: 720
Location: South Africa

PostPosted: Sun Apr 10, 2005 4:16 am    Post subject: Reply with quote

As far as I know, you can't walk an NPC that has a speed of '0'. Try a plotscript to set NPC speed to '4' or so and then walk the NPC and then set the speed back to '0'.
_________________

2nd Edition out now!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Sun Apr 10, 2005 10:59 pm    Post subject: Yes I know Reply with quote

I know that both heroes and Npcs needs speed to walk but what I wanted was seeing the npc using all its walkabout pictures without moving.

That's possible using the walk npc command with speed=0 and that's what I decided to use.
Anyway sorry again for posting an useless message!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Mon Apr 11, 2005 6:40 am    Post subject: Reply with quote

set npc direction
set npc frame
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group