It is probably much easier to modify an existing engine rather than starting from scratch. Bioware started from scratch for many things when they switched engines, and it was a lot of work for them and caused lots of problems.