OpenXcom Forum

Modding => Work In Progress => Topic started by: Hobbes on September 07, 2015, 03:00:34 pm

Title: More than 4 ammo types in UFOPedia?
Post by: Hobbes 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?
Title: Re: More than 4 ammo types in UFOPedia?
Post by: hellrazor 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.
Title: Re: More than 4 ammo types in UFOPedia?
Post by: Dioxine 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).
Title: Re: More than 4 ammo types in UFOPedia?
Post by: Hobbes on September 07, 2015, 05:03:30 pm
OK, thanks both for the answers. :)
Title: Re: More than 4 ammo types in UFOPedia?
Post by: doctor medic on September 10, 2015, 10:37:13 pm
The question I have is if ammo types can change the auto fire of a weapon
Title: Re: More than 4 ammo types in UFOPedia?
Post by: Hobbes 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.