Forums
Games
Cyberpunk 2077 Thronebreaker: The Witcher Tales GWENT®: The Witcher Card Game The Witcher 3: Wild Hunt The Witcher 2: Assassins of Kings The Witcher The Witcher Adventure Game
Jobs Store Support Log in Register
Forums - CD PROJEKT RED
Menu
Forums - CD PROJEKT RED
  • Hot Topics
  • NEWS
  • GENERAL
    THE WITCHER ADVENTURE GAME
  • STORY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 THE WITCHER TALES
  • GAMEPLAY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 MODS (THE WITCHER) MODS (THE WITCHER 2) MODS (THE WITCHER 3)
  • TECHNICAL
    THE WITCHER THE WITCHER 2 (PC) THE WITCHER 2 (XBOX) THE WITCHER 3 (PC) THE WITCHER 3 (PLAYSTATION) THE WITCHER 3 (XBOX) THE WITCHER 3 (SWITCH)
  • COMMUNITY
    FAN ART (THE WITCHER UNIVERSE) FAN ART (CYBERPUNK UNIVERSE) OTHER GAMES
  • RED Tracker
    The Witcher Series Cyberpunk GWENT
THE WITCHER
THE WITCHER 2
THE WITCHER 3
MODS (THE WITCHER)
MODS (THE WITCHER 2)
MODS (THE WITCHER 3)
Menu

Register

How to use bird / animal spawner

+
O

ordnas666

Forum regular
#1
Apr 15, 2013
How to use bird / animal spawner

Thanks! Wondering why they chose to put just birds on the right-click menu instead of dogs and cats
 
L

Lexx.848

Forum regular
#2
Apr 15, 2013
How to use bird / animal spawner

This is a simple one. If you want to have crows or pidgeons in your map which fly away as soon as you are getting too close, or if you want to have generic animals running around in a specific area, go with the following steps:

1. Create a new layer, call it whatever you want (example: "birds"). Activate the layer with a double click.

2. Right click on the ground, chose Graphics -> Add Bird manager. Change the following properties:
CNode / Tags = birds_manager0
birdsSpawnPointsTag = birds1
birdType = crow / pigeon
(whichever you want to have)

3. Right click on the ground again, chose Graphics -> Add Bird spawnpoint and change CNode Tags to birds1

4. Right click again and chose Graphics -> Add Birds reaction area. This is our reaction area. Resize it as you wish. If the player steps into it, the birds will fly away. Also, change:
CBirdsArea / birdsManagerTag = birds_manager0

-----------------------

The same works with animal spawner for pigs, goose, etc. with the difference that you find the manager and spawner entities under engine/templates/editor/ in the Asset Browser (animal_area, animal_manager and animal_spawnpoint). I don't know why they aren't in the context menu.

Of course you can name the tags as you wish, the ones I took are just for testing. If you did everything correct (can't do much wrong here), then birds should appear on the defined spawn points, fly away as soon as you enter the reaction area and come back if you exit the area. The area marker for the animal_manager is keeping the animals close to that area, so the animals won't run away just because you walk into the trigger.

/Edit: A little more polished version can be found in the wiki now.
 
Benzenzimmern

Benzenzimmern

CD PROJEKT RED
#3
Apr 15, 2013
Thank you, really nice.

Two dogs mourn their owner:

 
Benzenzimmern

Benzenzimmern

CD PROJEKT RED
#4
Apr 15, 2013
The animals I spawn are always walking in one particular direction until the reach something they collide with. Do you know how to make them stop?
 
L

Lexx.848

Forum regular
#5
Apr 15, 2013
Did you tagged the zones and all correctly? I've seen such behavior only if I spawned the animal meshs / entities directly, without the spawn managers. With the zones and everything, the animals walk around randomly in the box and a little bit outside. After a while, they always return back inside the zone.
 
Benzenzimmern

Benzenzimmern

CD PROJEKT RED
#6
Apr 15, 2013
I did it exactly like the tutorial. It worked perfectly finde for some crows, but the other animals like to walk out of their zone altough I tagged everything like it should be.
 
L

Lexx.848

Forum regular
#7
Apr 15, 2013
They do walk out of the zone, but they should walk back into it after a little while.
 
H

holodeck

Forum regular
#8
Jun 24, 2013
Did you ever find a solution to the animals walking in one direction? I have cats that turn and walk together to the edge of a cliff.
 
Y

yubyub96

Senior user
#9
Jun 24, 2013
I have some dogs as well that run straight in one line ( some of them, some don't) until they collide with something. Any way to fix this?
 
Benzenzimmern

Benzenzimmern

CD PROJEKT RED
#10
Jun 24, 2013
Not really a fix, but make their area really small. As small as the dog. Then they don't wander around too far.
 
H

holodeck

Forum regular
#11
Jun 25, 2013
Benzenzimmern said:
Not really a fix, but make their area really small. As small as the dog. Then they don't wander around too far.
Click to expand...
The animals I spawn walk in a single file line to the edge of the path_area, no matter how big or small or separate or overlapping my animal_area is. Deer will stay put, but then they suddenly disappeared. :( Why is this so hard??

I even tried spawning them in a fresh World. Same problems.
 
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Link
  • English
    English Polski (Polish) Deutsch (German) Русский (Russian) Français (French) Português brasileiro (Brazilian Portuguese) Italiano (Italian) 日本語 (Japanese) Español (Spanish)

STAY CONNECTED

Facebook Twitter YouTube
CDProjekt RED Mature 17+
  • Contact administration
  • User agreement
  • Privacy policy
  • Cookie policy
  • Press Center
© 2018 CD PROJEKT S.A. ALL RIGHTS RESERVED

The Witcher® is a trademark of CD PROJEKT S. A. The Witcher game © CD PROJEKT S. A. All rights reserved. The Witcher game is based on the prose of Andrzej Sapkowski. All other copyrights and trademarks are the property of their respective owners.

Forum software by XenForo® © 2010-2020 XenForo Ltd.