How to increase mass to dynamic asteroids?
-
adoxa needs a own asteroid named after him on every Freelancer Server
Thanks again! -
Is there a possibility to apply the normal exclusionzones for asteroids to the dynamic asteroids?
-
Is there a mod that adds these dynamic asteroids?
-
88 Flak
MyP.S. Adoxa is very fast plugin maker, so i have version with hit points only at the moment :))
-
After colliding dynamic asteroid even with a very high mass(I used 1000000) nothing happens, I mean no damage is delivered to my ship. I tried altering COLLISION_DAMAGE_FACTOR, it works with static asteroids, but not dynamic, looks strange when you collide a huge asteroid at 600 m/s and get no damage at all. any solutions? Sur editing :-? ?
-
See if this helps. It seems to work, but test it out a bit more and if it really does Iāll add it to the plugin.
freelancer.exe, 124E7C & 124E7F, 03->01
Dynamic asteroids are type 0x4001, normal asteroids are 0x1003. Itās the missing bit 1 that causes a different damage calculation, but changing to 4003 doesnāt work (4001 is tested in multiple places, by the looks).
-
Wait, so I understand this right, we now have dynamic asteroids that cause damage?
-
what āotherā objectsā¦. im intrigued that might just be a good thing.
-
Because it might crash. As it turns out, it doesnāt work, anyway. Iām sure I took damage that first time, but Iām not registering any now. Iāll keep trying, but dynamic asteroids (CObject) and normal asteroids (CSimple) might just be too different for it to work. BTW, normal asteroids have a mass of 1000.
-
No, I donāt think itās going to work. I believe whatās happening is that damage is done server-side, but dynamic asteroids are only client-side, so the server has no object to work with. It might be possible to just do it client-side, but Iāll leave that for another day.
-
Is it possible th make the autopilot or npcs evade these dynamic asteroids?
adoxa wrote:
but dynamic asteroids are only client-side, so the server has no object to work with.Does that mean that every client has different asteroids flying around?
-
They are not synced, that means if you shoot an asteroid no one else sees it, unless by chance some randomly generated asteroid got in the way.
-
And if not someone, but npc?
-
Doesnāt matter, every client sees his own randomly generated asteroid field.