CnC campaign design

Information and discussion for custom maps and mods.
Post Reply
Dilandau
Posts: 4
Joined: Wed Aug 29, 2012 9:27 pm

CnC campaign design

Post by Dilandau »

Hello all

I am new to this forum and forums in general. So forgive me if i commit any taboos i assure you its not intended.

I downloaded OpenRa and played CnC and i enjoyed it a lot. I do love traditional CnC. I noticed that there is no campaign and i am very eager to help make one.

In order to attempt making campaign missions i need some help. I do not know how to make 'missions'. I can make a map in the editor, but i do not know how to add conditions for victory/failure and specific events. I am somewhat familiar with netlogo software so i am not completely illiterate in coding if that is a necessary requirement. Is there a tutorial anyone can link me to? or possibly any advice anyone can give me?

thanks

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

Post by zypres1 »

Cool.

Come to IRC and chat with Scott or the devs...
We also have wiki with some information, but on github you will find more hints with scotts patches...

Matt
Posts: 1155
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

Someone converted and scripted GDI01 (as announced on the homepage) but that is long ago. I fixed the crashes in https://github.com/chrisforbes/OpenRA/c ... 97363e0476 that occur in newer versions backed up at https://github.com/chrisforbes/OpenRA/tree/gdi01 as this never made it into any release.

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

Post by Sleipnir »

GDI01 was our original testcase for the single player and scripting code. It used to be shipped with every release, but was disabled from the map selection by default (as it required the movie and music mixes to be installed). It is disappointing to see that it has not been maintained since I left the project. See http://www.sleipnirstuff.com/forum/view ... p?p=282574 wrt fixing the FMVs.

Dilandau
Posts: 4
Joined: Wed Aug 29, 2012 9:27 pm

Post by Dilandau »

Hello Zypres1 what is IRC i am not familiar with that and can you link me to the wiki please.

Thank you Sleipnir and Cmd. Matt for bringing me up to speed. This information is a great start for me.

With regards to coding. If i were to create a new mission from scratch what would i need to know? If i know how to create a mission i will be able to better understand the state of the backed up files.

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

Post by Sleipnir »

The only difference between a scripted mission and a normal map is that missions usually have a unit of logic (known as a 'trait', which are what all the actor logic in the game is made out of) attached to the "world actor" which controls the flow of the mission. The scripting traits usually implement one or more interfaces which allow them to recieve notifications about things which happen, and can interact with actors and their traits in order to control the game state. A good starting point would be to read the wiki documentation and get an idea for how the trait system works. https://github.com/OpenRA/OpenRA/wiki

Dilandau
Posts: 4
Joined: Wed Aug 29, 2012 9:27 pm

Post by Dilandau »

Thank you Sleipnir i plan to read that through over the next several days.

Also Zypres1 i found IRC, ill give it a go

Dilandau
Posts: 4
Joined: Wed Aug 29, 2012 9:27 pm

Post by Dilandau »

just and update.
i have been reading and it turns out that i need to learn a fair bit more than i imagined. consequently this will take longer than i imagined. Hoping to get back to you soon with some substance.

Matt
Posts: 1155
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

You could get some inspiration from the RA Allied campaign: http://www.sleipnirstuff.com/forum/view ... 82&t=16003

Post Reply