aliens

Author Topic: More than 4 ammo types in UFOPedia?  (Read 3505 times)

Offline Hobbes

  • Commander
  • *****
  • Posts: 2101
  • Infiltration subroutine in progress
    • View Profile
More than 4 ammo types in UFOPedia?
« on: September 07, 2015, 03:00:34 pm »
I seem to recall that someone had an idea to display more than 3 ammo types for weapons by using a 2nd UFOPedia entry but I can't recall or find the thread where this was posted. Anyone knows how to do it?

Offline hellrazor

  • Commander
  • *****
  • Posts: 2011
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: More than 4 ammo types in UFOPedia?
« Reply #1 on: September 07, 2015, 03:11:50 pm »
Make a seperate entry with the ammo type and put it right behind the weapon in the ufopaedia.
That should be the way to go.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: More than 4 ammo types in UFOPedia?
« Reply #2 on: September 07, 2015, 03:50:38 pm »
I've done it the way one shouldn't go, by contrast :) - by creating a fake weapon - basically a clone of the proper weapon, but it uses just the 3 extra ammo types (so the 3 previous ones aren't displayed), it's named eg. "Weapon (continued)" and is blocked from appearing as an item (cannot buy, cannot produce, recovery: false so it won't appear in the Quick Battle).

Offline Hobbes

  • Commander
  • *****
  • Posts: 2101
  • Infiltration subroutine in progress
    • View Profile
Re: More than 4 ammo types in UFOPedia?
« Reply #3 on: September 07, 2015, 05:03:30 pm »
OK, thanks both for the answers. :)

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: More than 4 ammo types in UFOPedia?
« Reply #4 on: September 10, 2015, 10:37:13 pm »
The question I have is if ammo types can change the auto fire of a weapon

Offline Hobbes

  • Commander
  • *****
  • Posts: 2101
  • Infiltration subroutine in progress
    • View Profile
Re: More than 4 ammo types in UFOPedia?
« Reply #5 on: September 11, 2015, 01:45:54 am »
The question I have is if ammo types can change the auto fire of a weapon

I don't think it's possible since shot types are defined on the weapon entry, not the ammo entry. But the only way to be sure is to try and see what happens.