Advanced Modding Question
http://www.moddb.com/mods/portal-map-editor
Also, if you are intending to make the entire map (walls and everything) dynamic, it requires everything to be entities and has to be in a very large skybox/black space to fit everything the player wants to create, which can cause some major lag.
But, if you are talking about having the player spawn objects to complete tasks in an existing space, then it can be accomplished with point_template.
If you did this on the Doom 3 engine, you would achieve much better results because I know for a fact that Doom 3 uses dynamic lights almost everywhere. It was designed for it. Source on the other hand...I guess doing things Garry's mod style would be okay but you would have to spend a lot of time making sure everyone could play it without having to lower their settings.
Whysopro? wrote:
I guess if you setup a button system or somthing...that would concommand the command to spawn a box, for example. You could do it. But not like walls or floors. Correct me if I am wrong but you can't edit the world during gameplay.
Depends on your definition of world; you can't delete or modify brushes that aren't tied to anything during runtime. However, as stated above, you can create func_brushes by spawning them via env_entitymakers, etc.
Edit: If you made a simple box map. And then created a grid of env_entity markers. You could use any of them to spawn objects. That would be super basic theroy of what you want to do. mr. sandwich. =)
On second thought, and after a bit of discussion, it seems that the answer is Yes. You would be able to create this. How flexible it will be depends on the work you put into it.
Another problem is parts of the map you CAN't move. For example, you can't move world brushes, and a giant skybox is not a smart decision. Another thing is entities that cannot be moved, like important function entities such as info_player_start.
you COULD make prebuilt-areas, with lighting prebaked, with each area connected to one point_template then allow the player to move/spawn these prebuilt sections. This would fix the lighting problem (to a degree) but you would still have other things broken, screwed up or simply nonfunctional.
Overall, while creative, it is for the best you don't do this. Learn from Po-Edit's mistake; a mod to map for portal, simply fails.