A freeplay-sandbox mappack, 31 maps from all three STALKER games with alife, 396 smart terrains/respawns. There is no story but there are about a dozen repeatable tasks available throughout the Zone. The mod will be featured as a modder resource but can still be played on it's own.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Media RSS Feed Report media Dynamic campfire point jobs (view original)
Dynamic campfire point jobs
embed
share
view previous next
 
Post comment Comments
Mental_Tormentor
Mental_Tormentor Apr 14 2014, 12:18am says:

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.

+1 vote     reply to comment
Alundaio Author
Alundaio Apr 14 2014, 1:57am replied:

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.

+5 votes   reply to comment
Beac
Beac Apr 14 2014, 5:32am says:

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?

+1 vote     reply to comment
Bangalore Creator
Bangalore Apr 14 2014, 6:12am replied:

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.

+1 vote   reply to comment
Alundaio Author
Alundaio Apr 14 2014, 8:11am replied:

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.

+1 vote   reply to comment
Alundaio Author
Alundaio Apr 14 2014, 8:17am replied:

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.

+1 vote   reply to comment
Beac
Beac Apr 14 2014, 10:46am replied:

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

+1 vote     reply to comment
Beac
Beac Apr 14 2014, 10:59am says:

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?

+1 vote     reply to comment
Alundaio Author
Alundaio Apr 14 2014, 1:05pm replied:

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.

+1 vote   reply to comment
Alundaio Author
Alundaio Apr 14 2014, 1:29pm replied:

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.

+1 vote   reply to comment
Beac
Beac Apr 14 2014, 2:08pm replied:

What's your fire naming convention?

+1 vote     reply to comment
Alundaio Author
Alundaio Apr 14 2014, 3:01pm replied:

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

+1 vote   reply to comment
Beac
Beac Apr 14 2014, 5:35pm replied:

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!

+1 vote     reply to comment
Guest
Guest Apr 26 2014, 12:53am says:

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

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

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!

Image Details
Type
Demonstration
Date
Apr 13th, 2014
Size
1920×1080
Options
URL
Embed (big)
Embed
Share
Report Abuse
Report media
Add Media
Members only