Примерно так :-) : 001 $station= find station: sector=Омикрон Лиры cla...
X3 Terran Conflict / X3 Земной конфликт
 
X3 Terran conflict  
 

На сайте онлайн (человек): 38



 



Примерно так :-) : 001 $station= find station: sector=Омикрон Лиры cla...

Terran Conflict (X3TC) / Форум / Скрипты и моды для X3 Terran Conflict / Учимся простейшим скриптам

Учимся простейшим скриптам
(http://x3tc.net/x3_forum/?tid=672)
Автор: Bargon
(13.09.2012 11:43:06)

Примерно так :
 Код:
  1. 001   $station= find station: sector=Омикрон Лиры class or type=Аргонский космический док race=Аргон flags=0 refobj=Аргонский космический док maxdist=0 maxnum=1 refpos=null
  2. 002   $ship=Видар
  3. 003   $Pship= create ship: type=$ship owner=Player addto=$station x=null y=null z=null
  4. 004   $tmp=$Pship -> install 5 units of 200 МДж щит
  5. 005   $tmp=$Pship -> install 14 units of Электромагнитная плазменная пушка
  6. 006   $tmp=$Pship -> install 1 units of Биосканер
  7. 007   $tmp=$Pship -> install 1 units of Боковые двигатели
  8. 008   $tmp=$Pship -> install 1 units of Видеоочки
  9. 009   $tmp=$Pship -> install 1 units of Исследовательский программный модуль
  10. 010   $tmp=$Pship -> install 1 units of Маскирующее устройство
  11. 011   $tmp=$Pship -> install 1 units of Навигационный программный модуль НПМ-1
  12. 012   $tmp=$Pship -> install 10 units of Ремонтный лазер
  13. 013   $tmp=$Pship -> install 1 units of Определитель лучшего покупателя
  14. 014   $tmp=$Pship -> install 1 units of Определитель лучшего продавца
  15. 015   $tmp=$Pship -> install 10 units of Оптимизация рулевого управления
  16. 016   $tmp=$Pship -> install 1 units of Патрульный программный модуль
  17. 017   $tmp=$Pship -> install 1 units of Программный модуль авианосца
  18. 018   $tmp=$Pship -> install 1 units of Поляризатор корпуса
  19. 019   $tmp=$Pship -> install 1 units of Программный модуль снабжения
  20. 020   $tmp=$Pship -> install 1 units of Проектор эклиптики
  21. 021   $tmp=$Pship -> install 1 units of Прыжковый двигатель
  22. 022   $tmp=$Pship -> install 10 units of Ракета "Призрак"
  23. 023   $tmp=$Pship -> install 1000 units of Расширение грузового отсека
  24. 024   $tmp=$Pship -> install 1 units of Сингулярный уплотнитель времени
  25. 025   $tmp=$Pship -> install 1 units of Система анализа движения
  26. 026   $tmp=$Pship -> install 1 units of Система жизнеобеспечения
  27. 027   $tmp=$Pship -> install 1 units of Система удалённого доступа
  28. 028   $tmp=$Pship -> install 1 units of Система удалённого доступа
  29. 029   $tmp=$Pship -> install 1 units of Сканер С-2
  30. 030   $tmp=$Pship -> install 1 units of Сканер С-3
  31. 031   $tmp=$Pship -> install 1 units of Сканер грузов
  32. 032   $tmp=$Pship -> install 1 units of Сканер минералов
  33. 033   $tmp=$Pship -> install 1 units of Специальный программный модуль СПМ-1
  34. 034   $tmp=$Pship -> install 1 units of Стыковочный компьютер
  35. 035   $tmp=$Pship -> install 1 units of Торговая система с расш. возможностями
  36. 036   $tmp=$Pship -> install 1 units of Торговый программный модуль ТПМ-1
  37. 037   $tmp=$Pship -> install 1 units of Торговый программный модуль ТПМ-2
  38. 038   $tmp=$Pship -> install 1 units of Торговый программный модуль ТПМ-3
  39. 039   $tmp=$Pship -> install 1 units of Транспортер
  40. 040   $tmp=$Pship -> install 1 units of Улучшенный брандмауэр
  41. 041   $tmp=$Pship -> install 25 units of Форсирование двигателя
  42. 042   $tmp=$Pship -> install 1 units of Ускорители
  43. 043   $tmp=$Pship -> install 1 units of Шифратор программных подписей
  44. 044   $tmp=$Pship -> install 1 units of Экранирование грузового отсека
  45. 045   $tmp=$Pship -> add 600 units of Батареи
  46. 046   $tmp=$Pship -> add 1 units of Силовой луч
  47. 047   $Pship -> set name to 'Vidar-1'
  48. 048   return null
 

дерево темы → Учимся простейшим скриптам Учимся простейшим скриптам »
Список игр