Sign in to follow this  
Followers 0
Adir

There's no AddAction but something else.

9 posts in this topic

Hello, Exile community! :)

I'm playing in a server which is running this mod, I like this mod and I like to play in that server.

But I also would like to script and add things to the mod, maybe then offer them to the server owners.

There's one thing I'm trying to do but it requires me to get in the office trader init to add a scroll action.

I found the lines of the office trader in the initPlayerLocal.sqf file but I couldn't find the init of the unit that stands there in the terminal.

I'd appreciate it if you may help me to find it.

Thanks for your help, cheers! :)

Share this post


Link to post
Share on other sites
Advertisement

exile_code.pbo
 ExileClient_object_trader_create.sqf

maybe i m wrong :-)

Edited by Dew

Share this post


Link to post
Share on other sites
1 hour ago, Dew said:

exile_code.pbo
 ExileClient_object_trader_create.sqf

maybe i m wrong :-)

Thanks for the answer :)

It's in the client files.

Even if I change it, it won't work because it's client side. :/

Edited by Adir

Share this post


Link to post
Share on other sites

You can override all the files in the code Directories both in client PBO and server PBO. There is a section in your config.cpp in the mission files.

 

Share this post


Link to post
Share on other sites

Example

 

class CfgExileCustomCode
{
  ExileClient_object_item_craft = "fixes\ExileClient_object_item_craft.sqf";
};

 

Share this post


Link to post
Share on other sites
3 hours ago, Dew said:

exile_code.pbo
 ExileClient_object_trader_create.sqf

maybe i m wrong :-)

 

2 hours ago, Renegade2k6 said:

Example

 


class CfgExileCustomCode
{
  ExileClient_object_item_craft = "fixes\ExileClient_object_item_craft.sqf";
};

 

Oh, ok then.

I saw the ExileClient_object_trader_create.sqf file.

It's obvious that there's a file calls the trader creator.

I saw the traders section in the Config.cpp but couldn't see the "Purchase Territory" lable.

Sorry for my noobie. ><

Edited by Adir

Share this post


Link to post
Share on other sites

May anyone give me an example about how to add a new action for the scrolling wheel on the office trader?

Share this post


Link to post
Share on other sites

someone needs to find this. I need to figure out how actions are added to the traders so that i can create an action to open the rekey dialog on a laptop. 

1 person likes this

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.