- Mensajes: 104
- Gracias recibidas: 30
Source code is at
github.com/punyauk/VivoSim
New Drink or new Recipe
- Louis Quatorze
-
Autor del tema
Menos
Más
02 Sep 2020 19:43 #577
por Louis Quatorze
New Drink or new Recipe Publicado por Louis Quatorze
Hello
how to do to parameter which % to drink from a bottle par exemple?
I Think about PRODUCT_PARAMS but what put in this line?
Thanks a lot
Louis
how to do to parameter which % to drink from a bottle par exemple?
I Think about PRODUCT_PARAMS but what put in this line?
Thanks a lot
Louis
Por favor, Conectar o Crear cuenta para unirse a la conversación.
- Brinley Taliesin
-
Menos
Más
- Mensajes: 102
- Gracias recibidas: 30
02 Sep 2020 19:53 #578
por Brinley Taliesin
Respuesta de Brinley Taliesin sobre el tema New Drink or new Recipe
I think that is set inside the HUD in the DATA_VALUES file.
For example:
Apple juice glass|100|Thirsty:-70 means you consume 100% and Thirst decreases 70
Apple Pie|25|Hungry:-50 means you consume 25% and Hunger decreases 50
For example:
Apple juice glass|100|Thirsty:-70 means you consume 100% and Thirst decreases 70
Apple Pie|25|Hungry:-50 means you consume 25% and Hunger decreases 50
El siguiente usuario dijo gracias: Louis Quatorze
Por favor, Conectar o Crear cuenta para unirse a la conversación.
- Louis Quatorze
-
Autor del tema
Menos
Más
- Mensajes: 104
- Gracias recibidas: 30
02 Sep 2020 20:01 #579
por Louis Quatorze
Respuesta de Louis Quatorze sobre el tema New Drink or new Recipe
hum I think this is when Recipe is in server
but in first we have % on product in hovertext but I will try to see
but in first we have % on product in hovertext but I will try to see
Por favor, Conectar o Crear cuenta para unirse a la conversación.
- Louis Quatorze
-
Autor del tema
Menos
Más
- Mensajes: 104
- Gracias recibidas: 30
02 Sep 2020 20:23 #580
por Louis Quatorze
Respuesta de Louis Quatorze sobre el tema New Drink or new Recipe
Thanks Brinley!
It works perfectly now!
Have a nice evening!
Louis!
It works perfectly now!
Have a nice evening!
Louis!
Por favor, Conectar o Crear cuenta para unirse a la conversación.
- Admin
-
Menos
Más
- Mensajes: 480
- Gracias recibidas: 259
02 Sep 2020 21:20 #581
por Admin
Respuesta de Admin sobre el tema New Drink or new Recipe
Yes the way the HUD works is it looks first in that notecard to see if there is an entry for the product. If not it uses the values it finds in the product, but in that case it will always use 100% of it.
At the moment, the DATA_VALUES notecard can get overwritten as part of a HUD update, but I will look to make it so either you can store your own values or/and the product notecard can allow for values other than 100%
At the moment, the DATA_VALUES notecard can get overwritten as part of a HUD update, but I will look to make it so either you can store your own values or/and the product notecard can allow for values other than 100%
El siguiente usuario dijo gracias: Louis Quatorze
Por favor, Conectar o Crear cuenta para unirse a la conversación.