March 28, 2024, 11:06:04 AM

Username
Password

Pages: [1]   Go Down
Print
Author Topic: Campaign Tool  (Read 14754 times)
0 Members and 1 Guest are viewing this topic.
Malus
Campaign Creator
*
Offline Offline

Posts: 107



View Profile
« on: February 08, 2011, 07:08:33 PM »

Hi @ all, long time no see Wink

My dark plan is to write a tool for the lovely campaign, which allows free map selection, to buy and sell units.

The first step was just free mission selection, thats done and works fine (for the first ~ 10 missions, missing the data for the others but thats no problem).

Second is the buy/sell option and, thats the important thing, get the stuff work with the maps.

The Problems!!:
1. Every change (mapselection/buy/sell) needs Gameexit, open Tool+select newest savegame+ do what you want, close tool,start game.
Yes this sucks, but there is no other option ;(

2.I dont know if its a developer joke, but why the hell, i need to tell the game that i want to use my active units on the battlefield? -.-
So a totaly rebuild of ALL goddamn BTB files is nessesary to allow every unit. Otherwise some Units are not available at the battle.
Some Units join the army and later disappear , i.e. the Carlons Cavalry or the Treeman.
Thats because the Unit has an unique unit ID and after i.e. the Treemanmission the game sets the unit with this Id to inactive status.
Good News! Its possible the change all unit Ids(start armyfile PLYR_ALL) and the game still works fine. i.e. numbers from 30-56 instead of 2-28.
With this change, no unit will join or disappear, so all "unitchanges" comes with the campaign tool or they die on battlefield Wink .

3.The Tool itself

I'm new to Python and TKinter, but first steps are done for a simple GUI with missionselection.
Now it seems i could need a helpfull hand from someone who knows more than myself about python and tkinter Wink


How can i:

-set the background for the GUI? I want a background like multiplayer GUI ingame
-set picture for buttons,

or all in one, i want the exactly same GUI like multiplayer armycreation ingame, what whould you do? ^^

yes thats all


Status: Alpha of the Alpha


Dont trink to much blood!!




Logged

"I live to cheat death."
Commander Morgan Bernhardt

"We are the most civilised race in the world. We have more exquisite ways to kill than any other."
Lord Vraneth the Cruel, master of Har Ganeth
olly
Global Spokesperson
*
Offline Offline

Posts: 2268



View Profile
« Reply #1 on: February 08, 2011, 07:58:09 PM »

Good to have you back Malus!

Your dark thoughts are great and we'd be happy to help as much as we can.

I will investigate further but for more technical coding issues you would need Mikademus,Rob, Ghabry or Darkmancer's assistance.

This is going to be brilliant!

Thanks again from all of us for your amazing ROTD alternate Dark Omen Campaign.

http://forum.dark-omen.org/campaigns/campaign-rotd-rise-of-the-dead-t614.0.html

Smiley
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Ghabry
Developer
*
Offline Offline

Posts: 1020



View Profile
« Reply #2 on: February 08, 2011, 08:35:27 PM »

Its good to know that somebody is still working on tools to make Dark Omen more modding friendly.

But I never used Python (or Tkinter) so I cant be of any help, sorry.
Logged

Flak
Super Moderator
*
Offline Offline

Posts: 1463


Jake Nielsen


View Profile WWW
« Reply #3 on: February 08, 2011, 08:56:29 PM »

Malus you are a gift from the dark gods  Wink

this sounds like an amazing tool i must say. It would make my creation of new campaigns so much easier
hehe i come to think how far we have gotten since my Goblin campaign with only orc armies edited was big news  Smiley
Logged

"There is only one way out of hell, thats through it" -- General Patton

"Just because a mage wears the Black Robes, does not make him evil." -- Raislin Magere

"Evil Turns upon it self" -- Paladine
Malus
Campaign Creator
*
Offline Offline

Posts: 107



View Profile
« Reply #4 on: February 08, 2011, 09:44:11 PM »

Thankz for the response!

I think its the best to finish the GUI at the very very last of all.
Right now, some naked buttons and lazy listboxes will do the job as well Wink

I was wondering how difficult it is to change existing files, cause you need to rewrite them from the beginning.
But the power of python is with me!!

To buy units works, there is just the "Goldcoin" problem.
With some tricks, its realy easy, to cheat on the player. Because the data is visible just of a simple "flag"

For now, i'm happy that all things going well!

cya



Logged

"I live to cheat death."
Commander Morgan Bernhardt

"We are the most civilised race in the world. We have more exquisite ways to kill than any other."
Lord Vraneth the Cruel, master of Har Ganeth
Malus
Campaign Creator
*
Offline Offline

Posts: 107



View Profile
« Reply #5 on: February 09, 2011, 12:50:30 AM »

Yeah thats so much fun with playin!!  Grin

cant imagine how this stuff works, but it does! Awesome!
Poor enemys, they are too less!!

I hope i can give a good lookable version at weekend 4 testing who is interested.
But right now the code looks realy stupid (what a shame), sounds stupid (shame too) and eyes of every programer would bleed like hell  Shocked

Logged

"I live to cheat death."
Commander Morgan Bernhardt

"We are the most civilised race in the world. We have more exquisite ways to kill than any other."
Lord Vraneth the Cruel, master of Har Ganeth
olly
Global Spokesperson
*
Offline Offline

Posts: 2268



View Profile
« Reply #6 on: February 10, 2011, 01:32:12 AM »

Good learning though and helps having Dark Omen as a focus to learn even more. Keep up the good work and I'm sure we'd all love to help Beta test.

Smiley

 
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
lordbraprus
Crossbowman
*
Offline Offline

Posts: 713


wiiiii


View Profile WWW
« Reply #7 on: February 10, 2011, 01:43:37 AM »

hiii! malus:) welcome back, from the darth vader side :| Tongue i hope you get all the assistance you need Smiley
Logged

ito maquiesves
Flak
Super Moderator
*
Offline Offline

Posts: 1463


Jake Nielsen


View Profile WWW
« Reply #8 on: February 11, 2011, 10:36:18 AM »

I am in the middle of an Orc Campaign so any time you would like me to test it i am on the edge of my seat to try Smiley
Logged

"There is only one way out of hell, thats through it" -- General Patton

"Just because a mage wears the Black Robes, does not make him evil." -- Raislin Magere

"Evil Turns upon it self" -- Paladine
Mikademus
Developer
*
Offline Offline

Posts: 546



View Profile
« Reply #9 on: February 12, 2011, 02:39:02 PM »

Malus, the calculations for the unit gold costs should be in the ARM editor, so Ghabry probably knows it. Didn't we post that on the .arm page of the wiki?
Logged


Ghabry
Developer
*
Offline Offline

Posts: 1020



View Profile
« Reply #10 on: February 12, 2011, 04:54:18 PM »

The formulas can be found here (for troop replacement and for buying armor)

The real formula in engrel is btw more difficult, I was so kind to optimize their code Wink.
Logged

Sark
Troll
*
Offline Offline

Posts: 4



View Profile
« Reply #11 on: November 26, 2013, 05:01:19 PM »

The first step was just free mission selection, thats done and works fine (for the first ~ 10 missions, missing the data for the others but thats no problem).

Sorry for the thread necro but does anyone know if Malus finished this tool? He hasn't been active on the forum since 2011. Did he ever release it? If so, does anyone still have it?
Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2268



View Profile
« Reply #12 on: November 26, 2013, 05:41:26 PM »

I don't have it, so probably wasn't released unfortunately, will add it to our wish list.

Smiley
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Ghabry
Developer
*
Offline Offline

Posts: 1020



View Profile
« Reply #13 on: November 27, 2013, 01:05:05 AM »

I'm 100% sure that this tool was never released

Is there any specific feature you are interested in? Maybe a different tool can help.
Logged

Pages: [1]   Go Up
Print
Jump to: