Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding

Reply
 
Thread Tools Display Modes
Old 08-23-2007, 12:15 AM   #1
jhyap
 
 
 
Guest
Posts: n/a
Model doesn't show up

Hi all,

I followed the wiki SDK programming docs and created model entity code and added in the server project as described by the doc. But the model doesn't appear in the testmap that I load when creating a server.

Do I have to edit the map file and embed the model in the map for it to be visible?

Thank you.
 
Reply With Quote
Old 08-23-2007, 12:53 AM   #2
Marine
 
Join Date: Sep 2006
Reputation: 9
Posts: 2,691
I dont get what you mean. Do you mean that you created an entity in code and it doesnt show up in the map? Have you added that entity to that map?
Marine is offline   Reply With Quote
Old 08-23-2007, 01:23 AM   #3
jhyap
 
 
 
Guest
Posts: n/a
Quote:
Originally Posted by Marineio View Post
Do you mean that you created an entity in code and it doesnt show up in the map? Have you added that entity to that map?
Yes I have created an entity in code. But it doesn't show up in the map I load.

I haven't added that entity to the loaded map though. So do I need to add it to the map?
  Reply With Quote
Old 08-23-2007, 03:17 AM   #4
enablerbr
 
Join Date: Sep 2003
Reputation: 5
Posts: 851
did you add the entity info into a fgb and add that fgb to hammer? so that hammer can place that entity into the maps.
enablerbr is offline   Reply With Quote
Old 08-23-2007, 04:18 AM   #5
jhyap
 
 
 
Guest
Posts: n/a
Yes I created the fgb file and added it to the hammer. But how do I associate the map that I load with the model entity I created. The map I created has a .bsp extension and I cannot open it in the hammer. Please help, I am stuck.
  Reply With Quote
Old 08-23-2007, 07:04 AM   #6
jhyap
 
 
 
Guest
Posts: n/a
It's working now. I used a different editable map and added the entity there.

Thanks
  Reply With Quote
Old 08-23-2007, 07:39 AM   #7
Marine
 
Join Date: Sep 2006
Reputation: 9
Posts: 2,691
jhyap, you can actually load entities into maps, say, if you wanted a zombie to spawn by the info_player_counterterrorist in css maps, make a info_player_counterterrorist entity, remove it from the point based entity list and then the zombie will spawn at that spawn point.
Marine is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 12:32 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.