- cunheadmedic
- Posts : 2
Reputation : 0
Join date : 2020-03-08
Object TAGS
Sun Mar 08, 2020 5:21 am
I'm wondering how they work. Do you guys have a list of them? Im making another style of an audiometer and i put in:
<Tag>audiometer</Tag>
<Tag>equipment</Tag>
<Tag>ui_equipment</Tag>
It appears in-game but it won't work as the original one. i.e. not counted as an audiometer in room requirement / Doctor won't use it.
How can I properly use it with vanilla scripting functions?
Can I clone the files of the in-game audiometer cuz I only want to change the art of it?
Thanks guys!
<Tag>audiometer</Tag>
<Tag>equipment</Tag>
<Tag>ui_equipment</Tag>
It appears in-game but it won't work as the original one. i.e. not counted as an audiometer in room requirement / Doctor won't use it.
How can I properly use it with vanilla scripting functions?
Can I clone the files of the in-game audiometer cuz I only want to change the art of it?
Thanks guys!
- sleepy068fellow
- Posts : 85
Reputation : 24
Join date : 2019-11-28
Age : 31
Location : Australia
Re: Object TAGS
Mon Mar 09, 2020 12:52 pm
Hi,
You'll need these exact tags on the object you wish to use instead:
<Tags>
<Tag>ui_equipment</Tag>
<Tag>ui_audiometer</Tag>
<Tag>audiometer</Tag>
</Tags>
The ui in front of audiometer is important as that is what links to the RoomTypes.xml code as below:
This should allow either the stock or your version to work. Let me know if this doesn't work or you have any problems.
You'll need these exact tags on the object you wish to use instead:
<Tags>
<Tag>ui_equipment</Tag>
<Tag>ui_audiometer</Tag>
<Tag>audiometer</Tag>
</Tags>
The ui in front of audiometer is important as that is what links to the RoomTypes.xml code as below:
- Code:
<GameDBRoomType ID="ROOM_TYPE_DOCTORS_OFFICE">
<AbbreviationLocID>ROOM_TYPE_DOCTORS_OFFICE_DESCRIPTION</AbbreviationLocID>
<TextureID>384</TextureID>
<IconIndex>800</IconIndex>
<AccessRights>PATIENT_PROCEDURE</AccessRights>
<RequiredEquipment>
<GameDBRequiredEquipment> <Tag>ui_audiometer</Tag> <MinCount>1</MinCount> </GameDBRequiredEquipment>
This should allow either the stock or your version to work. Let me know if this doesn't work or you have any problems.
- cunheadmedic
- Posts : 2
Reputation : 0
Join date : 2020-03-08
Re: Object TAGS
Mon Mar 09, 2020 8:14 pm
Hi sleepy,
Thank you so much!
Now I can just refer to RoomTypes.xml. It got the audiometer working but not the printer, however after reading your reply I realized that it was supposed to be ui_print instead of ui_printer.
Thanks!
Thank you so much!
Now I can just refer to RoomTypes.xml. It got the audiometer working but not the printer, however after reading your reply I realized that it was supposed to be ui_print instead of ui_printer.
Thanks!
Permissions in this forum:
You cannot reply to topics in this forum
|
|