Jump to content
Sign in to follow this  
Whitey01

PortableGenerator outside of a territory? (CLOSED)

Recommended Posts

Hello friends.

 

It is possible to build workbench, fire and safes outside of a territory.

I would now like to be able to build a mobile generator outside of territories for a recipe.

Is there a way to add the Exile_Item_PortableGeneratorKit to the existing items?

 

LG Whitey

Share this post


Link to post
Share on other sites

Requires a mod and knowledge about the exile config setup for constructions or script changes.
Not easily done for beginners ^^

Part of it as example (only ~25% of the needed config)
 

Quote

 class Construction_PortableGenerator: AbstractConstruction
 {
  staticObject = "Construction_PortableGenerator_Static";
  previewObject = "Construction_PortableGenerator_Preview";
  kitMagazine = "Construction_PortableGenerator_Kit";
  refundObjects[] = {"Construction_PortableGenerator_Kit"};
  materialType = 10;
  requiresTerritory = 0;
 };


Good luck.

  • Thanks 1

Share this post


Link to post
Share on other sites
On 2/18/2023 at 8:22 PM, El' Rabito said:

Requires a mod and knowledge about the exile config setup for constructions or script changes.
Not easily done for beginners ^^

Part of it as example (only ~25% of the needed config)
 


Good luck.

Think i can do this 🙂

Share this post


Link to post
Share on other sites
On 2/15/2023 at 4:49 PM, Whitey01 said:

Hello friends.

 

It is possible to build workbench, fire and safes outside of a territory.

I would now like to be able to build a mobile generator outside of territories for a recipe.

Is there a way to add the Exile_Item_PortableGeneratorKit to the existing items?

 

LG Whitey

how do you want to use this... you want to build it as player ? you want it on static locations?

 

explain a bit more plaese xD

Share this post


Link to post
Share on other sites

@DutchPriide

Yes, it should be freely buildable and degradable by every player on the map.

Basically like a workbench.

 

What it is for:

It is part of a script that also allows you to refuel helicopters with a gas barrel.

Just like with the canisters, only with a 100L barrel and generator.

 

If you have a full gas barrel in your backpack and there is a generator nearby, you can refuel from it.

If you only have the barrel in your backpack and there is no generator nearby, you cannot refuel.

At the moment you can always refuel with the barrel even without a generator and I would like to make that a little more difficult.

 

I don't want the generators to be stationary on the map because if I have to fly somewhere to refuel with a barrel, it doesn't make any sense.

Then you could fly straight to the gas station.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×