Author Topic: Getting in over my head with the source code  (Read 1226 times)

Offline PIGEXPERT

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Getting in over my head with the source code
« on: September 23, 2023, 02:42:58 pm »
Okay, so I wanna try having a look at the openxcom source code to see if I can frankenstein 3x3 size units (or maybe even other sizes) into the game.

I guess I have two questions:
1. How hard is tinkering with the source code? (assume I have the necessary base knowledge)
2. Is 3x3 units just a dream I should give up on? I don't know if anyone has ever really tried before, but from what I've seen the game doesn't like it one bit.

Any form of help is appreciated :)

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3349
    • View Profile
Re: Getting in over my head with the source code
« Reply #1 on: September 23, 2023, 03:34:10 pm »
adding 3x3 effective would be rewrite of whole battlespace code, every aspect will be touch like:
hit logic, path finding, unit moving, unit draw, craft cargo, unit placement on map.
2x2 code is already ugly in some places and 3x3 will be even more.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: Getting in over my head with the source code
« Reply #2 on: September 23, 2023, 04:42:07 pm »
1. on scale from 1 (trivial) to 10 (rocket science): 3
2. on scale from 1 (no) to 10 (yes): 9

Offline PIGEXPERT

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: Getting in over my head with the source code
« Reply #3 on: September 25, 2023, 12:35:48 am »
Alright, guess i'll just have a look and maybe tinker with the game a bit.
I should probably try to do something else before going for 3x3 units if its as difficult and janky as you say.

thanks, ill keep you posted if I somehow do find a way.