Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
67 user(s) are online (44 user(s) are browsing Forum)

Members: 0
Guests: 67

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +0€

Current balance: 55€
(last updated 04/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 65 users playing Freelancer on 37 servers.
May. 7, 2021

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

« 1 2 (3)


Anonymous
Re: Persistent Destructible Universe
Anonymous-Anonymous
eh wait a sec there wee all ready have control of the fuses

Code:
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

Posted on: 2010/11/7 23:20
Top
Re: Persistent Destructible Universe
Not too shy to talk
Joined:
2011/8/13 7:46
Group:
Banned!
Posts: 56
Offline
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.

Posted on: 2011/9/17 11:42
Top
Re: Persistent Destructible Universe
Home away from home
Joined:
2008/9/11 15:55
From Somewhere at Moscow
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 1766
Offline
You just used it not as advertized.

Posted on: 2011/9/17 17:09
Open Sirius Mod
Top
Re: Persistent Destructible Universe
Not too shy to talk
Joined:
2011/8/13 7:46
Group:
Banned!
Posts: 56
Offline
Ok, that tells me nothing, sorry

Posted on: 2011/9/17 19:34
Top
Re: Persistent Destructible Universe
Home away from home
Joined:
2008/9/11 15:55
From Somewhere at Moscow
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 1766
Offline
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...

Posted on: 2014/8/28 14:10
Open Sirius Mod
Top
Re: Persistent Destructible Universe
Just can't stay away
Joined:
2008/3/11 16:11
From Belarus, Minsk
Group:
Registered Users
Senior Members
Posts: 384
Offline
no way so far afaik((((999

Posted on: 2014/10/5 16:28
Top
« 1 2 (3)