1. On August 16th at 9pm CST, the site will be put in to read only mode for maintenance. Maintenance should not take longer than an hour.

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

Discussion in 'Mapping Questions & Discussion' started by Diva Dan, Jun 7, 2016.

  1. Diva Dan

    aa Diva Dan hello!

    Messages:
    845
    Positive Ratings:
    1,437
    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.
     
  2. Egan

    aa Egan

    Messages:
    1,318
    Positive Ratings:
    1,507
    The player destruction logic entity was updated a while ago to include the input:
    which you can set via a logic_auto's OnMapSpawn to 0.


    Meanwhile flags were also updated then to include the keyvalue:
    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.
     
    • Thanks Thanks x 1
  3. Diva Dan

    aa Diva Dan hello!

    Messages:
    845
    Positive Ratings:
    1,437
    Thanks a ton!
     
  4. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,004
    Positive Ratings:
    1,941
    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.
     
    • Like Like x 1