Gibbing

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Mon Nov 13, 2006 4:50 pm

  • Hey, guys. I'm kinda new to source editing, but I was wondering where the code that handles gibbing is? Basically, I'm trying to remove the blood and gibs in Nexuiz. If there's any easier way than editing the code, I'd be glad to here it.
    Sircyn
    Newbie
     
    Posts: 3
    Joined: Mon Nov 13, 2006 4:48 pm

Mon Nov 13, 2006 5:00 pm

  • Sircyn wrote:Hey, guys. I'm kinda new to source editing, but I was wondering where the code that handles gibbing is? Basically, I'm trying to remove the blood and gibs in Nexuiz. If there's any easier way than editing the code, I'd be glad to here it.

    There is already a menu switch, that disables gibs (Options -> Player -> Disable gibs). To get rid of the blood, put "cl_particles_blood 0" in a new file called autoexec.cfg in Nexuiz/data/.
    And to answer your original question: players are gibbed in cl_player.c PlayerCorpseDamage. But that stuff happens serverside, so the current no-gibs-code is kinda hackish :)
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Mon Nov 13, 2006 5:00 pm

  • Okay, thanks. Wow, that was prompt. Most open source game forums move kinda slowly.
    Sircyn
    Newbie
     
    Posts: 3
    Joined: Mon Nov 13, 2006 4:48 pm

Mon Nov 13, 2006 5:03 pm

  • Sircyn wrote:Okay, thanks. Wow, that was prompt. Most open source game forums move kinda slowly.

    esteel would have answered in less than 10min, if he were around atm ;)
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Mon Nov 13, 2006 6:00 pm

Mon Nov 13, 2006 6:08 pm

  • I understand how that is - I spend a lot of time with my family. :)
    Sircyn
    Newbie
     
    Posts: 3
    Joined: Mon Nov 13, 2006 4:48 pm



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest