Jump to content

[[RELEASE]] [[Traders in Move]]


juandayz

Recommended Posts

Sin_t_tulo_1.jpg

Hello, i was looking for more realism in my server then did it.. and i want to share here.

Note: this is a very very primitive way to make a mod, i know.  but my brain is very very primitive :D so i use the only primitive resourses in my head to do it. If anyone can make it better, please do it.

The result is a functional mod whit easy installation.

*What Does Traders in Move?-

  Reveal hidden contents

 

 
INSTALL:
 
2-drop "traders_in_move" folder into YourServerRoot/MPMISSION/Chernarus_11/custom/
 
3-Open your init.sqf and paste this at very bottom:
  Reveal hidden contents

For COINS SYSTEM: ( for gold system open your "server_traders.sqf" and change categories )

4-Open your "server_traders_cherno_11.sqf" and paste lines in blue.

  Reveal hidden contents

5-again in "server_traders_cherno_11.sqf" paste this at very bottom. **note this is an example u can use other items categories.

  Reveal hidden contents

***Thers an error in rpt about CYCLE *this is when merchants start again the route* but works well.

its done.

notes:

  Reveal hidden contents

 

Link to comment
Share on other sites

I don`t mean this unfriendly, but it is actually a bit hard to read all that. Easy to miss out stuff. I think you should stick with a more "user friendly" Font like Georgia or Times new Roman and just one colour. Courier New and Lucida Console are also good Options.

Link to comment
Share on other sites

  Quote

Hola Juan.

A bit buggy. The traders are there, they move from place to place. One trader has clothes, the other two have nothing.

And it removes advanced trading from other traders.

Expand  

*I think if this remove adv trading for others, you have a wrong in here: just add the lines in blue. and take care whit last ,

  Reveal hidden contents

 

 

 

for traders in move use this. try if works and change later by your owns categories.

  Reveal hidden contents

 

Link to comment
Share on other sites

  Reveal hidden contents

Try adding this lines in red, and replace whit lines in blue in your traders_in_move.sqf  to not be attacked, maybe works .This  change the faction of traders to opfor and set them friendly whit civilians resistance and blufor.

Link to comment
Share on other sites

yep, u can use any model.  I set my traders in move in Blufor faction, like in this post. And had some configs in AI mission to no spawn missions near of them. but its a good idea set them like opfor and find 3 models non used by AI.

here u have models

https://community.bistudio.com/wiki/ArmA_2_OA:_Infantry#OPFOR

https://community.bistudio.com/wiki/ArmA_2:_Infantry

 

 

 

Link to comment
Share on other sites

You needs add this new models as traders  into  Server_Traders_Chernos_11.sqf

something like :

  Reveal hidden contents

and:

  Reveal hidden contents

* To understand how its works:

1-Here you define what kind of models will be traders:  serverTraders = ["example1","example2","example3" ]

2-Onces you have defined a model like a trader, you need associate items categories to  models defined as traders-


menu_EXAMPLE1 = [
    [["Clothes",497],["Backpacks",496],["Medical Supplies",670]], Here you put items categories to sell and bought
    [["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]], here you can put someting to trade 1 by 1
    "neutral" here are defined if trader sell and bought for //ALL// - //HEROS// - or //BANDITS//
];

3-Now you have a folder named "Category" into the "ZSC" folder:  into "Category" thers a lot of .hpp file  example:

"NeutralBuildingSupplies.hpp".  You can open this .hpp and add new items at categories or just add new categories.

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...