Pushing Critters Around

Chat and ask questions about the RPG Maker Mode here.
Lou
Member
Member
Posts: 59
Joined: May 29th, 2012, 11:46 am
Name: Lou

Pushing Critters Around

Postby Lou » August 19th, 2012, 9:42 pm

Hi,
We have just placed our critters on the map and by accident discovered that when in the game if you bump into them
you can push them around the map. How would I go about locking them in place? They are not meant to follow a waypoint.
Regards,
Lou

chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Pushing Critters Around

Postby chocolatepie33 » August 19th, 2012, 9:57 pm

just a dumb guess, maybe you can put just one waypoint down?
Julius wrote:Contribute to http://www.opengameart.org NOW!

Save the wiki!

Lou
Member
Member
Posts: 59
Joined: May 29th, 2012, 11:46 am
Name: Lou

Re: Pushing Critters Around

Postby Lou » August 29th, 2012, 10:43 pm

Thanks for the idea, but trying to get a way point in a tiny area is tough. However, the Location Entity
maybe that would do the trick? I placed it down on top of where my critter spawn is, and made the radius small.
But how do I tie the location entity to the critter, I need to place a bunch of these. There is no Location sub folder.
Is there a command I place in the critter .cfg that points to use the location tag?
Thanks,
Lou

Lou
Member
Member
Posts: 59
Joined: May 29th, 2012, 11:46 am
Name: Lou

Re: Pushing Critters Around

Postby Lou » September 13th, 2012, 11:28 pm

I was messing around with the obstacles and found that it uses this command:

Code: Select all

r_obstacle_flags $OBS_STATIONARY


Can I use the same type of thing with a critter to keep them from moving?

User avatar
Sircameron
Member
Member
Posts: 62
Joined: March 6th, 2012, 9:13 pm
Name: Cameron
Location: Indiana

Re: Pushing Critters Around

Postby Sircameron » October 27th, 2012, 1:49 pm

I know its a little late, but just so there's an answer for it when people read it..

that would work and you could always use

Code: Select all

r_obstacle_script <script #>
if you want them to do a specific action, but you'd have to do it in the "obstacles" folder and not in the "critters" folder

Lou
Member
Member
Posts: 59
Joined: May 29th, 2012, 11:46 am
Name: Lou

Re: Pushing Critters Around

Postby Lou » October 29th, 2012, 3:40 pm

Hey! Thanks for posting. There was no resolution to this so your ideas are most welcome.
I need something for a critter not an object. I was also thinking that if there was some type of mass
associated with the critter then that may also help to keep them in place.....

User avatar
Sircameron
Member
Member
Posts: 62
Joined: March 6th, 2012, 9:13 pm
Name: Cameron
Location: Indiana

Re: Pushing Critters Around

Postby Sircameron » October 29th, 2012, 4:06 pm

Yea that solution would work fine for npc use.. But if you mean "critter" as an enemy then it wouldnt be effective.. Just depends on what your use for it is.


Return to “RPG Maker Mode”

Who is online

Users browsing this forum: No registered users and 1 guest