The Update and edicts, a little something to keep in mind

Discussion in 'Mapping Questions & Discussion' started by A Boojum Snark, Dec 17, 2009.

  1. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    A max of 16 stickies now means on average we'll probably be dealing with higher player-resultant edict levels. With a considerably higher maximum.

    So be extra sure to keep at or below pipeline's level, since I imagine that is still fine.
     
    • Thanks Thanks x 6
  2. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    wow, not everybody here is a natural english speaker here. I usually have no problem understanding english, but I do not understand what you are trying to say.

    do you mean that:
    We should have less dynamic entities
    because
    there will be more sticky bombs?
     
  3. drp

    aa drp

    Messages:
    2,251
    Positive Ratings:
    2,551
    snark has finally gone off the deep end :(
     
    • Thanks Thanks x 5
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    Sorry, it's not really an english thing, it's mapping language. Yes, it's dynamic entities. They use up edicts (some hammer entities use more than one edict). The limit is 2048 and if you reach it the server will crash.

    Pipeline as a map uses up approximately 1450 edicts leaving the rest for run-time entities like players and their weapons. It is possible to crash pipeline with enough players shooting stickies, but valve seems to think it alright. I would assume it is still safe with the new higher sticky limit. Though I suppose we'll see if valve updates pipeline or not.
     
    • Thanks Thanks x 7
  5. gamemaster1996

    gamemaster1996 L13: Stunning Member

    Messages:
    1,065
    Positive Ratings:
    131
    So basically we have to put in less detail cuz of stickys?
     
  6. Nutomic

    Nutomic L11: Posh Member

    Messages:
    888
    Positive Ratings:
    177
    No, only less dynamic entities.
     
  7. TheBladeRoden

    TheBladeRoden L7: Fancy Member

    Messages:
    491
    Positive Ratings:
    165
    whats the best way to count how many dynamic entities you have
     
  8. XFunc_CaRteR

    XFunc_CaRteR L5: Dapper Member

    Messages:
    248
    Positive Ratings:
    17
    Type "report_entities" in console while the map is running.

    This will list all your entities.

    Then you can type "condump" and you'll have a text file listing all the dynamic entities of various types that you have, and you can plan from there.

    One trick: point_spotlights actually count as 2 entities (one for the halo you see outside the cone, one for the sprite you see inside it). Just replacing one of these with an env_sprite eliminates 1 entity, but keeps a comparably good-looking light. I recently changed some 200 point_spotlights to env_sprites, thus removing 200 entities, but the lights still look great.
     
    • Thanks Thanks x 4
    Last edited: Dec 17, 2009
  9. DaBeatzProject

    aa DaBeatzProject

    Messages:
    1,276
    Positive Ratings:
    1,091
    spare your path_tracks, env_cubemaps, ... I see a lot of people using too many of them.
     
  10. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,682
    Valve needs to up the limit or redo the play PLR works.
     
  11. XFunc_CaRteR

    XFunc_CaRteR L5: Dapper Member

    Messages:
    248
    Positive Ratings:
    17
    env_cubemaps aren't dynamic entities.
     
  12. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    I'd use GCFscape to rip out mapname.ent from the compiled BSP, and count how many lines have the quoted word "classname" on them. Or how many lines start with "{".

    I could give you source code to do it, if you've got a Java compiler handy :p
     
  13. XFunc_CaRteR

    XFunc_CaRteR L5: Dapper Member

    Messages:
    248
    Positive Ratings:
    17
    Sounds brutally complicated compared to typing "report_entities" into console.