Single player

Single player

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
DZHIBRISH
Posts: 357
Joined: 16 Mar 2007, 22:28

Single player

Post by DZHIBRISH »

Can you please tell me all i need to make a single player campaign for spring with ba mod.
I need general guidelines.
I need to knwo what is possible and what isnt.
Can i make a campaign so that when I finish one mission i am immidietly loaded into the next one? Is it possibel to save? Load?
can i make spring show windows of text/movies in between the mission?
If you can tell me what languages/scripts and programms do i need for al this.
Thank you in advance.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

To do this you would use lua.

Fnordia wrote a lua API for mission start scripts, which also included a mission builder script.

This API is made obsolete in 0.75 by the superior lua mod gadget APIs written by trepan, so you'd create a BA mutator with the necessary mission.


Campaigns however and fmvs are a different issue. For this you'll need to build a program outside of spring then launch spring to load the missions.

For this I'd expect you'd require Java/C#/C++ experience.
DZHIBRISH
Posts: 357
Joined: 16 Mar 2007, 22:28

Post by DZHIBRISH »

So i should wait for spring release?
User avatar
gamer17
Posts: 235
Joined: 21 Feb 2007, 23:51

Post by gamer17 »

check this out

http://spring.clan-sy.com/wiki/Mission_ ... ment_Guide

I wrote this, so if you need any help ask me or go here
http://spring.clan-sy.com/phpbb/viewtop ... sc&start=0
DZHIBRISH
Posts: 357
Joined: 16 Mar 2007, 22:28

Post by DZHIBRISH »

Ok.thx alote,but should i wait till the upcoming version is released?
i mean its so close to release right?and after it stuff will be different..
so should i wait? from a programmers pov?
User avatar
Tim Blokdijk
Posts: 1242
Joined: 29 May 2005, 11:18

Post by Tim Blokdijk »

Use a svn version.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

download thors NOTA missions, very very helpful to look at
User avatar
gamer17
Posts: 235
Joined: 21 Feb 2007, 23:51

Post by gamer17 »

No, you should start right now
Its not that hard
DZHIBRISH
Posts: 357
Joined: 16 Mar 2007, 22:28

Post by DZHIBRISH »

k i will thx fot your help
Post Reply

Return to “Engine”