A freeplay-sandbox map pack with 32 maps from all three S.T.A.L.K.E.R. games (and one map made from scratch) with a-life on over 400 smart terrains. There is no story but there are about a dozen repeatable tasks available throughout the Zone. The mod is featured as a modding resource but can still be played on it's own.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
RSS Report Dynamic campfire point jobs (view original)
Dynamic campfire point jobs
embed
share
view previous next
Share Image
Share on Facebook Tweet Email a friend
Embed Image
Comments
Georg_Ravioli
Georg_Ravioli

Is there a way to make it so the fire goes out when people leave the camp/die at the camp? Currently I walk around and sometimes there are random campfires going and no one in sight.

Reply Good karma Bad karma+1 vote
Alundaio Author
Alundaio

That is already addressed with my light campfire scheme (If you haven't seen the video). In the vanilla game campfires turned themselves on when squads set their destination to a base/territory/camp that has campfires. Now they will only turn on when lit by a stalker and they will go out automatically when no one at that location.

Reply Good karma+5 votes
Beac
Beac

Well damn, this would definitely be useful. Placing the waypoints manually is a pain in the *** even if it's easy to do. How foolproof is this? Is a certain amount of space around the fire required? What about fires with space only on one side?

Reply Good karma Bad karma+1 vote
Bangalore Creator
Bangalore

They sit on the nearest valid vertex (or viewing from level editor side, on an ai map node). If a campfire is near an object (wall or anything), there is no ai map, and because of this, they don't sit to impossible places, like into objects.

Reply Good karma+1 vote
Alundaio Author
Alundaio

Basically the gulag job is set up to only have as many jobs as smart max population times three; this is because it's the fallback job scheme, like vanilla cover point jobs are. When an npc is using this job scheme it will iterate through each campfire at the smart. When it iterates through the campfire list, it validates up to 6 slots around the campfire, if it is valid it will track if that lvid is used and by what npc id. Not two stalkers will sit in same spot this way and it gives lots of room and almost looks as good if placed manually.

We have plans to do surge jobs in a similar way, too.

Reply Good karma+1 vote
Alundaio Author
Alundaio

Forgot to mention if there is no valid room left around the campfire they will sit at nearest cover looking at campfire. I seen some cool things, like stalker sitting back chillen near a pile of junk looking at the fire from afar.

Reply Good karma+1 vote
Beac
Beac

That all sounds really, really interesting and very exciting. Can't wait to see more!

Reply Good karma Bad karma+1 vote
Beac
Beac

So with your gulag_general.script, there's no need to place any jobs around fires at all any more? Is that the only file needed? If so, that's excellent.

Also, according to your earlier reply (just checking to make sure), these jobs are only given when there are no custom jobs at the smart terrain?

Reply Good karma Bad karma+1 vote
Alundaio Author
Alundaio

I made significant changes to smart_terrain.script and parts of sim_board.script and sim_squad_scripted.script. I revamped the gulag job system because it has some serious issues in vanilla. There is too much deep recursion and too many loops. In CoC there was huge frame hit with 300+ squads. After my changes the game runs smooth (If you remove variation mod and OWR 2 it runs as good as vanilla) The campfire jobs are low priority jobs (10). So if there is no higher priority jobs they will use these. I'm also thinking about adding time of day to the preconditions for animpoint/walker so they use campfire jobs at night instead but guard/camper/sniper jobs will still be available.

Reply Good karma+1 vote
Alundaio Author
Alundaio

It wouldn't be that hard to use it for vanilla gulag if you wanted. The scheme itself doesn't rely on any of those changes and works as long as campfires are named properly for each smart.

Reply Good karma+1 vote
Beac
Beac

What's your fire naming convention?

Reply Good karma Bad karma+1 vote
Alundaio Author
Alundaio

same as vanilla cop, how it's set up in bind_campfire.script. <smart_name>_campfire_<index>

Reply Good karma+1 vote
Beac
Beac

Perfect. Would you be at all willing to share what you've got working here? It would certainly make my life a hell of a lot easier and speed up my work, as I'm certain it has for Bangalore!

Reply Good karma Bad karma+1 vote
Guest
Guest

This comment is currently awaiting admin approval, join now to view.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Description

This is for the modders out there. These 6 jobs were dynamically generated by gulag_general.script. They were not hand placed. If anyone is familiar with cover point jobs; this is a replacement. Instead of painstakingly hand placing hundreds of waypoint or smartcovers around campfires I wrote this scheme to make it automatic. Now Bangalore can work on more important things in level editor!

Details
Date
Size
1920×1080
Options
URL
Embed
Embed Thumb
Share
Feed
RSS
Report
Report