Author Topic: Body Bags VS Corpses  (Read 501 times)

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Body Bags VS Corpses
« on: June 11, 2011, 02:42:48 am »


               Obviously, clientside, there is more overhead if I use corpses instead of bodybags for dropped loot. (Or so I assume just based on the graphics being rendered) But, is there also a hit to the server performancewise when they are used?
               
               

               
            

Legacy_CID-78

  • Sr. Member
  • ****
  • Posts: 261
  • Karma: +0/-0
Body Bags VS Corpses
« Reply #1 on: June 11, 2011, 09:50:30 am »


               should be the same in theory, but you must wait for a answear from anyone that actually got server experience to know for sure. I doubt it will be anything you will notice.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Body Bags VS Corpses
« Reply #2 on: June 11, 2011, 12:01:40 pm »


               AFAIK both are new placeables. So creating a new placeable and then destroying definitely hit performance at least after some time. I would also avoid making a loot from each enemy (like 3T does it) as thats very user unfriendly especially when there is long decay time.

Corpses are also bugged. Player can reach corpse content even without "opening" it, from what I know if you cast a spells and then click on corpse you will see the content without moving.
               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
Body Bags VS Corpses
« Reply #3 on: June 11, 2011, 12:56:10 pm »


               You will see an impact on performance simply based on the fact that the bodybag (even though an extremely low poly model compared to a creature model) has to be rendered as ShaDoOow states. However, AFAIK the corpse rendered is simply the creature model (which is already in play) frozen in it death animation for the specified decay time. Since the corpse is already been rendered by the engine you may actually see less performance impact from it than from rendering the placeable bodybag.
               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Body Bags VS Corpses
« Reply #4 on: June 11, 2011, 03:40:11 pm »


               

Pstemarie wrote...

You will see an impact on performance simply based on the fact that the bodybag (even though an extremely low poly model compared to a creature model) has to be rendered as ShaDoOow states. However, AFAIK the corpse rendered is simply the creature model (which is already in play) frozen in it death animation for the specified decay time. Since the corpse is already been rendered by the engine you may actually see less performance impact from it than from rendering the placeable bodybag.


This has always been my own line of thought. I'd been looking over some old posts from the Archived Bio Boards though and several times others in the past stated that corpses were to be avoided. One old post even suggested that corpses added to overhead as they were still counted as NPCs as far as the game engine was concerned. Since I use them as "pretty bodybags" and don't make most raiseable, I was hoping these old references might just be mistaken.

And yes ... my loot generation is fairly scant. The "bug" ShaDoOow stated about targetting and opening a loot drop occurs whether you use a corpse, sack or other loot placeable. Generally it occurs when you target a creature for attack just as it dies. That's something that has always been glitchy.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Body Bags VS Corpses
« Reply #5 on: June 11, 2011, 04:05:29 pm »


               

kalbaern wrote...

And yes ... my loot generation is fairly scant. The "bug" ShaDoOow stated about targetting and opening a loot drop occurs whether you use a corpse, sack or other loot placeable. Generally it occurs when you target a creature for attack just as it dies. That's something that has always been glitchy.

the sack/other placeable dont have this bug unless you set decay to 0sec (not sure if even possible) once there is a delay between death and loot placeable appearing its OK but this delay cant be set for corpse.