武装突袭3

武装突袭3

[COOP 1-10] Altis Fortress
此主题已被锁定
Dr. Diesel Submarine  [开发者] 2015 年 1 月 14 日 上午 4:18
How to add custom objects
Hello everyone!

In this topic I will explain how to add YOUR objects into build menu.
For example you can add objects from addons.

You must be either server admin or logged in admin (if dedicated)
Press ESC and put this into debug console :

FS_FORTIFICATIONS pushBack "New_object_class"
FS_OTHERSTUFF pushBack "New_object_class"


...after that hit the "Global execution" button. Now every connected player will be able to choose this object from Build menu (binded on Right ALT).

Please use FS_FORTIFICATIONS array only for adding fortifications and buildings and use FS_OTHERSTUFF array for everything else.

There is also alternate commands which do the same

FS_FORTIFICATIONS = FS_FORTIFICATIONS + ["New_class1", "New_class2"]
FS_OTHERSTUFF = FS_OTHERSTUFF + ["New_class1", "New_class2"]

最后由 Dr. Diesel Submarine 编辑于; 2015 年 1 月 14 日 下午 8:26