Converting weapon_base to cs_base

I would like to know what you have to do to change a normal swep into a cs_base with ironsights. Any help is appreciated.

change the SWEP.Base functions “weapon_base” into weapon_cs_base and add these lines at the end

SWEP.IronSightPos = (use devengers ironsight designer to set it right)
SWEP.IronSight = (same as above)