James Oliver Seevakumaran, 30, a University of Central Florida (UCF) had planned an attack on campus but committed suicide Monday at the Tower 1 dormitory before carrying it out.

The police found four improvised makeshift explosive devices in a back pack, two guns including an American-Tech tactical .22 caliber rifle and a .45-caliber handgun and hundreds of rounds of ammunition in the dorm room where he was found dead

About 500 students were evacuated immediately from the building and morning classes were cancelled.

University police were called to the dorm around 12:20 a.m. after a fire alarm went off. At the same time, they received a 911 services call about a man with a gun.

University of Central Florida Police Chief Richard Beary, told CBS that the incident occurred early Monday when Seevakumaran pulled a fire alarm in the dorm to get other students out in the open for an attack.

He then went to his apartment to pick up the weapons and there he encountered one of his three roommates. When Seevakumaran pointed a gun at him, the roommate ran quickly into the bathroom locked himself in and made the emergency call.

When the officers arrived at the building, they found Seevakumaran dead from a self-inflicted gunshot to the head.

"His time line got off," university police Chief Richard Beary, said. "We think the rapid response of law enforcement may have changed his ability to think quickly on his feet."

The police also found notes that featured details about executing the plan of attacks.

UCF spokesman Grant Heston told the newspaper that the university was in the process of removing Seevakumaran from the dorm as he had not enrolled in any of the courses in the spring semester, which began on January 7.

Seevakumaran, who was a business major from fall 2010 to fall 2012, planned the attack as early as February when weapons and ammunition purchases were made.

His roommates told the newspaper that he was anti-social but had never expressed any violent tendencies.

The university has 59,000 students on its rolls and prohibits possession of firearms on campus.

The university officials told the newspaper that Seevakumaran had never been seen by any university counselors and had faced no disciplinary problems with other students.

Campus life was restored to normal in the afternoon, once the explosives were taken away from the dorm.