Sign in to follow this  
dekela

Flood light power source

5 posts in this topic

Is it possible to use the Extended Base Mod generator and diesel power unit to power the flood lights? I have searched for where the 'switch on/switch off' actions are added to the exile generator but can not find it.

i have tried 

class DieselPowerUnit
    {
        targetType = 2;
        target = "Land_DieselGroundPowerUnit_01_F";

        class Actions
        {
            class StartPowerUnit: ExileAbstractAction
            {
                title = "Start Power Unit";
                condition = "true";
                action = "_this call ExileClient_object_portableGenerator_switchOn";
            };
            
            class StopPowerUnit: ExileAbstractAction
            {
                title = "Stop Power Unit";
                condition = "true";
                action = "_this call ExileClient_object_portableGenerator_switchOff";
            };
        };
    };

but no luck

Thanks

 

Edited by dekela

Share this post


Link to post
Share on other sites
Advertisement
On ‎07‎/‎03‎/‎2018 at 8:36 AM, dekela said:

I imagine though, that there is a way to script the EBM generators to work with the standard exile lights 

check ExileClient_object_portableGenerator_switchOff and ExileClient_object_portableGenerator_switchOn as this seems to be where it sets if a generator is next to a floodlight so these 2 files would need adjusting and overwriting.

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.