Mod Authors - Resource Register

A curated forum for compatible and maintained mods. Users are unable to create new topics in this forum but can reply to existing topics. Please message a moderator to have your mod moved into this forum area.
azimovhaas8
Posts: 3
Joined: Tue Sep 29, 2020 3:11 pm

Re: Mod Authors - Resource Register

Post by azimovhaas8 »

I want to reserve 901 - 921 item template index numbers for my future mods.

User avatar
Hazelnut
Posts: 2503
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Mod Authors - Resource Register

Post by Hazelnut »

haloterm wrote: Thu Oct 01, 2020 8:07 am In my Black Horse Courier quest mod, I add a few new locations. I want to use the following location IDs:

50500 to 50599.

I think we should also register the latitude/longitude coordinates of added locations, to avoid creating overlaps. As of October 8th 2020 I use:

lat 47232, lon 9344
lat 47104, lon 9344
lat 45440, lon 7680

And here the IDs of custom books. I use the following:

155968041
2086854367
966925611
967497446
33756280
1025470710
965999096

Finally, I use one global variable to be able to check in all quests if the player is "reporter" or "not reporter":

50 (= Unused25)

I will keep this post updated if I use anything more.
I don't want to add location coords to the OP but if people document it in the thread that would be okay. I would suggest using the standard map pixel coords rather than world coords though.

Custom book id's are not restricted by any DF constraints, so collisions should be very unlikely, so not going to register those.

Lastly, regarding the global variable you want to use - since you're giving players a book that indicates that they are a reporter you could check the presence of that item maybe?
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

haloterm
Posts: 194
Joined: Sat Feb 16, 2019 5:21 am

Re: Mod Authors - Resource Register

Post by haloterm »

Hazelnut wrote: Thu Oct 08, 2020 3:58 pm since you're giving players a book that indicates that they are a reporter you could check the presence of that item maybe?
No, unfortunately not, see my answer in my other thread for details.


I added latitude/longitude because that's what we have to calculate anyway and I was actually too lazy to calculate it back to X/Y from my .json files...

Post Reply