Error NVMOD

#1
When I use the NV Menu to add items models or anything I get the following message

unknown cmd additem.

Can anyone help? I have tried fresh install of sof2 and fresh nvmod server etc. Is there something I'm missing?
 
#3
Thanks,

Just read through all the tutorials here. I've managed to place boosters, teles, models etc on the map. I'm working with shop8

I have another question.

Using the trigger_hurt is there a way to turn this on and off when a certain amount of players are in the server. IE when more than 6 players it turns off the trigger_hurt when under 6 players it enables. I've seen a code for this in the mp_kam2.ent to use it on models but I can't get it to work with trigger hurt. At the moment I am just tempting with the trigger_hurt that is the area when you jump off over the rails and fall to the boundaries.

}
{
"classname" "nolowerfloor"
"origin" "0 0 -999"
"auto" "yes"
"wait" "10"
"team" "all"
"min_players" "6"
}
{
"model" "*12"
"classname" "trigger_hurt"
"spawnflags" "12"
"dmg" "900"
"mins" "-17929 1527 -2529"
"maxs" "-4087 11273 -2391"
"target" "nolowerfloor"
}
{

I've tried this it makes sense to me but it doesn't work am I missing something or would the only work around to put giant models in place?
 

Janno

3D# General
Staff member
#4
The code you added is for nolower, you can use it to trigger some areas of the map inaccessible / deadly if a certain amount of people go there. Afaik, instead of nolowerfloor, use target nolower (nomiddle, noroof), as I recall, those are predefined targets which also can be toggled with !nl/!nw/!nm.

(I might be wrong on it)

Example is from my italy modification:

{
"classname" "nowhole"
"auto" "yes"
"wait" "5"
"team" "all"
"min_players" "8"
}
{
"classname" "misc_bsp"
"bspmodel" "instances/Generic/fence01"
"origin" "-1070 700 700"
"angle" "90"
"target" "nowhole"
}


This tells the server to toggle nowhole (off) when it reaches 8 players. In your case, you would have a certain trigger_hurt area, which will be active as long as min_players is not reached. 
 
#5
Use what janno said and you can use all models that are available for the trigger hurt. So if you want a smaller hurt area, use a smaller model for it. Read the second tutorial to learn how the modellist works.
 
#6
Legends!

Thanks for the replies I managed to get it working!

}
{
"classname" "nolower"
"origin" "0 0 -2528"
"auto" "yes"                              //no lower controls
"wait" "10"
"team" "all"
"min_players" "4"
}
{
"model" "*12"
"classname" "trigger_hurt"
"spawnflags" "12"                             // killbox bottom of map *always kills
"dmg" "900"
"mins" "-17929 1527 -2529"
"maxs" "-4087 11273 -2391"
}
{
"model" "*13"
"classname" "trigger_hurt"
"spawnflags" "12"
"dmg" "900"                                             //roofs outside of initial map shop8
"mins" "-13201 6799 -865"
"maxs" "-11695 7473 -767"
"target" "nolower"
}
{
"model" "*14"
"classname" "trigger_hurt"
"spawnflags" "12"
"dmg" "900"                                                 //roofs outside of initial map shop8
"mins" "-10577 5743 -865"
"maxs" "-8687 7457 -831"
"target" "nolower"
}
{
"model" "*15"
"classname" "trigger_hurt"
"spawnflags" "12"
"dmg" "900"                                            //roofs outside of initial map shop8
"mins" "-13201 4159 -865"
"maxs" "-11663 6257 -751"
"target" "nolower"
}
{
"model" "*16"
"classname" "trigger_hurt"
"spawnflags" "12"                                                 //roofs outside of initial map shop8
"dmg" "900"
"mins" "-11665 4687 -1249"
"maxs" "-9071 6257 -1135"
"target" "nolower"
}
{
"model" "*17"
"classname" "trigger_hurt"
"spawnflags" "12"                                                 //roofs outside of initial map shop8
"dmg" "900"
"mins" "-11665 5439 -593"
"maxs" "-10607 6081 -447"
"target" "nolower"
}
{
 
#7
First thing you must to write rc nv_editmap 3

second thing u must to give urself sadmin

third thing dont use map mp_....

use devmap mp .....
 
#9
While we are still rolling. 

I understand the limitations are using the assets found within the map and the listed bsp instances/models.

Is it possible to take one piece of a bsp instance. Say for example kamchatka/tower2.bsp within that object there is a few half size green boxes (of smaller than npc1), gun emplacement and a ladder. Is it possible to take just a green box or ladder and keep it solid and use it as a separate item?
 

I've also tried duplicating say in shop8 in the original ent file a box which isn't harded and is model *37 but this seems not work or cause to server on restart. If duplicating these should I be changing the model number to one available. I am just unsure which line references the image for the model.

}
{
"model" "*37"
"classname" "func_breakable_brush"
"speed" "100.0"
"targetname" "t39"
"health" "10"
"mins" "-11137 7039 -57"
"maxs" "-11103 7073 9"
 
Last edited by a moderator:
#10
Sorry for late response but try it this way:

{"model" "*37""classname" "func_static""Origin" "place you want it to be, example 0 0 0"

}

i heard its possible to use just a piece of the bsp model but i never did that. Maybe someone else can.