creating a fork of bitcoin, how to modify core to create my own network
Regtest should really suffice for your basic testing. If you really want to modify chainparams, you would first start with the DNS seed data in the file; these are hard coded.