replacing weapons after certain research - modding

I've been mucking around with entity files for a while now and I've got adding weapons down fine, I also understand to add a weapon that won't unlock and until you've completed research X. But is there any way to write it so a weapon is replaced after something is researched, so it gives the feel of older tech being upgraded with newer tech? This is for my own personal use. Thanks in advance!

7,245 views 0 replies