![]() ![]() Keep in mind a weapon config type is "CfgWeapons" most gear (uniforms,vest, etc) will be "CfgWeapons" faceware would be "CfgGlasses" - if you are unsure open the Config Viewer (Alt+G) in the editor. The same can be done for a weapons trader or gear trader - just create the custom array for each type of trader. Logging into the server in game will give you access to the save/load options. This mod needs to be run as a 'mod', and players will also need the mod. Dedicated servers: Do not run the mod as a 'server mod'. Īdd to the init of your custom trader, along with any other code. Logged in server admins or multiplayer hosts get an action wheel item to load and save games. Method to add specific custom items to a trader. If you stay 250 meters away from them for 30 minutes (real time), then they will replenish their stock. Their stock will remain the same until you've spent some time (and distance) away from them. (found in the unit's Objects: Special States) If you want the trader to remain static, uncheck Enable Simulation. This setVariable // this is for a supplies trader This setVariable // this is for a gear trader This setVariable // this is for an arms trader They can either be static or wander the map.Ģ. Traders are units that buy and sell gear. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |