Page 1 of 1

OBBLM Question

Posted: Mon Aug 03, 2015 6:22 pm
by BloodBowlBlog
How can I add a few new Star Players that were created/developed specifically for our league?

Re: OBBLM Question

Posted: Mon Aug 03, 2015 6:47 pm
by BloodBowlBlog
Nevermind, I figured it out!

Re: OBBLM Question

Posted: Mon Aug 03, 2015 7:02 pm
by Darkson
Share for anyone else wanting to know?

Re: OBBLM Question

Posted: Tue Aug 18, 2015 3:27 pm
by elde
Star Players are located in the game data files, in

/lib/game_data.php

They're in the $stars -array, and you can copy-paste your own at the end of the list. Each is listed with their unique id (might need to check the other datafiles too to get this right), ma/st/ag/av, skills as another array (skill id's are listed in the same file) and the array containing all the races that can hire that particular star player.

After modifying game_data.php, upload it to your site, log in as an admin, and in the core panel synchronize database with game files. You're all set!

An example of the star player array:

Code: Select all

   'Barik Farblast' => array (
       'id'            => -5,
       'ma'            => 6,
       'st'            => 3,
       'ag'            => 3,
       'av'            => 8,
       'def'    => array (99, 42, 45, 105, 58, 12, 59),
       'cost'          => 60000,
       'icon'          => 'star',
       'races'         => array(4),
   ),