Page 1 of 1

spawning creatures

Posted: December 19th, 2011, 12:23 am
by Dan5033
how to spawn critter multiple times. for example, when we kill a minion and then it respawns itself after s few seconds like in online game.

How to make enemies spawn only after we accept missions?

Is there a script to make the critter follow us as allies?

Please help me. i really need these scripts. Thanks in advance.

Re: spawning creatures

Posted: December 19th, 2011, 3:30 pm
by cork279
I asked your first question on the Sauerbratten forums once before, they said that it wasn't possible unless you edit the source code (I don't know what you'd edit though).

Re: spawning creatures

Posted: December 20th, 2011, 11:08 am
by kddekadenz
Sauerbraten is similar FPS mode, he means if it's possible in RPG (however the original rpg mode is from sauerbraten).
And I have no idea about this, but want to know it, too :mrgreen:

Re: spawning creatures

Posted: December 20th, 2011, 1:16 pm
by Tony
I don't think you're going to get anything to follow you just yet.
It seems like you could, or should, be able to have a critter spawn upon a quest pick-up with a trigger.
...and monsters can re-spawn upon map load. So if you leave a map, and come back, they could be refreshed.

I'm still trying to fill in some voids in content for this project, I haven't gotten into the scripting much yet, to be honest.
It's pretty lacking though, so, you may need to get a bit creative to make some things happen, or "appear" to happen.

I'll eventually get into it a bit better. For now, my part is just trying to build up some content assets that are license-free so folks have plenty of toys and play-pretties to look at. Good luck, and enjoy,
- Tony

Re: spawning creatures

Posted: December 22nd, 2011, 7:31 am
by Dan5033
The prob is can we put the coordinate where we want to spawn the mobs adt the scripting? Isn't there an easier way.