Loading...
  OR  Zero-K Name:    Password:   

How to make missions?

5 posts, 544 views
Post comment
Filter:    Player:  
sort
4 years ago
How do you make campaign missions? or just missions in general?
i've tried starting a new game and hacking in units the saving the game to make a "mission"
but can you add win objectives/optional objectives? or reset the time to 0 seconds?
and most importantly, if all i can do is to hack in units, how do i remove misplaced units without a death explosion or wreck? (/destroy makes them explado and leaves a wreck)
+0 / -0
There is no simple solution, but there are lot of extremely powerful solutions. Here are some ways to try though:

1) You could learn how to make maps. Maps can include arbitrary code in them, entirely redefining the rules of the game if you need that (new units, new mechanics, new models, everything). Mapping for Spring is not easy, though: you'll have to learn at least a bit of Lua programming (for your mission triggers; you can get through actual mapping mostly without it) and quite probably a lot more (texturing, for example). It's possible to reuse existing maps though when making a "scripted" version of them of course.

2) You could try how to make scenarios in SpringBoard. After all, initially it was supposed to be a _scenario editor_. It's a bit rough on the edges though, and hasn't been kept very up to date. Something exported from SB is likely to be more or less a mod-map like you would get in 1), but perhaps in an easier way. The bonus point is that you possibly won't have to learn programming.

3) You could try to switch your install into developer mode and attempt to configure your own campaign with the lobby's campaign framework.

IIRC the lobby even comes with a way to switch the single-player stuff into things other than the default campaign. This is entirely undocumented afaik, except for the examples that the existing code represents, and the possibility to extract more information from AUrankAdminAquanim or AUrankAdminGoogleFrog who created this system.

For this approach, you would almost inevitably have to learn programming and other stuff, but as a bonus, you can probably make not just a mission, but a whole campaign.


+0 / -0
4 years ago
thanks, i think i'll look into creating a map and making thanos snap units into exsitsance at frame 1.

also do you know how to compile maps? the spring website talked about a terminal but what terminal is it? is it the spring terminal?
+0 / -0


4 years ago
quote:
also do you know how to compile maps? the spring website talked about a terminal but what terminal is it? is it the spring terminal?

Most of the compilers are command-line-interface programs, this means you run them from your system command line thingy (cmd.exe in windows, for example). Most recent downloads of Spring Engine should contain a compiler named SpringMapConvNG.exe somewhere in the engine folder (that's in an /engines/<platform>/<version> in your local install).

SpringMapEdit comes with a built-in compiler and SpringBoard can also do its compiling under the hood, in case you don't want to mess with the command line.
+0 / -0


4 years ago
There is this mission editor: https://zero-k.info/mediawiki/index.php?title=Mission_Editor

I have used it and it works. Two missions made with it are in the campaign. The tutorials under Help also use it.

On campaign missions (@Anarchid 3), the missions are just data that uses a unit spawning and mission objective framework. Here is an example mission: https://github.com/ZeroK-RTS/Chobby/blob/master/campaign/sample/planets/planet1.lua

Editing the campaign has the most complete tutorials and is the quickest to set up. Do this: https://zero-k.info/mediawiki/index.php?title=Zero-K:Developing#Modifying_the_lobby_menu

+0 / -0