Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added annotation about importance of stringtable.xml #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/guides/missionmaking.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ _Jeżeli zamierzasz bawić się skryptami to bardzo polecamy `Visual Studio Code

W naszych misjach pojawiają się różne treści. Takie rzeczy można przygotowywać w pliku stringtable.xml. Misja pokazowa ma tam zdefiniowaną nazwę nazwę misji oraz treść intelu. Najprościej przyjąć, że to tablica stałych tekstowych.

**UWAGA**
Nie pomijaj tego punktu. Jeśli nie masz potrzeby niczego zmieniać przynajmniej edytuj nazwę misji. W miejsce `ArmaForces - Preset` wpisz swoją unikalną nazwę misji. Unikniesz dzięki temu problemów z dublowaniem się nazw na serwerze i tym samym brakiem Twojej misji na liście. Najlepiej wyeduj wszystkie pola, oprócz korzyści czysto porządkowych gracze zobaczą większe napracowanko.
3Mydlo3 marked this conversation as resolved.
Show resolved Hide resolved
3Mydlo3 marked this conversation as resolved.
Show resolved Hide resolved
```xml
<Key ID="STR_AFP_Scripts_DisplayName">
<Polish>ArmaForces - Preset</Polish>
</Key>
```

3Mydlo3 marked this conversation as resolved.
Show resolved Hide resolved
## **7. Dodawanie akcji czy event handlerów**

Czasem możesz mieć potrzebę (nawet w prostej misji) zrobić coś więcej niż tylko chodzenie i zabijanie. Przykładem w misji pokazowej jest przeszukiwanie przedmiotu w celu znalezienia intelu - plik `initPlayerLocal.sqf`:
Expand Down