Compare commits

..

No commits in common. "9060895fda61dc04e7e873a855d6224bdac111a3" and "b69f5945af680168b4e1de71e81ba7457786695f" have entirely different histories.

3 changed files with 5 additions and 149 deletions

View file

@ -68,8 +68,6 @@ impl Plugin for CameraPlugin {
app.add_systems(PreUpdate, apply_input_to_player.run_if(game_running)); app.add_systems(PreUpdate, apply_input_to_player.run_if(game_running));
app.insert_resource(MapCam::default()); app.insert_resource(MapCam::default());
app.insert_resource(Msaa::Off);
// To center the renderer origin on the player camera, // To center the renderer origin on the player camera,
// 1. Disable bevy_xpbd's position->transform sync function // 1. Disable bevy_xpbd's position->transform sync function
app.insert_resource(sync::SyncConfig { app.insert_resource(sync::SyncConfig {
@ -134,16 +132,6 @@ pub fn setup_camera(mut commands: Commands, settings: Res<var::Settings>) {
transform: Transform::from_xyz(0.0, 0.0, 8.0).looking_at(Vec3::ZERO, Vec3::Y), transform: Transform::from_xyz(0.0, 0.0, 8.0).looking_at(Vec3::ZERO, Vec3::Y),
..default() ..default()
}, },
bevy::core_pipeline::fxaa::Fxaa {
edge_threshold: bevy::core_pipeline::fxaa::Sensitivity::Extreme,
..default()
},
//bevy::core_pipeline::smaa::SmaaSettings::default(),
// bevy::core_pipeline::experimental::taa::TemporalAntiAliasBundle::default(),
// bevy::core_pipeline::contrast_adaptive_sharpening::ContrastAdaptiveSharpeningSettings {
// enabled: true,
// ..default()
// },
BloomSettings { BloomSettings {
composite_mode: BloomCompositeMode::EnergyConserving, composite_mode: BloomCompositeMode::EnergyConserving,
..default() ..default()

View file

@ -1,13 +1,3 @@
# Guidelines for chats
Each chat should contain:
- A short introduction
- A main node from which questions can be asked
- Questions may lead into sub-nodes with more sub-questions, which have an exit option that takes you back into the main node
- Each node shouldn't exceed 4-5 options
- AVOID hiding questions until the player gains more knowledge about the NPC. While it makes things more realistic, the user experience sucks, since the user will always worry that there are some hidden conversation options that one is missing because knowledge hasn't been unlocked yet. It also makes the definition file convoluted and hard to read/understand. Open up everything from the start. Share vital info in the introduction (of the NPC or of the sub-node)
# Chat System Documentation # Chat System Documentation
For now, see chat.rs for the source code and the individual YAML files for examples. For now, see chat.rs for the source code and the individual YAML files for examples.

View file

@ -359,123 +359,14 @@
HELP! I NEED OXYGEN!: HELP! I NEED OXYGEN!:
- Oh no! You better get to the pizzeria fast, Nox can fill up your tank! - Oh no! You better get to the pizzeria fast, Nox can fill up your tank!
- goto: EXIT - goto: EXIT
- That dress!: - That is a magnificent dress, if I may say so!:
- Oh yes! I made the AR avatar myself! What about it? - Aw, thank you!
- label: node_dress - I made the AR Avatar myself.
- It is magnificent, if I may say so!: - It's in the common library, you can try it on if you want! [Press ESC]
- Aw, thank you! - goto: entrypoint
- Can I wear it too?:
- Sure! I submitted it to the common AR library and can you believe it?! It got accepted!
- Just open the spacesuit menu [ESC] and look for the dress in the avatar selection.
- How did you make it?:
- Ah, just opened up blender and made the 3D model.
- It takes a bit of practice, but everyone can do it really.
- Give it a try some day!
- label: node_how
- What is this blender and where do I get it?:
- You've never heard of it?
- It's some computer graphics software made by some Dutch guys in 1994.
- Since then it became the state-of-the-art tool for VR/AR design.
- Just do a quick search search on the web for a download.
- goto: node_how
- I might do that!:
- Yay, passing on the torch! :)
- Not interested.:
- Anything else?
- goto: node_dress
- What's the color of that dress?:
- if $spammed:
- You tell me!
- goto: node_color
- Ahahaha, is that a trick question?
- set: spammed
- "Well, first tell me:"
- What's the lighting conditions?
- Does the sun shine, or are we in darkness?
- Are you color blind? If yes, which type?
- What species are you?
- If human, then what is the wiring of your visual cortex and parietal lobe?
- Do you use a neural interface? If yes, what's the exact wiring and settings?
- How long have you been looking at it? Color changes over time as photoreceptors fatigue.
- What color do you expect?
- What's the color right next to it?
- What's the angle from which you view it?
- What's your native language?
- How long have you been awake?
- How old are you?
- Do you have any retinal diseases?
- What's the AR display settings of your space suit?
- Have you eaten any particular mushrooms lately?
- Stop, stop, stop, I get it!:
- Really? I have so many more of these.
- Yes please, I get the point.:
- You get what point?
- label: node_color
- There is no objective answer to this question.:
- Exactly.
- People have tried objectively defining colors before.
- But the only thing that's objective really are the photon wavelengths.
- Everything beyond that is made up in your mind, can change from person to person.
- The dress is red.:
- Exactly.
- It's red to you, subjectively.
- But how was I supposed to know that? Only you can tell.
- I'm not looking at the dress, therefore it has no color.:
- Hahaha, that's one way to view this.
- Ok, you win.
- You're a nerd.:
- Hahaha, don't change the subject!
- goto: node_color
- goto: node_dress
- I noticed that everybody wears the same space suit:
- Ah yes, the T46.
- It's just the best, what can you say.
- For years now, the problem of the perfect space suit has been solved.
- Now they're just mass-produced and given to everyone.
- But we can still express our individuality through avatars.
- if $convinced_sewing:
- I think I will pick up sewing and try to make some real fabric for a change though.
- You made some really convincing points there.
- goto: node_dress
- Imagine, there was a time where fashion happened in the physical realm!
- To change your appearance, you had to harvest materials and put in actual physical labor to shape these into clothes.
- It's so hilarious in hindsight.
- No, you're not doing it justice.:
- Hm?
- With virtual avatars, anything is possible.:
- Amazing, right?
- But when you work with fabric, you're interfacing with physical reality.:
- Hm...
- Every material has its quirks, its unique character.:
- Yeah, I guess you have to get to know it before you can even do anything useful.
- It takes a deep, intuitive understanding of reality to design real clothing.:
- 3D modeling gives you some constraints too! But... I guess they're not quite as... fundamental?
- And with no undo or autosave, every scissor cut carries great significance.:
- Wow, I...
- set: convinced_sewing
- I never thought about this. That's a very good point.
- I never felt the stretchiness and grit of fabric with my fingers.
- Never had to imagine the entire topology of the dress before I irreversibly cut the fabric into pieces.
- Thanks for the insight, drifter!
- goto: node_dress
- If you put it like that, it's pretty hilarious, yes.:
- It's wild how times have changed.
- goto: node_dress
- That's all about the dress.:
- Anything else?
- goto: entrypoint
- goto: node_dress
- I have some general questions...:
- Yes?
- goto: generic_questions
- Well, see you around.: - Well, see you around.:
- Later! - Later!
- goto: EXIT
- label: generic_questions
- include: generic_questions_serenity
- Anything else?
- goto: entrypoint
--- ---
@ -832,19 +723,6 @@
- We're about 150,000km away from the gas giant. - We're about 150,000km away from the gas giant.
- This region is called Serenity by its inhabitants, due to the relative safety from Jupiter's magnetic field and the micrometeorites. - This region is called Serenity by its inhabitants, due to the relative safety from Jupiter's magnetic field and the micrometeorites.
- goto: generic_questions - goto: generic_questions
- Where do I get medical attention?:
- No worries, your suit provides you with optimal conditions to never get sick.
- But if you do ever need medical attention, the suit is equipped with automated diagnosis and treatment mechanisms to cover 99.9% of possible issues.
- If you get into an accident, just lean back and rest for a couple of days or weeks and your health will be all good.
- I don't have that kind of time, I need medical attention now!:
- Well, sorry, there is not a single doctor in the rings.
- That's the downside of being a pioneer.
- Why the rush though? It's not like anything is going anywhere.
- Just close your eyes, take a deep breath, and let go of the tension.
- Life will just fly by if you keep rushing like that.
- Ah, the marvels of technology.:
- It blows my mind every time.
- goto: generic_questions
- I think I'm good for now.: [] - I think I'm good for now.: []