Author Topic: help me with keys.  (Read 947 times)

SOZON

  • Member
  • Posts: 14
    • View Profile
help me with keys.
« on: 24 August, 2017, 01:30:35 AM »
I want to implement such a scheme:
//two_1.txt
"map_name"
{
   data   "two_1"
}

"combined_with"
{
   data   "two_2"
}

"nice_name"
{
   data   "first key"
}

"classname"
{
   data   "item_key"
}

"combined_result"
{
   data    "inventoryitems/two_keys.txt"
}

"inventory_picture"
{
   data   "gfx/vgui/items/two_1/640_receptiongkey_slot"
}

"quick_picture"
{
   data   "gfx/vgui/items/two_1/640_receptiongkey_slot"
}

"3dmdl"
{
   data   "models/items/numeral_plate_left.mdl"
}

"check_picture"
{
   data   "gfx/vgui/items/two_1/640_receptiongkey_check"
}

"pickup_sound"
{
   data   "buttons/lighterpickup.wav"
}

"droppable"
{
   data   "0"
}

//two_2
"map_name"
{
   data   "two_2"
}

"combined_with"
{
   data   "two_2"
}

"nice_name"
{
   data   "two key"
}

"classname"
{
   data   "item_key"
}

"combined_result"
{
   data   "inventoryitems/two_keys.txt"
}

"inventory_picture"
{
   data   "gfx/vgui/items/two_2/640_receptionhkey_slot"
}

"quick_picture"
{
   data   "gfx/vgui/items/two_2/640_receptionhkey_slot"
}

"3dmdl"
{
   data   "models/items/numeral_plate_right.mdl"
}

"check_picture"
{
   data   "gfx/vgui/items/two_2/640_receptionhkey_check"
}

"pickup_sound"
{
   data   "buttons/lighterpickup.wav"
}

"droppable"
{
   data   "0"
}




//two_keys
"map_name"
{
   data   "two_keys"
}


"nice_name"
{
   data   "old two key"
}


"classname"
{
   data   "item_key"
}


"inventory_picture"
{
   data   "gfx/vgui/items/two_keys/640_apartmentkey_slot"
}


"quick_picture"
{
   data   "gfx/vgui/items/two_keys/640_apartmentkey_slot"
}


"3dmdl"
{
   data   "models/weapons/glock/glock_taclight.mdl"
}


"check_picture"
{
   data   "gfx/vgui/items/two_keys/640_apartmentkey_check"
}


"pickup_sound"
{
   data   "buttons/button5.wav"
}


"droppable"
{
   data   "1"
}

what is the problem. I have a door on the level. It must be opened with two keys (combined). Here. " And this question: Is it possible to implement this? Tk with 1 key adding (on the test card). Everything worked. When adding one key. But what about the combination of these keys? Is it possible to. On-suti to change a little ttt well and icons to make. For example, do not look take from two plates code. If that I'm Russian. It would be nice if they explained