View Single Post
commonbullet
Veteran Member
Join Date: Oct 2005
Old 06-30-2006 , 11:31   Re: OL/DOD Import Maps to CS
Reply With Quote #10

Quote:
Originally Posted by pl2003
Great Idea! Could you explain in which way the plugins alters the dod maps making this work? Iam just interested in the technically background.
Thank you.
Well, the idea is very simple in dod case. It’s basically converting “info_player_axis” and “info_player_allies” to cs spawns “info_player_deathmatch”, “info_player_start”.

The "tricky" is that you can’t simply rename entities’ classnames, and all dod specific entities are removed when a dod map is initialized in cs. So I’m using an engine forward function “pfn_keyvalue” to get entities’ key value pairs when the map is being loaded. Then it hooks origin, angles of each spawn point and dispatches specific cs spawn entities as dod ones are read.

Sorry, I’m terrible at explaining. Feel free to PM me.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet