[WIP] updating CTS mod - looking for someone to do the dll code [finished]

Started by sulusdacor, October 29, 2016, 07:34:07 AM

Previous topic - Next topic

sulusdacor

hey,
i am currently working on updating the CTS - Complete tech solutions(link to original topic) mod for a15. the xml stuff is working fine as far as i tested. im stuck on the dll files. since i have no real clue what i'm doing in c sharp 99,99% of the time. i was wondering if someone would be so kind to join me in my update quest =)

my current progress: https://www.dropbox.com/s/kzylgp6gp3h8gmz/CTS%20current%20progress.7z?dl=0
(the original mod thread has the source code for the old assemblies. if you wanne use these.)

What i did so far:

As said i got rid off all the xml erros, by updating the files. further i did mostly "cosmetic" stuff for the xml filestructure:
- added CTS_ infront of all xmls names
- added the CTS for all defnames
- moved textures in a own CTS folder
- made adv vitals monitor icon smaller, to not overlap if you have 2 rows of furniture when using mods
- added abstract for adv hospital bed, to have linkable facilities section at the top of the file, added in comment form there currently linkable facility defs for people to enable if they use the other mod.

(Did the CTS to name mostly to better identify the thing the mods add, for potential errors/conflicts with other mods.)

The non-cosmetic changes i did:
- removed the medicine recipe, since this is in the base game currently (currently just "blurred out" in comment section code still in the xml)
- made the advanced medical bed linkable to the vitalsmonitor (seemed logical, sicne it can link to any bed)
- made the medical lab minifiable
- made the medical buildings selectable

Was not planning on overriding the vanilla beds, since i imagined that the adv vitals monitor somewhat needs a special electric connection/interface,which the beds provides. but was just my thought, the upside to this is that the mods stays a bit more compatible to other mods overriding vanilla beds.

Hope i did not the forget aynthing. was messing around with the dll files, but felt like i got nowhere really. so here i am. feel free to join.

thx for reading and taking the time ;)

erdelf

So.. the assembly is updated and works fine now.
If you have any problems or want something new added to the code, just tell.

Edit: forgot to add one line

[attachment deleted by admin due to age]

sulusdacor

wow thanks, will check it out tomorrow, kinda late already for me here. i wrote the original creator a pm, since i saw he was online just today. maybe he replies and can update the old thread if not would make a new one.

sulusdacor

all works fine, just the geothermal shows zero power^^. probaly just some small thing missing in the ticker section.

btw wrote you a pm.

erdelf

here is the updated assembly

[attachment deleted by admin due to age]