Page 1 of 2

Events and screens Questions (Modding)

Posted: Tue Jun 23, 2009 3:52 pm
by Hancock the Superb
Norb:

Is it possible to link the events and screens together in a scenario? For example, lets say I have a scenario, and there is an objective on each side of the map. If the player moves their troops to the one objective, then they go to a different battle, and if they go to the other, they go to another different battle. (The game ends, and that battle shows up on the battle screen.) I believe that this would increase the playability of campaigns - now, players can choose where they want to take their troops!

Re:Events and screens Questions (Modding)

Posted: Tue Jun 23, 2009 7:14 pm
by Jim
We already have the capability for linked scenarios. In this the results of the first battle provide unit strengths for the 2nd battle. This could be used to make a mini-campaign or multi-day battle.

-Jim

Re:Events and screens Questions (Modding)

Posted: Tue Jun 23, 2009 8:56 pm
by norb
Hancock the Superb wrote:
Norb:

Is it possible to link the events and screens together in a scenario? For example, lets say I have a scenario, and there is an objective on each side of the map. If the player moves their troops to the one objective, then they go to a different battle, and if they go to the other, they go to another different battle. (The game ends, and that battle shows up on the battle screen.) I believe that this would increase the playability of campaigns - now, players can choose where they want to take their troops!
As Jim said, our linked battle works just like TC did. This is really because that is all we need right now. We plan on doing campaigns, soon hopefully. I don't think what you are asking for would be something that we would plan for anytime soon. Our campaign system is pretty much designed, we just have to put it in.

Re:Events and screens Questions (Modding)

Posted: Wed Jun 24, 2009 3:38 pm
by Hancock the Superb
If that is not implimented, may I assume I can mod that somehow?

Re:Events and screens Questions (Modding)

Posted: Wed Jun 24, 2009 4:44 pm
by norb
I don't think that you'll be able to. It would have to be something that is added to the modding language for the patch.

The carryover scenario requires that the carryover save exists before it can be launched. But you want a scenario to be able to save different carryover saves based on events that occur in the game.

I think that's it's possible to code, but we don't require it for any of our own scenarios, so it would not make it into the first release. Sorry for such a bad answer, but we are very strict on new features right now.

Re:Events and screens Questions (Modding)

Posted: Thu Jun 25, 2009 5:46 pm
by Hancock the Superb
That's okay. Perhaps I can find a way around it (working on it in TC2M at the moment, but its still difficult.

Re:Events and screens Questions (Modding)

Posted: Thu Jun 25, 2009 6:58 pm
by Jim
If you can make is work in TC2M, it *should* work OK in GB. If you have more detailed technical questions, don't be shy about posting them.

-Jim

Re:Events and screens Questions (Modding)

Posted: Fri Jun 26, 2009 1:54 pm
by Hancock the Superb
For TC2M, I'm working through the save battle function, so you save the battle, and I'm trying to get the save battles for those particular battles to save to a different mainscreen, which would allow me to "check" the score and battle to designate another battle, which by clicking on the Battle entitled "NEXT BATTLE" the next battle in the order line-up shows...

I originally tried to use the goto function, which shows the next game based on the points and events, but it grew very complicated, and that is my backup at the moment.

Maybe I should rephrase my original question:

What are the different event commands that you are inputting? With these (if you can tell them to us modders), is it possible to link the battle to a mainscreen, eg, the goto function in TC2M?

Re:Events and screens Questions (Modding)

Posted: Sat Jun 27, 2009 11:30 pm
by norb
There are a bunch of new commands and we'll gather them all together and post them in an API manual. As Jim said, we looked over the tc2m api and tried to make sure that we still supported the same functionality. We've only changed the stuff we thought we could do better.

I thought the goto function went to a particular unit?

Re:Events and screens Questions (Modding)

Posted: Sun Jun 28, 2009 6:38 pm
by Hancock the Superb
It does - usually, but in the sdk files you have it listed as a screen command as well, I didn't get it to work, though.

Maybe a redone endscenario screen could fix this?