EXPAndMore

[Request] Trader script - exilecustomcode

10 posts in this topic

Hey Scripters!

I just have finished my Serverconfiguration and now I am looking for some cool stuff to Add..

I had the idea of a hiddentrader, wich only BUYS rare Items for a good price, this includes stoping every other Trader from selling this Item... For an example:        I have an AS50 and i want this item to be bought from the Hiddentrader...But, i just want it to be bought from THIS Trader and NOT anyone else... 

I did some research and found out that it should be possible, by overwriting the ExileServer_system_trading_network_sellItemRequest with the exile custom section :D However, i dont know how to.... That´s why i am posting my question here :D Is there anyone who can help me with this

If you have an Idea, or if you are actually able to realise this pls contact me either via steam: EXPAndMore , TS: 46.20.46.70:10135 or our website: voicesofwar.xobor.de

 

Thx, EXPAndMore

Share this post


Link to post
Share on other sites

you can set up items easily in traders

add the price into the normal place but only list it under one of the custom traders: e.g.

under class CfgExileArsenal

class U_C_Journalist        { quality = 1; price = 20; };

remove it from the  class Uniforms

create a new custom class to contain it

 class MyCustom1
 {
  name = "Custom stuff";
icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
  items[] =
  {
   "U_C_Journalist"
  };
 };

find whichever custom trader you want to use:

 class Exile_Trader_CommunityCustoms
 {
  name = "COMMUNITY";
  showWeaponFilter = 0;
  categories[] =
  {
   "MyCustom1"
  };
 };

This now means that any trader will purchase the item but only this one trader will sell it

 

Share this post


Link to post
Share on other sites
Advertisement

I haven't found a way to only sell to one trader though as that needs to edit server files for exile

Share this post


Link to post
Share on other sites

I released a version of this to anyone thats donated to exile... ;)

Share this post


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

I released a version of this to anyone thats donated to exile... ;)

If you posted it in the Donators Forum, that has now closed. 

Share this post


Link to post
Share on other sites

no i know. people have been and can still request said scripts from me tho. :) anyone who is a donator that asks i have been sending them too.

1 person likes this

Share this post


Link to post
Share on other sites
7 hours ago, happydayz said:

I released a version of this to anyone thats donated to exile... ;)

Send it on over when you get chance pls Happy. Btw Revive script is awesome buddy many thx for that!

Edited by F1Schu
1 person likes this

Share this post


Link to post
Share on other sites

;)

Edited by happydayz
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

  • Recently Browsing   0 members

    No registered users viewing this page.