Author Topic: Increasing the size of the battlefield  (Read 17403 times)

0 Members and 1 Guest are viewing this topic.

Merentha

  • Summer is Gone
  • Administrator
  • *
  • Neocount
    • View Profile
Increasing the size of the battlefield
« on: September 02, 2006, 10:58:39 PM »
Well, I searched, but could not find a way to increase the size of the battlefield.  I know someone posted it, but cannot really remember who (I think it was Thorgrim, and PM'ed him).  Still, if anyone else knows how to increase the size, please, post here.

Colt

  • Knight at Arms
  • *
  • Happy thoughts!
    • View Profile
Re: Increasing the size of the battlefield
« Reply #1 on: September 03, 2006, 12:05:17 AM »
I've been working on that actually. There's screenshots of it in the 1066 screenshots thread. All you need to do is, when you generate the terrian code in edit mode, move the bottom 2 sliders to the right. Of course that only works if you're not randomizing but we're probably going with the less-random battlefields idea from the civil war mod thread.

Merentha

  • Summer is Gone
  • Administrator
  • *
  • Neocount
    • View Profile
Re: Increasing the size of the battlefield
« Reply #2 on: September 03, 2006, 12:06:31 AM »
Yes, but then how do you get the same battlefield size to apply to the upcoming battles?  I want every battle to use the increased size.

Colt

  • Knight at Arms
  • *
  • Happy thoughts!
    • View Profile
Re: Increasing the size of the battlefield
« Reply #3 on: September 03, 2006, 12:08:10 AM »
Bah. Didn't get my edit in fast enough. Anyway, I'll explain it better. Basicly if you want it for every battlefield you'll need to give up on the current randomization system and just create a lot of battlegrounds by your own design and then put a script to randomly select one in the mission template.

Merentha

  • Summer is Gone
  • Administrator
  • *
  • Neocount
    • View Profile
Re: Increasing the size of the battlefield
« Reply #4 on: September 03, 2006, 12:13:19 AM »
Hmm...I guarantee I saw a way to do it...*shrug*  maybe not.   :?

Colt

  • Knight at Arms
  • *
  • Happy thoughts!
    • View Profile
Re: Increasing the size of the battlefield
« Reply #5 on: September 03, 2006, 12:18:45 AM »
Probably. You might be thinking of the civil war mod thread though.

I don't think setting the battlefield size in the terrian code will carry over once the random flag has been placed on the scene but I've never actually tried it so maybe you could give it a go and see if you notice a difference.

Stonewall382

  • Besieger
  • Knight at Arms
  • *
    • View Profile
    • Wickerman Games
  • Faction: Neutral
Re: Increasing the size of the battlefield
« Reply #6 on: September 03, 2006, 05:23:34 AM »
You don't mean fisheye's endless-scene idea-thing, do you?
Iron Man Rules

just carry extra shields

(Special thanks to Stonewall, who demonstrated the feasablity of sieges in Mount&Blade with his wonderful Siege mod :D)
My one claim to fame.

Manitas

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Bandit
Re: Increasing the size of the battlefield
« Reply #7 on: September 03, 2006, 01:15:01 PM »
There apears to be a way to affect random battle terrain size.

In mission_templates you can set size flags which are capped on 1023 like this:

Code: [Select]
"lets_rock",mtf_battle_mode|xsize(1023)|ysize(1023),charge,
    "You lead your men to battle.",
    [

But I was not able to confirm it works.
But you can try.

Manitas

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Bandit
Re: Increasing the size of the battlefield - solution
« Reply #8 on: September 20, 2006, 10:41:27 PM »
Forget the above.

I found out!

There's an entry in module_scenes:
Code: [Select]
("random_scene",sf_generate|sf_randomize|sf_auto_entry_points,"none", "none",
(0,0),(50,50),-0.5,"0x300028000003e8fa0000034e00004b34000059be",
[],[]),

In the hex string. 5 digits starting from 12 should be changed to '691a4' - this apears to be max you can set in in-game terrain editor.

like: 0x30002800000691a40000034e00004b34000059be

Merentha

  • Summer is Gone
  • Administrator
  • *
  • Neocount
    • View Profile
Re: Increasing the size of the battlefield
« Reply #9 on: September 20, 2006, 10:49:22 PM »
So if I replace the module_scenes code with your edited version, the battlefields will be larger?

Ealdormann Hussey

  • Vargo Von Gruitz of Moldavia
  • Sergeant Knight
  • *
  • Bastard child of Wodehouse, Atë and Tartarus.
    • View Profile
    • MB Repository D/L
  • Faction: Neutral
Re: Increasing the size of the battlefield
« Reply #10 on: September 20, 2006, 11:09:04 PM »
You don't mean fisheye's endless-scene idea-thing, do you?

Endless scene idea? What be that?
Quote from: The man who would be king
Not gods, Englishmen, the next best thing.

Manitas

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Bandit
Re: Increasing the size of the battlefield
« Reply #11 on: September 20, 2006, 11:20:00 PM »
So if I replace the module_scenes code with your edited version, the battlefields will be larger?
Exactly

You can also make it smaller if you want so. Just make desired size in terrain editor then replace the 5 digits with those from generated string.

roborob

  • Squire
  • *
  • when did this get here
    • View Profile
    • My L337 photoshop skills!
  • Faction: Neutral
  • MP nick: Roborob or Stelios
  • M&BWB
Re: Increasing the size of the battlefield - solution
« Reply #12 on: September 21, 2006, 12:46:39 AM »
Forget the above.

I found out!

There's an entry in module_scenes:
Code: [Select]
("random_scene",sf_generate|sf_randomize|sf_auto_entry_points,"none", "none",
(0,0),(50,50),-0.5,"0x300028000003e8fa0000034e00004b34000059be",
[],[]),

In the hex string. 5 digits starting from 12 should be changed to '691a4' - this apears to be max you can set in in-game terrain editor.

like: 0x30002800000691a40000034e00004b34000059be





 :shock: :shock: :shock: :shock: :shock:

That's Freaking AWSOME!!!!  I just put that in over the txt files and It works!!!!

The Battle field is HUGE much bigger than some others that i've fought in, every mod should change that!! :o :lol: :shock: :D
Steam Name: Thehunterunseen

Chilly5

  • Master Knight
  • *
  • All your dreams will come true...
    • View Profile
  • Faction: Khergit
Re: Increasing the size of the battlefield
« Reply #13 on: September 21, 2006, 12:49:38 AM »
A glorious accomplishment sure, but I dont think I'll add it to mine, as AOM doesnt really need very large scale battles. But mods like TLD could defineltly use it, so 200 vs 200 battles no longer have orcs falling to their death from starting point.

ChurchOfFonz

  • Knight
  • *
    • View Profile
  • Faction: Neutral
Re: Increasing the size of the battlefield
« Reply #14 on: September 21, 2006, 02:00:52 AM »
Easiest way to make terrain the same and very big,1 get the unofficial editor, 2. edit terrain ingame and copy, 3. paste in the terrain section, Random Scene, of the unnoficial editor and save. Now every battle will be what terrain you edited. Someone correct me if i made a mistake.