Worms 3D Lua. - Форум
W4Tweaks
Меню сайта
Последние файлы
Последние темы


Вход



Мини-чат
 
500

Статистика
Онлайн:

Сегодня заходили: firsacho, Woitek, Joker, 4erveR, Unaited, Vorobey, Renny, ivan210303mitenkov


Друзья сайта

Если вы хотите увидеть в этом спиcке свой сайт загляните сюда

Наш баннер:



· Регистрация · Вход
[ Новые сообщения · Участники · Подписки · Поиск · RSS ]
Страница 1 из 11
Форум » Worms 3D » Моддинг Worms 3D » Worms 3D Lua. (How make own mission.)
Worms 3D Lua.
Woitek
Дата: ПТ, 10.10.2014, 21:29:50 | Сообщение # 1
Woitek
Его узнают в чате
Группа: Проверенные
Сообщений: 521
Репутация: 56
Статус: Offline
Links: http://w4tweaks.ru/forum/90-2260-1#61632  --Example mission

Welcome in Worms 3D Lua tutorial thread.

Today we learn how to:
-Make concept for your mission
-Add pointers to map and with what do.
-Test your map.
-Script mission.

First step to any mission desing is initial idea. It can be map or events what will happen in mission.

If we have concept of mission example:

We want make mission where be one worm, and this worm need collect using jetpack some crates. So if we know how mission will look we can start make prototype mission. For Prototype missions (if we don't have ready map) better make simple objects, like big cubes. There is no reason for make very detail map if we reject it and put to trash. Other look situation when we have map. Example:

We have map what looks like Shop. Inside shop are many food stuff and other objects what are used in shops.
Exaple mission can looks like:

Is one worm. On map is spawned one crate. If we collect all crates(foodstuffs) then mission succes!.

Good for plan mission is Piece or paper or word documentation because we freedom here. We can concept here any part of mission without touching fingers!

When we know general concept how should mission, then we can try realise concept to reality.

In Worms 3D scripting are some function what have to be in missions for correct work like:

function Initialise() --This is main function for every worms 3D mission. Here are written basics parametrs about some status.

function StartTurn() --This function initialise when Turn start.

function TurnEnded() -- This function work when Turn is ended.

function SetupWormsAndTeams() -- This function work once. Is called in Initialise() function. Here are set all Teams and Worms parametrs.

function SetupInventories() -- This function work once. Is called in Initialise() function. Here you can set amount of weapons Ammo and delays.


Сообщение отредактировал Woitek - ПТ, 10.10.2014, 21:51:57
 
Форум » Worms 3D » Моддинг Worms 3D » Worms 3D Lua. (How make own mission.)
Страница 1 из 11
Поиск:

Copyright W4Tweaks™ 2008-2016 Хостинг от uCoz