How can I force PD cores to spawn regardless of player death? +more

Diva Dan

hello!
aa
Mar 20, 2016
1,024
1,951
I was planning on making a map similar to af_rapture where cores can drop and be delivered to a capture zone, but players don't actually generate cores when they die as well. More specifically, I was going to have an area constantly spewing out cores that players could collect and deliver.
 

Egan

aa
Feb 14, 2010
1,375
1,721
The player destruction logic entity was updated a while ago to include the input:
SetPointsOnPlayerDeath <integer> Set number of points per flag dropped upon player death.
which you can set via a logic_auto's OnMapSpawn to 0.


Meanwhile flags were also updated then to include the keyvalue:
Point Value PointValue <integer> Player Destruction or Robot Destruction mode: Point value of this flag pickup
which you can put on a flag as 1 (or more) that is set up on a point_template - of which you can then send an input of ForceSpawn to spawn the flags in the map, multiple times over from the same template if need be.

I'm not sure specifically how @Yrr made af_rapture but I suspect it was about the same.
 

Yrr

An Actual Deer
aa
Sep 20, 2015
1,308
2,743
Yea thats pretty much how it works.

Both of those features were added at my request in order to make Rapture's logic work.

I may make a thread some time explaining all of Rapture's logic if people would like to read about that kind of thing.