Lua template

We need more cool lua missions and maps

Information and discussion for custom maps and mods.
Post Reply
User avatar
zypres1
Posts: 276
Joined: Mon Oct 24, 2011 8:22 pm

Lua template

Post by zypres1 »

Hi,

we need more cool missions and lua powered maps.
Since we now have playtest with LUA more fixed, folks can start making maps.

But one template should be ready for us to use, with advanced and simple code in it.

If anyone can start with this, we can all set what we want in it. I have many ideas.

It should be one we all could copy and create things from

If you want to check out what could be done, have a look at the godzilla map: http://content.open-ra.org/?p=detail&table=maps&id=1496 or Space invader: http://content.open-ra.org/?p=detail&table=maps&id=1543 , or all the missions that are converted to LUA in latest playtest.

We have so many ideas, Have a look here: https://github.com/OpenRA/OpenRA/wiki/M ... ding-Ideas

Please come to IRC if you want help.

The issue with bounty is here: https://github.com/OpenRA/OpenRA/issues/5084
( I got some things I want included, and I hope others and I can raise the bounty on it )

User avatar
Sleipnir
Posts: 878
Joined: Wed Apr 10, 2002 11:52 pm
Contact:

Post by Sleipnir »

This isn't a good time to be putting significant effort into lua-scripted maps. The Lua implementation in the current playtest is still broken (it leaks memory until the machine runs out of RAM and crashes the game - this is why the shellmaps are disabled), and is being redone from scratch for a future playtest.

The new implementation will be faster, safer, and have have a much cleaner API, but it probably won't be backwards compatible. This means that all maps targeting the existing API will need to be updated once this ships.

User avatar
zypres1
Posts: 276
Joined: Mon Oct 24, 2011 8:22 pm

Post by zypres1 »

Please state what you want included, and put some more $£ on this bounty if you want to.
Also please post links to all Lua powered maps for players to test out.

User avatar
zypres1
Posts: 276
Joined: Mon Oct 24, 2011 8:22 pm

Post by zypres1 »

Sleipnir wrote: This isn't a good time to be putting significant effort into lua-scripted maps. The Lua implementation in the current playtest is still broken .....
noooooooo....
But we still got those good examples like godzilla, so it works...
And the Space invaders..

Then we can start the planning of what we want in the template, and also have the new LUA to support this. Even better....

But IMHO this should be top priority, since the playtest seems to run really nice, and we want more missions and godzilla-like maps and minigames..

User avatar
zypres1
Posts: 276
Joined: Mon Oct 24, 2011 8:22 pm

Post by zypres1 »

Updated: https://github.com/OpenRA/OpenRA/issues/5084

github wrote: Hi, please open this, since I put bounty on this, and want this made.

This template is for easy learning some cool LUA codes, but also how to set up the LUA with YAML. It will be easier for me and other players to have LUA set up ready to be hacked on.

1: Starting playing sound
2: saying welcome, and tell the rules of the game
3: Map centers on units, each player get one engineer
4: One HQ on the middle is shown with spy plane to all players, and location F9 is sent to all players
4: when engineer enters middle hq, mcv is given on the egdes of the map
5: when that is deployed, player gets 5000cash, and can build 5 oil derrics and barracks/tent, nothing else
6: The other players get the message: user xxx has built a base
7: all players get one plane each to explore
8: Each player get reinforcement, one apc with medics
9: music starts
10: all map is revealed, but not units
11: When players wins, the HQ changes from neutral to the team of the winner.
There will also be played a sound, and civilians run out from the hq.

12: many new maps based on this template, ideas
13: profit?

The map: http://resource.openra.net/maps/1125

Post Reply