Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Donations
Monthly costs: -50€
Income (ads): +25€
Donations (last month): +0€

Current balance: -65€
(last updated 2013/05)

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

Thanks!
Collapse/Expand Random Image
Collapse/Expand Poll
Would you be interested in Star Citizen modding?
Yes.
No, not interested in SC mods/modding.
No, not interested in SC in general.
Total Votes: 281
3 Comments
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Twitter
Collapse/Expand Who's Online
25 user(s) are online (9 user(s) are browsing Forum)

Members: 3
Guests: 22

MeisterLampe, starworld, Aaxe, more...
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 272 users playing Freelancer on 87 servers.
May. 25, 2013

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
Report 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
Report Top
Re: Persistent Destructible Universe
Home away from home
Joined:
2008/9/11 15:55
From Russia
Group:
Registered Users
FLServer Admins
Senior Members
Posts: 1414
Offline
You just used it not as advertized.

Posted on: 2011/9/17 17:09
Freelancer Servers List | Discovery of Discovery | Open Sirius
Report 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
Report Top
« 1 2 (3)