Persistent Destructible Universe
-
Ah, okay. I was just tired of people saying “a plugin can do that” with seemingly no idea of just what it takes. “Freelancer 2? Yeah, a plugin can do that!”
I think it’s time for a break m8…… a well deserved break
-
@Skotty: I was looking into it, but got sidetracked by my TV tuner. I don’t expect fuses will work, not sure if actually blowing them off is any different (that’s what I was about to test). For fuses, I expect the server knows its run it once, so doesn’t run it again. For the wrecks, the initial fuse should run each time, but the loot fuse should only run once. I don’t think there’s really any way to distinguish which should run more than once and which not, so that’s probably going to have to remain.
-
Don’t know how long I tried variation of fuses
(including fuses starting other fuses) to keep
a destroyed clanbase burning and smokin’ ……
… without success. -
eh wait a sec there wee all ready have control of the fuses
void __stdcall HkLightFuse(IObjRW *ship, uint iFuseID, float fDelay, float fLifetime, float fSkip); void __stdcall HkUnLightFuse(IObjRW *ship, uint iFuseID, float fDelay); __declspec(naked) void __stdcall HkLightFuse(IObjRW *ship, uint iFuseID, float fDelay, float fLifetime, float fSkip) { __asm { lea eax, [esp+8] //iFuseID push [esp+20] //fSkip push [esp+16] //fDelay push 0 //SUBOBJ_ID_NONE push eax push [esp+32] //fLifetime mov ecx, [esp+24] mov eax, [ecx] call [eax+0x1E4] ret 20 } } __declspec(naked) void __stdcall HkUnLightFuse(IObjRW *ship, uint iFuseID, float fDunno) { __asm { mov ecx, [esp+4] lea eax, [esp+8] //iFuseID push [esp+12] //fDunno push 0 //SUBOBJ_ID_NONE push eax //iFuseID mov eax, [ecx] call [eax+0x1E8] ret 12 } } HkUnLightFuse(ship, iFuseID, 0.0f); HkLightFuse(ship, iFuseID, 0.0f, 0.5f, -1.0f);
motah worked it out ages ago
thats a example of a ship can also be a base ore eny object -
Does this plugin work as advertised?
I made the domes on FP9 destructible. Added in the plugin, added it to the Libraries section in dacom.ini and nothing happens. I destroy the base part, reload my character and the broken part just respawns as normal.
-
You just used it not as advertized.
-
Yep. How about destructible movable parts?
For example destructible docking ring:
- Killed bay doors
- They fly away
- Docked
- Undocked - they are in place
Think this is more fuse control than object, hmhmhmhm…
-
@adoxa Interesting Server-Side Effect with PersistentDestructibles at Client-Side
[Object]
…
Archetype = bruh ; <-- absent archetype at SolarArch.ini
…But side-effect is… when you go from this system by jumphole or jumpgate and then go back - the station appeared again.
Seems to be plugin does not send packets when the player comes from the other system