Settlers IV starting resources

» Siedler Map Source Forum » Allgemein - General discussion » Settlers IV starting resources

Seiten: 1

gump891202
#1
24.10.2012 22:53
Beiträge: 19

Settlers IV scripts

Hey!
Yesterday I extracted an interesting file from the memory of S4.
http://www.mediafire.com/?qpkz8b0fxpsqd6j
This is the file that sets the starting resources for each race, the interesting part that it's LUA script. I Thought maybe someone with skills could use this knowledge to mod S4.
Put the file to the folder ...The Settlers IV/Script/Internal/
.
Enjoy.

EDIT:
I also found out that every campaign and tutorial map uses lua script to make the AI do things, set special conditions (no shaman and gardener for Dark Tribe on mission 2 for example), victory conditions, attack timers, etc.
I could extract them but I'm more interested in a way to execute my own scripts on a map made with editor.
This way someone who knows more about scripting and stuff could modify things in the game, for example adding keybinds to commands that has no button whatsoever (for building mushroomfarms mainly), adding DLG_BARRACKSCONTEXT for darktemple and buttons for other missing DT stuff.
Also, people could make maps with interesting settings and victory conditions.

Here are two examples:
The first one is the last trojan misson (ao_trojan12):
http://www.mediafire.com/?caliumlw9lwpv6l
The second one is the 8th Tutorial mission (tutorial08 ):
http://www.mediafire.com/?oc8skrc9nm59hk6



EDIT2: You can write script for every user map if you put your script in folder The Settlers IV/Script/(mapname).txt

Dieser Beitrag wurde von gump891202 am 26.10.2012 um 17:19 editiert.

Seiten: 1

SiteEngine v1.5.0 by nevermind, ©2005-2007
Design by SpiderFive (www.siedler-games.de) - English translation by juja

Impressum