project-navigation
Personal tools

Author Topic: I want more bases and installations, but how to do it?  (Read 13122 times)

Offline Thrashard96

  • Squad Leader
  • ****
  • Posts: 260
    • View Profile
I want more bases and installations, but how to do it?
« on: July 18, 2010, 03:12:04 pm »
Ok, so let's say i have reached the limit of employees, bases and installations (i have, actually), but i want more! So i plan to raise that limit to let's say X bases, Y installations and Z employees (mostly researchers). So how can i mess with those numbers?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #1 on: July 18, 2010, 08:57:29 pm »
Ok, so let's say i have reached the limit of employees, bases and installations (i have, actually), but i want more! So i plan to raise that limit to let's say X bases, Y installations and Z employees (mostly researchers). So how can i mess with those numbers?

8 bases 16 installations, and so? Only by changing the code at several places.

-geever

Offline Thrashard96

  • Squad Leader
  • ****
  • Posts: 260
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #2 on: July 19, 2010, 09:06:16 am »
but where? the employees are easier to mod, but the bases - not so much.

Offline Thrashard96

  • Squad Leader
  • ****
  • Posts: 260
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #3 on: July 19, 2010, 06:26:45 pm »
Bump.
« Last Edit: July 25, 2010, 06:37:18 pm by PAUL1UZ5 »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #4 on: July 19, 2010, 08:54:19 pm »

Offline Thrashard96

  • Squad Leader
  • ****
  • Posts: 260
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #5 on: July 19, 2010, 09:10:33 pm »
I give up. I can't find anything in those files except weapons (modded assault rifle, rpg ammo mod not available), building cost and so. Please just tell me. I can't take anymore searching.

Offline Lew Yard

  • Squad Leader
  • ****
  • Posts: 111
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #6 on: July 20, 2010, 08:58:15 am »
*Source code*, not data files.  For instance, there's a MAX_BASES constant that's set to 8.   You'd have to change the source and recompile.

And you'd also have to make sure that the UI matched.  On screens with a 4x2 base-selection widget, for instance, you'd probably want to add scrollbars or pagination or the like if the code didn't automatically do that for you.

And I'm not sure why you'd bother (with the bases, anyway), because it seems unlikely that you could actually afford to have more than eight unless you have so few buildings and employees in them that you could actually make do with eight.

Offline Thrashard96

  • Squad Leader
  • ****
  • Posts: 260
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #7 on: July 20, 2010, 09:03:07 am »
I'm lame with source code, maybe you could help me using teamviewer? I would PM you the password to my pc. Or remote assistance if possible... Or simply post to youtube if you can.
« Last Edit: July 20, 2010, 02:29:50 pm by PAUL1UZ5 »

Offline Thrashard96

  • Squad Leader
  • ****
  • Posts: 260
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #8 on: July 20, 2010, 06:48:15 pm »
Please tell me, what is the alternative way to modify max base count on stable version.

I don't compile, i play.

Offline Lew Yard

  • Squad Leader
  • ****
  • Posts: 111
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #9 on: July 20, 2010, 09:39:53 pm »
Complete answer:  You don't.

Offline Thrashard96

  • Squad Leader
  • ****
  • Posts: 260
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #10 on: July 21, 2010, 09:22:53 am »
Complete answer:  You don't.

How to compile anyways?

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: I want more bases and installations, but how to do it?
« Reply #11 on: July 21, 2010, 09:40:58 am »
Read wiki, there is all information about game.

Offline Thrashard96

  • Squad Leader
  • ****
  • Posts: 260
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #12 on: July 25, 2010, 06:36:51 pm »
What file holds base/installation data?

Found it: it was under ..\src\client\campaign and the file is bases.h or something like that.
« Last Edit: July 25, 2010, 06:57:27 pm by PAUL1UZ5 »

Offline Thrashard96

  • Squad Leader
  • ****
  • Posts: 260
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #13 on: July 25, 2010, 08:48:08 pm »
How to compile stable release?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: I want more bases and installations, but how to do it?
« Reply #14 on: July 25, 2010, 08:49:01 pm »
How to compile stable release?

RTFM.

-geever