Talk:Map edit

From Valve Developer Community
Jump to: navigation, search

should wc_update_entity work for func_physbox or weapon_ak47 too?

I placed several boxes and weapons in my map but wc_update doestn update positions in hammer. Leopard84

I don't feel like making changes in the main article without someone else looking at them, but it seems that wc_update_entity doesn't work for anything any more. It doesn't even come up in the list of console commands. There is, however, a command hammer_update_entity which seems to function in the same way that wc_update_entity was supposed to have worked. Is this an Ep2 change to the engine? sagesource

Indeed it is.--Gear 02:09, 5 May 2008 (PDT)
This will work with ragdolls too, right? I hope so, because i want to make a map with a barney ragdoll on a bed, with beer bottles nearby. He's not dead, only drunk. --JeffMOD 14:19, 20 May 2008 (PDT)
You won't be able to position the individual limbs. But there is a "starting pose" keyvalue you can use to kind of get the effect you're after. --TomEdwards 15:01, 20 May 2008 (PDT)
Well, Thanks! I'll fiddle around with that and see if it works. --JeffMOD 16:47, 22 May 2008 (PDT)

I've added several heads-up to the main page on the existence of hammer_update_entity, and created a hammer_update_entity wiki page to note that it seems to have replaced wc_update_entity in Orange Box code. --Sagesource 11:15, 29 Jul 2008 (PDT)

map_edit error

Aborting map_edit
WC/Engine map versions different...
0:Stopped sound physics\metal\metal_box_scrape_rough_loop1.wav
1:Stopped sound physics\body\body_medium_scrape_smooth_loop1.wav
Queued Material System: DISABLED!

In-game, I use map_edit recon_1 and it crashes back to the main menu. Same case when entering it from the main menu. This error appears when I try running map_edit during a playtest from Hammer. The engine is 2009 and the game is Episode 2. I don't understand this error. --Mattshu 00:31, 26 February 2011 (UTC)

Actually, I was using Cordon when I was playtesting, so I'm not sure if map_edit doesn't like cordon, or (in addition, an areaportal was leaking) if the leak caused the error. I'll test both and make note of it on the main page. --Mattshu 01:03, 26 February 2011 (UTC)