Christian Schulz

Results 72 comments of Christian Schulz

So the max health value has no effect in the player_prop class?

I think it is `local maxHP = math.Clamp( volume/10, 1, 100 )` https://github.com/Newbrict/ObjHunt/blob/a39942bf6978872d8cf950ebdc0111dca945f2f1/gamemode/init.lua#L297

And the way prop hunt is doing it, is wrong? They are doing it similar: ``` local ent_health = math.Clamp(ent:GetPhysicsObject():GetVolume() / 250, 1, 200) local new_health = math.Clamp((pl.ph_prop.health / pl.ph_prop.max_health)...

Do you have a snippet to get the volume of the current prop? Or a command to start the game without having enough players?

Do you really want to use the volume? I would suggest the mass.

Volume: http://pastebin.com/eHVaMDV3 An example map with mass: http://pastebin.com/fYJBCMTt

Hum ... but the mass also change the behavior of the prop, how it acts and so on, right? I have filtered multiple entries on the same map and wrote...

I would like also to integrate a grid (#49) but I have no clue how to connect it with an api action.

Querying the products without any taxonomy or similar would be also a nice addtion.

For backwards compatibility it would be an idea to introduce a new profile running against OpenJPA 3.