Events and screens Questions (Modding)

Let's talk about Gettysburg! Put your questions and comments here.
Hancock the Superb
Reactions:
Posts: 1436
Joined: Thu Aug 21, 2008 9:06 am

Events and screens Questions (Modding)

Post 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!
Hancock the Superb
Jim
Reactions:
Posts: 1082
Joined: Tue Nov 27, 2007 8:53 am

Re:Events and screens Questions (Modding)

Post 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
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Re:Events and screens Questions (Modding)

Post 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.
Hancock the Superb
Reactions:
Posts: 1436
Joined: Thu Aug 21, 2008 9:06 am

Re:Events and screens Questions (Modding)

Post by Hancock the Superb »

If that is not implimented, may I assume I can mod that somehow?
Hancock the Superb
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Re:Events and screens Questions (Modding)

Post 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.
Hancock the Superb
Reactions:
Posts: 1436
Joined: Thu Aug 21, 2008 9:06 am

Re:Events and screens Questions (Modding)

Post 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.
Hancock the Superb
Jim
Reactions:
Posts: 1082
Joined: Tue Nov 27, 2007 8:53 am

Re:Events and screens Questions (Modding)

Post 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
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863
Hancock the Superb
Reactions:
Posts: 1436
Joined: Thu Aug 21, 2008 9:06 am

Re:Events and screens Questions (Modding)

Post 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?
Hancock the Superb
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Re:Events and screens Questions (Modding)

Post 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?
Hancock the Superb
Reactions:
Posts: 1436
Joined: Thu Aug 21, 2008 9:06 am

Re:Events and screens Questions (Modding)

Post 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?
Hancock the Superb
Post Reply