Author Topic: Ruleset Reference  (Read 2912 times)

Offline coolguy

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Ruleset Reference
« on: June 03, 2017, 03:00:56 pm »
Hi, I've been trying to find a complete ruleset reference and found https://www.ufopaedia.org/index.php/Ruleset_Reference_(OpenXcom)
But it seems to be really outdated as OXC 1.0 was released, like, four years ago. Then I was pointed at https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)

And I got a couple of questions about it:

1. Some categories are blank. https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)#Interfaces
Is it worth to use this reference or it's better to look through default game ruleset or elsewhere?
2. Are some values actually missing? Battle for Mars for example has oceanPalette, countryColor, cityColor, baseColor and lineColor values in globe section which aren't listed anywhere on the page.
3. Is there a reference for extended OXC?
4. How does game determine whether a globe polygon is ocean?
5. How can I specify what sprites a soldier type uses?
6. How can I specify that a base facility is a radar (not a hyperwave decoder)?
7. Is there a graphical tool designed for ruleset editing?

Thanks for attention and patience.
By the way, I couldn't find noob questions general thread, is there actually one? :p

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8627
    • View Profile
Re: Ruleset Reference
« Reply #1 on: June 03, 2017, 03:23:22 pm »
1. use both
2. yes
3a. for OXCE everything is in the text file inside the distribution (OXCE_Readme.txt)
3b. for OXCE+ everything is in this thread: https://openxcom.org/forum/index.php/topic,4187.0.html
4. if there is a polygon defined, it's land... otherwise it's water: https://github.com/SupSuper/OpenXcom/blob/master/src/Geoscape/Globe.cpp#L653
5. they depend on what armor the soldier is wearing, for example:
Code: [Select]
armors:
  - type: NINJA_ARMOR_1
    spriteSheet: NIN_1.PCK
    spriteInv: NinjaGalInventoryImage
6. hyper: false/true
Code: [Select]
facilities:
  - type: STR_HYPER_WAVE_DECODER
    hyper: true
    radarRange: 2759
    radarChance: 100
7. no

All of us are noobs here, all threads are for noobs.
« Last Edit: June 03, 2017, 03:25:29 pm by Meridian »

Offline coolguy

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Ruleset Reference
« Reply #2 on: June 03, 2017, 04:15:06 pm »
Thanks a lot for quick reply!

4. if there is a polygon defined, it's land... otherwise it's water
There's no polygon section in /standard/xcom1/globe.rul at all, however I see now that every texture on the globe has a battlescape terrain or even several attached to it unless it's ocean. Does it mean if there's no terrain specified it'll prevent missions from occurring?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8627
    • View Profile
Re: Ruleset Reference
« Reply #3 on: June 03, 2017, 04:27:27 pm »
There's no polygon section in /standard/xcom1/globe.rul at all...

All polygons in vanilla are defined indirectly (read from original WORLD.DAT file): https://www.ufopaedia.org/index.php/WORLD.DAT

Code: [Select]
globe:
  data: GEODATA/WORLD.DAT