Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-08-2001, 03:56 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
Serveroptions.txt option (usehearts)

~AlphaFlame~

This is mainly for playerworlds wanting to use a different system than hearts... since lag can be created by having an if (playerhurt){playerhearts=playerfullhearts;} event being triggered every time you're hit, we should be able just to turn off the usage of hearts in the serveroptions.txt... or at least be able to specify if we want to use hearts/strings/variables whatever for HP.

Ex:

usehearts=false

or *specify*

usehealth=playerhp -- uses the string "playerhp"
usehealth=hearts -- uses hearts
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #2  
Old 12-10-2001, 09:56 AM
jeff335 jeff335 is offline
Registered User
Join Date: Oct 2001
Posts: 605
jeff335 is on a distinguished road
So don't use playerhurt, in a timeout have:

if(playerhearts<playerfullhearts){
hitpoints--;
playerhearts=playerfullhearts;
}
__________________

Quote:
Some people like standing around talking to idiots in the real world, and some don't. Neither choice is inherently better than the other.

-Kaimetsu
Reply With Quote
  #3  
Old 12-11-2001, 02:43 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by jeff335
So don't use playerhurt, in a timeout have:

if(playerhearts<playerfullhearts){
hitpoints--;
playerhearts=playerfullhearts;
}
Yeah I believe tyhms system npc template used something like that.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #4  
Old 12-11-2001, 03:33 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

Apparently you guys have no idea what I mean...

I'll explain my system a bit... I'm using strings to determine the players HP/MP and a couple other additions... I don't want hearts to be included, and since I can use the space that the
if (playerhurt){playerhearts=playerfullhearts;} takes up for other things - yes, things can be done with even that much space - and since there *is* a limit to the space an NPC can take up (48k was it?)... it would just be hellishly easier to turn off hearts.
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.