A family of Microsoft relational database management systems designed for ease of use.
This is easy. I have set this up many times on real projects like yours, and also answered the same question in threads in this community and others.
I am just saying that a good search here or at https://social.msdn.microsoft.com/Forums/en-US/home?forum=projectprofessional2010general
will find them.
Make a task. Assuming that the task can be done anytime, give it the 24 hours calendar. Give it a duration of say 5 x 24 = 120 hours. Use hours units instead of days to remove the inherent ambiguity in days as duration units. Use file, options, general to set the date/time format to show time as well as date.
Make a resource called "Day Shift Guy" and another "Night Shift Guy". Make two calendars called "Day Shift Calendar" and another called "Night Shift Calendar".
Use work weeks to set up the applicable working hours for each of these calendars and assign each calendar to the applicable resource.
Assign both resources to the task.
Now check the task usage view and adjust the timescale resolution to see hours. Yours will have to be set to 30 minute resolution. You will see that each resource is only assigned during their respective shifts.
Any help?