Page 1 of 1
CnC campaign design
Posted: Wed Aug 29, 2012 9:52 pm
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
Posted: Wed Aug 29, 2012 11:06 pm
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...
Posted: Thu Aug 30, 2012 9:21 am
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.
Posted: Thu Aug 30, 2012 2:26 pm
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.
Posted: Thu Aug 30, 2012 6:52 pm
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.
Posted: Thu Aug 30, 2012 6:58 pm
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
Posted: Thu Aug 30, 2012 9:42 pm
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
Posted: Sat Sep 08, 2012 5:22 pm
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.
Posted: Tue Sep 25, 2012 11:31 am
by Matt
You could get some inspiration from the RA Allied campaign:
http://www.sleipnirstuff.com/forum/view ... 82&t=16003