Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HOW TO ADD PDAS WITH INFO TO NPCs
- 1) Place an NPC in the level editor
- - Open the properties menu and give them health of 0
- - add the following to their custom data field:
- ;start
- [known_info]
- xxinfo
- ;end
- - Save and create a new all.spawn, copy the proper files over, etc
- 2) Open config\gameplay\info_(level that the npc is in).xml to make a new info portion.
- The name you chose for the info portion (xxinfo in this example) must also be added here. For this tutorial, we also want to create a new article.
- <!-- start -->
- <info_portion id="xxinfo">
- <article>xxarticle</article>
- </info_portion>
- <!-- end -->
- 3) Open config\gameplay\storyline_info_(level that the npc is in).xml to make a new article. You'll also have to make another "name" - pick something logical. We are making a journal entry from a found PDA, so article_type has to be "journal" and group has to be "Found_PDA". The article_text is the actual "story" you'll find in your PDA. Regular formating (coloring, \n for new lines, etc, apply here).
- <!-- start -->
- <article id="xxarticle" name="xxname" article_type="journal" group="Found_PDA">
- <text>xxarticle_text</text>
- </article>
- <!-- end -->
- 4) Start STALKER, start a new game, and go check it out!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement