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
129 user(s) are online (105 user(s) are browsing Forum)

Members: 0
Guests: 129

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 48 users playing Freelancer on 42 servers.
September. 21, 2023

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



(@Adoxa) EngClass: parenting Power Plants / Engines to ship parts (CollisionGroups)
Just popping in
Joined:
5/3 14:40
Group:
Registered Users
Posts: 5
Offline
I have recently been playing around with purchasable Power Plants using Adoxa's EngClass plugin. My goal was to add a power plant booster of sorts that could be destroyed by killing a ship CollisionGroup, so I parented the hardpoint to the ship part. This turned out to not work, as the power plant would remain on my ship, although it disappears from my equipment window as the hardpoint does go missing.

I asked someone with a slightly better understanding of the game's inner workings to have a look, and he concluded that EngClass actually attaches the extra powerplant to the ship's Bay, or root, and the hardpoint it is placed on is basically purely cosmetic. This means that it's impossible to use conventional 'hardpoint destruction' methods like collision groups and fuses to destroy one.

Could Engines/Power Plants be attached to the hardpoint specified, allowing them to be 'conventionally' destroyed?

Posted on: 7/30 12:19
Top
Re: (@Adoxa) EngClass: parenting Power Plants / Engines to ship parts (CollisionGroups)
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 2042
Offline
That would mean changing them from Internal to External Equipment, not something I fancy doing, sorry.

Posted on: 7/30 12:38
Top
Re: (@Adoxa) EngClass: parenting Power Plants / Engines to ship parts (CollisionGroups)
Just popping in
Joined:
5/3 14:40
Group:
Registered Users
Posts: 5
Offline
I can't say I'm incredibly surprised, thanks for answering.

Posted on: 7/30 13:52
Top
Re: (@Adoxa) EngClass: parenting Power Plants / Engines to ship parts (CollisionGroups)
Home away from home
Joined:
2010/2/17 20:45
From Germany
Group:
Registered Users
Senior Members
Posts: 516
Offline
For engines you do not need this. They effectively work by the HpEngine hardpoints. If you lose every single collision group with HpEngine until you have no more, the engine stops working.

Posted on: 7/30 14:14
How to create .SUR files - Tutorial
Top
Re: (@Adoxa) EngClass: parenting Power Plants / Engines to ship parts (CollisionGroups)
Just popping in
Joined:
5/3 14:40
Group:
Registered Users
Posts: 5
Offline
I believe HpEngine01 is the only one that matters, but I might be wrong. But yeah, I'm aware. It's the power plants I am interested in unfortunately.

Posted on: 7/30 14:22
Top
Re: (@Adoxa) EngClass: parenting Power Plants / Engines to ship parts (CollisionGroups)
Just popping in
Joined:
5/3 14:40
Group:
Registered Users
Posts: 5
Offline
Alright, I have a new request as I've learned linked_equip in CollisionGroups can be used to damage types of equipment on CollisionGroup destruction, including the "Power" type.

Would it be possible to make the game read and "respect" hit_pts for "power"-type equipment? That way, doing a specific amount of damage could destroy a specific piece of equipment while not destroying the main powerplant. Right now, doing any damage at all to "power" objects destroys every powerplant present on the ship.

Posted on: 8/18 13:33
Top
Re: (@Adoxa) EngClass: parenting Power Plants / Engines to ship parts (CollisionGroups)
Quite a regular
Joined:
2010/6/13 13:38
From Russia, Penza
Group:
Registered Users
Posts: 176
Offline
My solution - attach shieldgen with constant power draw to your collision group. Power effect of this shieldgen will be deactivated after loosing of collision group.

Main problem for me - it's working for ship at once. You need to buy shieldgen again after repair of collision group.

I did this trick in my survival mission. At the start of mission you have limited power. After N seconds you'll got full power of your ship.

Posted on: 8/20 14:29
Top
Re: (@Adoxa) EngClass: parenting Power Plants / Engines to ship parts (CollisionGroups)

Joined:
2016/3/29 21:54
From England
Group:
Webmasters
Posts: 49
Offline
There are other implications from using shield draw as a power management mechanic. If any code or hooks looks at powercores for capacity and related stats, they now need to consider that shields can remove negative power - which I assume this something most people do not consider in their calculations.

Posted on: 8/20 14:54
Way too ambitious for his own good.
Top
Re: (@Adoxa) EngClass: parenting Power Plants / Engines to ship parts (CollisionGroups)
Just popping in
Joined:
5/3 14:40
Group:
Registered Users
Posts: 5
Offline
We're currently using a negative power draw shield generator as a workaround, yes. It's not elegant and a little bit unintuitive for players, as they'll get the audio notification "Shield Destroyed" when the collision group bites the dust. Doesn't help that a major other collision group governs the actual shield of these ships, making it so players may get confused and think they lost their actual shield when instead they lost a portion of their powercore recharge.

Posted on: 8/21 0:52
Top