View Issue Details

IDProjectCategoryView StatusLast Update
0004142DarkRadiantModelspublic20.04.2016 15:53
Reportergrayman Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
Product Version2.0.2 
Target Version2.0.3Fixed in Version2.0.3 
Summary0004142: Changing model on an entity with a skin reverts skin to default
DescriptionWhen I have a model that's been skinned to something other than default (say an awning), when I change the model to something else (say a wider awning), DR doesn't apply the skin spawnarg. It reverts to the default skin of the new model.

DR should only revert to the default skin when the previously defined skin doesn't exist for the new model.
TagsNo tags attached.
Attached Files
dr4142.map (7,440 bytes)   
Version 2
// entity 0
{
"classname" "worldspawn"
"editor_drLastCameraPos" "91.7451 -467.223 123.965"
"editor_drLastCameraAngle" "-4.2 69 0"
"editor_drMapPos1" "145.117 609.786 279.045"
"editor_drMapAngle1" "-48 150.8 0"
"editor_drMapPos2" "414.798 255.441 -264.933"
"editor_drMapAngle2" "2.10002 84.5976 0"
"editor_drMapPos3" "-749.97 -1606.21 -470.066"
"editor_drMapAngle3" "-3.29998 6.59757 0"
"editor_drMapPos4" "1014.05 -953.679 -556.857"
"editor_drMapAngle4" "-10.2 355.498 0"
"editor_drMapPos5" "987.599 3513.79 -319.877"
"editor_drMapAngle5" "-61.1999 172.198 0"
"editor_drMapPos6" "-1032.5 -2840 739.5"
"editor_drMapAngle6" "-77.0999 175.798 0"
"editor_drMapPos7" "952.822 285.005 1366.04"
"editor_drMapAngle7" "-74.8 149.373 0"
"editor_drMapPos8" "976 424 320"
"editor_drMapAngle8" "-3 15.3467 0"
"editor_drMapPos9" "409.146 547.464 392.83"
"editor_drMapAngle9" "-16.8 284.947 0"
// primitive 0
{
brushDef3
{
( 0 0 1 -264 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 1 0 -128 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0.01041666697710753 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 1 0 0 -832 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0.01041666697710753 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 -1 0 -512 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0.01041666697710753 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( -1 0 0 0 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0.01041666697710753 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 0 -1 256 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
}
}
// primitive 1
{
brushDef3
{
( 0 0 1 -256 ) ( ( 0.002604166744276881 0 127.9791641235352 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 1 0 -136 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 1 0 0 -832 ) ( ( 0.002604166744276881 0 127.9791641235352 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 0 -1 0 ) ( ( 0.002604166744276881 0 127.9791641235352 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( -1 0 0 0 ) ( ( 0.002604166744276881 0 0.02083333395421505 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 -1 0 128 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
}
}
// primitive 2
{
brushDef3
{
( 0 0 1 -256 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 255.9895782470703 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 1 0 -128 ) ( ( 0.002604166744276881 0 0.02083333395421505 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 1 0 0 -840 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 0 -1 0 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0.01041666697710753 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 -1 0 -512 ) ( ( 0.002604166744276881 0 127.9791641235352 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( -1 0 0 832 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
}
}
// primitive 3
{
brushDef3
{
( 0 1 0 -128 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 255.9895782470703 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 1 0 0 -832 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 255.9895782470703 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 0 -1 -8 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 -1 0 -512 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 255.9895782470703 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( -1 0 0 0 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 255.9895782470703 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 0 1 0 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
}
}
// primitive 4
{
brushDef3
{
( 0 0 1 -256 ) ( ( 0.002604166744276881 0 0.02083333395421505 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 1 0 0 -832 ) ( ( 0.002604166744276881 0 0.02083333395421505 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 0 -1 0 ) ( ( 0.002604166744276881 0 0.02083333395421505 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 -1 0 -520 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( -1 0 0 0 ) ( ( 0.002604166744276881 0 127.9791641235352 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 1 0 512 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
}
}
// primitive 5
{
brushDef3
{
( 0 0 1 -256 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0.01041666697710753 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 1 0 -128 ) ( ( 0.002604166744276881 0 127.9791641235352 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 0 -1 0 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 255.9895782470703 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 0 -1 0 -512 ) ( ( 0.002604166744276881 0 0.02083333395421505 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( -1 0 0 -8 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
( 1 0 0 0 ) ( ( 0.002604166744276881 0 0 ) ( 0 0.001302083372138441 0 ) ) "textures/darkmod/carpet/rugs/ornate_floral_red" 0 0 0
}
}
}
// entity 1
{
"classname" "info_player_start"
"name" "info_player_start_1"
"origin" "320 -192 0"
"angle" "90"
}
// entity 2
{
"classname" "func_static"
"name" "func_static_1"
"origin" "128 0 9.47503"
"model" "models/darkmod/architecture/modules/exteriors/ext_timber01/ext_timber01_wall01.lwo"
"skin" "timber01_boards"
}
// entity 3
{
"classname" "func_static"
"name" "func_static_2"
"origin" "256 0 9.475"
"model" "models/darkmod/architecture/modules/exteriors/ext_timber01/ext_timber01_wall01.lwo"
"skin" "timber01_boards"
}
// entity 4
{
"classname" "func_static"
"name" "func_static_3"
"origin" "384 0 9.475"
"model" "models/darkmod/architecture/modules/exteriors/ext_timber01/ext_timber01_wall01.lwo"
"skin" "timber01_boards"
}
// entity 5
{
"classname" "func_static"
"name" "func_static_4"
"origin" "512 0 9.475"
"model" "models/darkmod/architecture/modules/exteriors/ext_timber01/ext_timber01_wall01.lwo"
"skin" "timber01_boards"
}
// entity 6
{
"classname" "light"
"name" "light_1"
"origin" "384 -256 128"
"light_center" "0 0 0"
"light_radius" "576 448 320"
}
dr4142.map (7,440 bytes)   

Activities

greebo

greebo

03.07.2015 07:54

administrator   ~0007612

Got any example model/skin combinations?
grayman

grayman

03.07.2015 13:29

viewer   ~0007613

I've attached a test map. (It relies on SVN, not 2.03.)

Springheel is creating new architectural modules that allow mappers to build more quickly. The test map was created using one of the new wall modules, changing its skin to 'timber01_boards', then copy/pasting it three times.

Now I want to change one of the modules to a door. So I select the module, select its model, and ask to change it. My choices pop up, and I select one of the door modules. DR switches the wall model to the door model (good), but the camera view shows the model's default skin instead of using the skin spawnarg 'timber01_boards' (bad)

I'd like DR to honor the skin spawnarg in the camera view. Otherwise I have to restart DR or leave the map and come back or delete the skin spawnarg and reset it, each of which wastes time.
greebo

greebo

07.07.2015 07:04

administrator   ~0007620

Fixed in 9c0b4576dac819b123a207968a4f6c733203d5cd
grayman

grayman

07.07.2015 15:12

viewer   ~0007631

Thanks!

Issue History

Date Modified Username Field Change
23.04.2015 12:37 grayman New Issue
03.07.2015 07:54 greebo Note Added: 0007612
03.07.2015 07:55 greebo Status new => feedback
03.07.2015 13:26 grayman File Added: dr4142.map
03.07.2015 13:29 grayman Note Added: 0007613
03.07.2015 13:29 grayman Status feedback => new
07.07.2015 07:02 greebo Assigned To => greebo
07.07.2015 07:02 greebo Status new => assigned
07.07.2015 07:02 greebo Target Version => 2.0.3
07.07.2015 07:04 greebo Note Added: 0007620
07.07.2015 07:04 greebo Status assigned => resolved
07.07.2015 07:04 greebo Fixed in Version => 2.0.3
07.07.2015 07:04 greebo Resolution open => fixed
07.07.2015 15:12 grayman Note Added: 0007631
20.04.2016 15:53 greebo Status resolved => closed