| Author |
Topic: Help getting SP turret working |
| LawBlur |
General Member Since: Nov 10, 2009 Posts: 2 Last: Nov 11, 2009 [view latest posts] |
|
|
|
Category: CoD4 SP Mapping Posted: Tuesday, Nov. 10, 2009 03:44 pm |
 |
Hey gang,
this is my first post so hopefully I'm not breaking any rules.
I followed the "Placing a usable machinegun" tutorial thinking that if I simply change some values it will work for SP maps as well.
So this is what I have:
I created a misc->turret with the following attributes (entities):
angles: 0 90 0
classname: misc_turret
export: 2
model: weapon_saw_MG_Setup
spawnflags: 0
weaponinfo: saw_bipod_crouch
With that configuration I get the following error:
cannot spawn turret 'saw_bipod_crouch' which has a script, unless one instance placed in map
I tried using other weaponinfos unsuccessfully. Most of the ones I tried told me "the weapClass in weaponinfo for (insert weapon i tried here) needs turret key to have value turret" or something along those lines.
Any ideas on what I am forgetting? |
 |
|
|
| techno2sl |
 |
General Member Since: Aug 5, 2004 Posts: 2977 Last: Oct 13, 2010 [view latest posts] |
|
|
|
|
| LawBlur |
General Member Since: Nov 10, 2009 Posts: 2 Last: Nov 11, 2009 [view latest posts] |
|
|
|
|
| tomv8 |
 |
General Member Since: Oct 5, 2008 Posts: 469 Last: Jul 14, 2010 [view latest posts] |
|
|
|
|
| techno2sl |
 |
General Member Since: Aug 5, 2004 Posts: 2977 Last: Oct 13, 2010 [view latest posts] |
|
|
|
|
| tunini |
General Member Since: Apr 7, 2011 Posts: 23 Last: May 26, 2011 [view latest posts] |
|
|
|
Category: CoD4 SP Mapping Posted: Sunday, May. 8, 2011 06:18 am |
 |
LawBlur writes...Quote: even with the xmodel,weapon_saw_mg_setup inserted into my csv I'm still getting the error.
The error occurs when I try to compile the reflections.
I'm kind of running out of ideas.
I thought maybe it saying "cannot spawn" means I should change its spawnflags from 0 to 1. But it still gives me the same error.
Ok I just discovered that I can run the map just fine. It is only for the compile reflections that the error occurs. I guess I changed something to get it to work in that regard. Do the reflections compile even though I'm getting this error? And is there a way to test if they are compiled?
Thanks for all your help so far
Im getting this problem now...where I can't compile reflections. Everything runs just fine (50 cal spawns, technical driving around) but my world is red and need to compile reflections. Any ideas?
Oh and I also added TomV8 line into my main script.
edited on May. 8, 2011 09:21 am by tunini |
 |
|
|
| voidsource |
General Member Since: May 5, 2007 Posts: 1506 Last: Apr 21, 2013 [view latest posts] |
|
|
|
|
| tunini |
General Member Since: Apr 7, 2011 Posts: 23 Last: May 26, 2011 [view latest posts] |
|
|
|
Category: CoD4 SP Mapping Posted: Sunday, May. 8, 2011 03:57 pm |
 |
voidsource writes...Quote: did you put a node to target the saw? usually u need that.
What do you mean? A path node? In my case, a path node targetting the 50 cal ? |
 |
|
|
| tunini |
General Member Since: Apr 7, 2011 Posts: 23 Last: May 26, 2011 [view latest posts] |
|
|
|
Category: CoD4 SP Mapping Posted: Sunday, May. 8, 2011 05:44 pm |
 |
tunini writes...Quote: voidsource writes...Quote: did you put a node to target the saw? usually u need that.
What do you mean? A path node? In my case, a path node targetting the 50 cal ?
No luck here. |
 |
|
|
| 9837265498 |
 |
General Member Since: Nov 6, 2009 Posts: 193 Last: Jan 23, 2012 [view latest posts] |
|
|
|
|
Comments: 0
LoadoutGun Crafting to the Max.
edited on Sep. 25, 2012 06:57 pm by Morp...
|
|