Pikmin features dozens of creatures that fall asleep (or don't show up for a while) until the captin or pikmin disturb their sleep. I am not entirely sure if Kurok or PSP quake can handel this kind of activity but if anyone knows how to do it, please help me out with this.
Thanks in advance.
Sleeping enemies
Re: Sleeping enemies
make idle animations sleeping, and when touching him / make noise he will getup and follow you, easy as cake.
Re: Sleeping enemies
Is there some kind of code that goes with this or is it just animationsdrm_wayne wrote:make idle animations sleeping, and when touching him / make noise he will getup and follow you, easy as cake.
Re: Sleeping enemies
This may be of interest to you.
in w_attack in weapons.qc
in w_attack in weapons.qc
Code: Select all
self.show_hostile = time + 1; // wake monsters up
Re: Sleeping enemies
rubicon2 has code for a "sleeping" monster_floyd. I added a new spawnflag and it modifies the AI so they don't wake up you unless directly damaged or triggered by scripting (e.g. grabbing an item.) I also have a different animation loop and skin frame (so the normally glowing visor is dark)