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

Despawn characters?

+
T

thingol

Senior user
#1
Sep 4, 2008
Despawn characters?

It should be easy, but I don't know how to despawn characters at a different point than the spawnpoint.My character i.e. shall spawn at his house, walk across the country, with 2-3 AP's in it, and despawn at the local inn. I tried a final actionpoint with only a despawn ability, no looped things in the spawnset, but it will not work.
 
N

nayava

Senior user
#2
Sep 4, 2008
You just need two times a spawn entry in which the character runs through the city. The first with the house's spawn category, the second with the inn's. It is just important, that the time the first ends matches the time the second starts.
 
G

Gamewidow

Forum veteran
#3
Sep 5, 2008
I believe that you can have several spawn points with different actions assigned to them. Just set your "despawn" point to not allow spawning (if that is what you want) and vice versa for your "spawn" point (his house).
 
T

thingol

Senior user
#4
Sep 5, 2008
Ok, a second spawnpoint only with a disappear option, but I don't know where I place it in the spawnset. Can I use a spawnpoint instead of an actionpoint in the actionlist? ???
 
A

ailinon

Senior user
#5
Sep 5, 2008
For a typical "walk from house to inn" thing, you need:On the map:- a "spawn here, do not despawn here" spawnpoint at the house ("house_out" or something)- a "despawn here, do not spawn here" spawnpoint at the inn ("inn_in" perhaps)In the NPC file:- the spawnphase has those two spawnpoints assigned (you can assign multiple spawnpoints in the NPC file's spawnphase, after all)Now, this gives you a "straight-line" walk, which may not look quite good - you might want to have the NPC follow a road or a path or something. For that, add on the map:- an actionpoint near the house, with Waypoint walk - Waypoint prefix set to "walk_to_inn", and with an action assigned (all_walkto1 is good)- several waypoints, named: "walk_to_inn1", "walk_to_inn2", etc. (I don't know if two-digit numbers are allowed here)And, in the NPC file, add- an action "all_walkto1" (to send the NPC to the actionpoint that starts the walk)Of course, you'll be needing the exact opposite for a return path. Spawnpoints "inn_out", "house_in", waypoints "walk_to_house1",2,3, ... you get it.-- Sinus
 
T

thingol

Senior user
#6
Sep 5, 2008
Many thanks, I try it tomorrow :)
 
G

Gamewidow

Forum veteran
#7
Sep 5, 2008
you can also use a single spawn/despawn point for multiple npcs ... so you only need to define the one path and everyone (or a subset of the npcs) can use it
 
T

thingol

Senior user
#8
Sep 5, 2008
gamewidow said:
you can also use a single spawn/despawn point for multiple npcs ... so you only need to define the one path and everyone (or a subset of the npcs) can use it
Click to expand...
The use of spawnpoints and actionspoints is clear even for multiple npcs, but my problem is (still :wall:) how to define the correct story_npc_file or spawnset_file with the disappear SP. Could someone mail me a screenshot of a correct file please. I hoped I can make some farmer walk to the inn for an after work :beer: , but now the had to become Amish :whistle:
 
A

ailinon

Senior user
#9
Sep 5, 2008
Just enter two values in the "spawn category" field. Right-click, add category, "house_out". Right-click, add category, "inn_in". That's all.-- Sinus
 
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.