Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: [Main 5.2] Visual Effect Statue of Saint Animation Blood Castle | Pegasus  (Visto 590 veces)

0 Miembros and 1 Guest are viewing this topic.

Este tema esta marcado como solucionado. Pulsa aqui si quieres ver la solucion de este tema.

Offline Zytrous Posteado: November 28, 2025, 11:20:15 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 25
  • Gracias recibida: 1192
  • ph

🩸 FIX: BLOOD CASTLE STATUE OF SAINT BUG EFFECTS 🩸
Corrected Visual Effects and Death Animation for BC Statue
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📋 Description:
This fix resolves visual effect bugs with the Blood Castle Statue of Saint (MODEL_MONSTER01 + 60). The statue now displays proper death effects, stone coffin particles, and chrome/metal rendering without glitches.

✨ Features:
- Proper Death Animation - Statue dies correctly with effects
- Stone Coffin Effect - Particles render when statue is destroyed
- Chrome & Metal Rendering - Beautiful metallic effects on statue
- Sound Effects Fix - Gate destruction sound plays correctly
- Timing Control - 1000ms delay for smooth effect transitions
- Object Cleanup - Properly removes statue object after death

🎯 What This Fixes:
- Statue not disappearing after death
- Missing stone coffin particle effects
- Chrome/metal effects not rendering
- Death animation glitches
- Sound effects not playing
- Objects remaining in scene after destruction

💻 The Problem:
The original code didn't properly handle the death state and visual effects for the Blood Castle Statue of Saint. This caused the statue to remain visible after being destroyed, missing particle effects, and incorrect rendering states.


(Preview of corrected Blood Castle Statue effects)

🔒 SOURCE CODE (Reply/Like to Unlock)
Spoiler for Hiden:
COMPATIBLE WITH PUBLIC RELEASE

⚠️ IMPORTANT: Backup your files before making any changes!

📄 File: Zzzobject.cpp

Find:
Code: [Select]
else if (o->Type == MODEL_MONSTER01 + 60)

Replace the entire block with:



━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📝 Technical Breakdown:

Death State Handling:
Code: [Select]
if (o->CurrentAction == MONSTER01_DIE || (WorldTime - o->InitialSceneTime) < 1000)
- Checks if statue is in death animation
- Also triggers during first 1000ms of initialization
- Ensures smooth transition effects

Object Cleanup:
Code: [Select]
if (o->CurrentAction == MONSTER01_DIE)
{
    o->Live = false;
}
- Sets the object's Live flag to false
- Allows proper removal from scene
- Prevents ghost objects

Visual Effects:
Code: [Select]
PlayBuffer(SOUND_HIT_GATE2);
b->RenderMeshEffect(0, MODEL_STONE_COFFIN);
- Plays gate destruction sound
- Renders stone coffin particle effect
- Creates dramatic death sequence

Normal Rendering:
When statue is alive, it renders with three layers:
1. Base texture rendering
2. Chrome effect (bright white glow)
3. Metal effect (blue metallic sheen)

✅ Testing:
After implementation, test the following:
1. Enter Blood Castle event
2. Attack the Statue of Saint
3. Verify death animation plays smoothly
4. Check stone coffin particle effects appear
5. Confirm sound effect plays on destruction
6. Verify statue disappears after death
7. Check chrome/metal effects display correctly when alive

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎨 Visual Effects Explained:

Chrome Layer:
Code: [Select]
Vector(1.f, 1.f, 1.f, b->BodyLight);
b->RenderBody(RENDER_BRIGHT | RENDER_CHROME, ...);
Creates a bright white metallic shine effect

Metal Layer:
Code: [Select]
Vector(0.3f, 0.3f, 1.f, b->BodyLight);
b->RenderBody(RENDER_BRIGHT | RENDER_METAL, ...);
Adds a blue-tinted metallic finish

These layers combine to create the iconic Blood Castle statue appearance!

💬 Benefits:

✅ Proper Death Handling - Statue correctly disappears after destruction
✅ Visual Polish - Beautiful particle and rendering effects
✅ Audio Feedback - Sound effects play correctly
✅ Performance - Objects properly cleaned up from memory

This fix enhances the Blood Castle experience significantly!

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ This fix is provided FREE to the community

Use it, test it, improve your Blood Castle event with it. Real developers share solutions.

💬 Support:
If you encounter any issues or need help with implementation, feel free to contact us.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💻 CUSTOM CODING SERVICES AVAILABLE
We offer coding projects of any kind, any time!
Need custom features, systems, or modifications? Contact us for professional MU development services.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📞 Contact Us
Zytrous: Discord: Zytrous#2671 | WhatsApp | Facebook
Phanh: Discord: phanhxinh_97 | discord.gg/mupegasus


"Quality fixes for quality events. Blood Castle never looked better."
- Zytrous & Phanh | PegasusXElev8Games Team




Offline phuongcuongmsqm #1 Posteado: November 29, 2025, 01:08:52 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 102
  • Gracias recibida: 30
  • vn
HELLO Zytrous,I TESTED THE THUNDER STORM (MG) SKILL WHEN HITTING THE ICE STATUE, WITHIN THAT RANGE THERE IS NO EFFECT OF THE SKILL


Offline zpzwb113 #2 Posteado: November 29, 2025, 06:20:41 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 41
  • Gracias recibida: 32
  • cn

Marcado como mejor respuesta por: Zytrous Posteado November 29, 2025, 10:48:08 AM

Offline zhangjianle865 #3 Posteado: November 29, 2025, 07:20:37 AM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 155
  • Gracias recibida: 144
  • ca

Online Evangelio #4 Posteado: November 29, 2025, 12:08:21 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 271
  • Gracias recibida: 2263
  • ar

Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4116 Views
Last post November 18, 2018, 06:28:39 PM
by bloodvalhalla
6 Replies
6514 Views
Last post July 07, 2021, 10:21:06 AM
by 153426
6 Replies
4893 Views
Last post June 26, 2024, 06:57:34 PM
by lkt22
2 Replies
908 Views
Last post June 26, 2024, 09:36:09 PM
by sergio466
6 Replies
1493 Views
Last post November 15, 2025, 11:27:43 AM
by c4nhsatcodong