DieSector - Modify PathCost

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice
Status
Not open for further replies.

[TW]Swag

FNG / Fresh Meat
May 14, 2009
350
100
0
Yonder, Georgia
In DieSector, we used a property modifier to get the Zed to go different routes when the obstructions are active. However, if the community level designers try this same method, the map will end up getting unranked. We at TWI used the powa of code to make it okay for us. ;) If you want to modify the pathing of zeds and keep your map whitelisted (players able to gain perk XP), you must use "Modify Extra Cost for Pathnode(s)" in Kismet. This is used by right clicking anywhere in the main kismet window and navigating to "New Action -> Killing Floor -> Modify Extra Cost for Pathnode(s)".

fetch


There aren't too many properties on this Kismet sequence action except the extra cost. Normally, KFPathnodes have a cost of 0 which means it doesn't cost the AI any more to use that KFPathnode. Adding a substantial cost to a KFPathnode will force the AI to naturally avoid the KFPathnode. We used 10000 because that's how we roll. There are, quite possibly, lower values that will get things to work right but we chose an extreme.


fetch


Use one action to increase the cost, the other to set it back down. That's all there is to it.
 

Attachments

  • Location.png
    Location.png
    39.9 KB · Views: 4
  • Normalize Path.png
    Normalize Path.png
    28.7 KB · Views: 3
Status
Not open for further replies.