Difference between revisions of "(sk) Tvorba príbehov"

From The Battle for Wesnoth Wiki
(Undo revision 46938 by BettyMorgan (Talk))
(minor updates)
Line 63: Line 63:
  
 
[[Category:Translations]]
 
[[Category:Translations]]
 +
 +
== Mr. Happy Man ==
 +
 +
For six hours each day, Bermudas Johnny Barnes stands at a busy traffic intersection telling all who pass that he loves them. His delight and sincerity are infectious, and the people of the island love him back. His service is a simple reminder of the power of happiness and loving-kindness to change any day for the better
 +
 +
[[http://goodvillenews.com/Mr-Happy-Man-VDrbVr.html Mr. Happy Man]]
 +
 +
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 +
 +
== The Art of Motivating Employees ==
 +
 +
Could a simple five-minute interaction with another person dramatically increase your weekly productivity?In some employment environments, the answer is yes, according to Wharton management professor Adam Grant. Grant has devoted significant chunks of his professional career to examining what motivates workers in settings that range from call centers and mail-order pharmacies to swimming pool lifeguard squads.
 +
 +
[[http://goodvillenews.com/The-Art-of-Motivating-Employees-oTveQ5.html The Art of Motivating Employees]]
 +
 +
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 +
 +
== An Incredible Graduation Gift from Dad ==
 +
 +
Brenna Martins dad evidently doesnt like last-minute shopping. Bryan Martin a purchased a gift for his daughters high school graduation -- which happened earlier this month -- thirteen years ago. He managed to keep it hidden this whole time, and his "moving, touching, nostalgic, and thoughtful" present (her words) brought Brenna to tears when dad finally gave it to her last week.
 +
 +
[[http://goodvillenews.com/An-Incredible-Graduation-Gift-from-Dad-R2viuk.html An Incredible Graduation Gift from Dad]]
 +
 +
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 +
 +
== Awakening Our Collaborative Spirit ==
 +
 +
The physicist, David Bohm, while researching the lives of Einstein, Heisenberg, Pauli and Bohr, made a remarkable observation. Bohm noticed that their incredible breakthroughs took place through simple, open and honest conversation. He observed, for instance, that Einstein and his colleagues spent years freely meeting and conversing with each other.
 +
 +
[[http://goodvillenews.com/Awakening-Our-Collaborative-Spirit-AjXaD8.html Awakening Our Collaborative Spirit]]
 +
 +
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 +
 +
== Mr. Happy Man ==
 +
 +
For six hours each day, Bermudas Johnny Barnes stands at a busy traffic intersection telling all who pass that he loves them. His delight and sincerity are infectious, and the people of the island love him back. His service is a simple reminder of the power of happiness and loving-kindness to change any day for the better
 +
 +
[[http://goodvillenews.com/Mr-Happy-Man-VDrbVr.html Mr. Happy Man]]
 +
 +
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]

Revision as of 04:08, 6 August 2012

(Návod -- Tvorba -- Tvorba príbehov)

Na vytvorenie vlastného príbehu potrebujeme aspoň jednu scénu.

Adresáre

Oficiálne príbehy sú popísané v adresári:

C:\Program Files\Wesnoth\data\campaigns\

Vlastné príbehy môžeme vytvárať v adresári:

C:\Program Files\Wesnoth\userdata\data\campaigns\

V adresári na príbehy vytvoríme skript príbehu, nazveme ho napríklad "Moj_pribeh.cfg". Vytvoríme tam aj podadresár s rovnakým názvom (teda "Moj_pribeh"). V tomto podadresári sa budú nachádzať všetky súbory súvisiace s príbehom (skripty scenárov, mapy, obrázky,...), mimo neho bude len hlavný skript príbehu. (A ešte publikačný skript, ak budete chcieť svoj príbeh publikovať na internete; ale o tom neskôr.)

V podadresári príbehu si ešte vytvoríme ďalšie podadresáre na prehľadné rozdelenie jednotlivých súborov: "scenarios" na scény, "maps" na mapy, "images" na obrázky, "units" na vlastné jednotky, atď.

Moj_pribeh.cfg         (skript príbehu)
Moj_pribeh.pbl         (publikačný skript)
Moj_pribeh/maps/       (mapy, napríklad "mapa1")
Moj_pribeh/scenarios/  (skripty scén, napríklad "Moja_scena_1.cfg")
Moj_pribeh/images/     (obrázky)

Skript príbehu

Skript príbehu by mal byť čo najkratší. Musí obsahovať tri veci:

1) Názov adresára, v ktorom sa nachádzajú obrázky a iné binárne súbory patriace k príbehu (značka "binary_path"). Ak príbeh nepoužíva žiadne vlastné obrázky, táto značka nie je potrebná.

2) Základné informácie o príbehu (značka "campaign").

3) Odkaz na ďalšie súbory (skripty scén, a podobne), ktoré sa majú načítať, keď si hráč vyberie tento príbeh.

[binary_path]
  path= "data/campaigns/Moj_pribeh/"
[/binary_path]

[campaign]
  icon=maly_obrazok.png
  name= _"Moj pokusny pribeh"
  description= _"Toto je moj pokusny pribeh"
  image=velky_obrazok.png
  define=CAMPAIGN_MOJ_PRIBEH
  first_scenario=Moja_scena_1
[/campaign]

#ifdef CAMPAIGN_MOJ_PRIBEH
{@campaigns/Moj_pribeh/scenarios}
#endif

Pri vlastnostiach "icon" a "image" môžete použiť štandardný obrázok hry, alebo vlastný obrázok uložený v podadresári "images"; zápis je v oboch prípadoch rovnaký.

Skripty scén by sa mali nachádzať v adresári "scenarios", a vlastnosť prvej scény "id" musí byť rovnaká ako vlastnosť "first_scenario" príbehu.

Spustite hru... nový príbeh by sa mal objaviť v zozname príbehov. Ak niečo zmeníte v popise príbehu, budete asi musieť program vypnúť a opäť zapnúť, aby sa zmeny prejavili.

Mr. Happy Man

For six hours each day, Bermudas Johnny Barnes stands at a busy traffic intersection telling all who pass that he loves them. His delight and sincerity are infectious, and the people of the island love him back. His service is a simple reminder of the power of happiness and loving-kindness to change any day for the better

[Mr. Happy Man]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

The Art of Motivating Employees

Could a simple five-minute interaction with another person dramatically increase your weekly productivity?In some employment environments, the answer is yes, according to Wharton management professor Adam Grant. Grant has devoted significant chunks of his professional career to examining what motivates workers in settings that range from call centers and mail-order pharmacies to swimming pool lifeguard squads.

[The Art of Motivating Employees]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

An Incredible Graduation Gift from Dad

Brenna Martins dad evidently doesnt like last-minute shopping. Bryan Martin a purchased a gift for his daughters high school graduation -- which happened earlier this month -- thirteen years ago. He managed to keep it hidden this whole time, and his "moving, touching, nostalgic, and thoughtful" present (her words) brought Brenna to tears when dad finally gave it to her last week.

[An Incredible Graduation Gift from Dad]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Awakening Our Collaborative Spirit

The physicist, David Bohm, while researching the lives of Einstein, Heisenberg, Pauli and Bohr, made a remarkable observation. Bohm noticed that their incredible breakthroughs took place through simple, open and honest conversation. He observed, for instance, that Einstein and his colleagues spent years freely meeting and conversing with each other.

[Awakening Our Collaborative Spirit]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Mr. Happy Man

For six hours each day, Bermudas Johnny Barnes stands at a busy traffic intersection telling all who pass that he loves them. His delight and sincerity are infectious, and the people of the island love him back. His service is a simple reminder of the power of happiness and loving-kindness to change any day for the better

[Mr. Happy Man]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]