LPMuds.net
September 03, 2010, 11:42:16 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: This is the forum page. For the main LPMuds page, visit http://lpmuds.net
 
   Home   SITE FAQ INTERMUD DOWNLOADS LINKS Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Limbs - Grrrr  (Read 673 times)
dhavid
Acquaintance
*
Offline Offline

Posts: 2


View Profile
« on: August 20, 2007, 11:30:13 PM »

I know that limbs are well entrenched in the DS core code...

However, I started a project about 2 years ago to remove all limb references and simply have body slots for gear (which would be customizable and could be added upon for more or less slots) and one set of HP so the limb HP would go by the wayside...

Since then, I had another baby and several other small time-taking things in my life.

I will be starting my project again from scratch within the next couple days and wondered if there was any way with newer versions of DS or from any mods that may be available...  to sort of 'bypass' the limb checks and limb coding, and just deduct HP from a single counter as well as have a simpler body slot routine that didn't need a left arm to have a left hand and left fingers...

In other words, my characters will not lose any limbs in combat...  I'm going for the KISS strategy here and will focus more on spells/skills/custom areas...  rather than limbed combat.

Any help would be appreciated.

Brian
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #1 on: August 20, 2007, 11:38:28 PM »

If the idea is that combat doesn't damage/sever limbs, I'd start
by modifying eventReceiveDamage() in /lib/combat.c , and
make it so that the "limb" variable is always the main body part
of the creature. For example:

limb = ({ this_object()->GetTorso() });

I haven't tested this, but it's a good place to start.

-Crat
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!