Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-23-2001, 06:49 AM
Dnetick Dnetick is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 136
Dnetick is on a distinguished road
Send a message via AIM to Dnetick
Health Bar Changing

Okay, if you read my post, "Fortara Update"
in the PW Forum, you will know that I am going
to start working on a AP Bar/Type Health thing.
I am wondering if someone could help me on
how to make it to where the Ying-Yang Health
Icons are a different image. Like the Bomies health.
It is like an AP bar.
__________________
- dmjof
- Fortara 1.28: 192.168.200.2
- Fortara 1.28: 14900
- Fortara 1.28 Guest:
guest:guest
email: [email protected]
aim: dmjof
PW Owner: Fortara
PW Site: http://froggyfun.freewebsites.com/findex.html
Reply With Quote
  #2  
Old 09-23-2001, 07:03 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
hide the original hearts with showstats
and add a new one with showimg
Reply With Quote
  #3  
Old 09-23-2001, 07:24 AM
Dnetick Dnetick is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 136
Dnetick is on a distinguished road
Send a message via AIM to Dnetick
How do I make it to where the new image will do the Health Job. I mean like, it will do the Bomy-Type thing. Add and remove health from the new image.
__________________
- dmjof
- Fortara 1.28: 192.168.200.2
- Fortara 1.28: 14900
- Fortara 1.28 Guest:
guest:guest
email: [email protected]
aim: dmjof
PW Owner: Fortara
PW Site: http://froggyfun.freewebsites.com/findex.html
Reply With Quote
  #4  
Old 09-23-2001, 07:42 AM
Dnetick Dnetick is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 136
Dnetick is on a distinguished road
Send a message via AIM to Dnetick
Argh, How can I make it to where it dont show the Hearts, but, shows everything else. When I put showstats 32; it shoes it and not everythign else.
__________________
- dmjof
- Fortara 1.28: 192.168.200.2
- Fortara 1.28: 14900
- Fortara 1.28 Guest:
guest:guest
email: [email protected]
aim: dmjof
PW Owner: Fortara
PW Site: http://froggyfun.freewebsites.com/findex.html
Reply With Quote
  #5  
Old 09-23-2001, 07:58 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
if the hearts = 32 for showstats
do everything else
like showstats 1+2+etc for example.
Reply With Quote
  #6  
Old 09-23-2001, 08:11 AM
Dnetick Dnetick is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 136
Dnetick is on a distinguished road
Send a message via AIM to Dnetick
Okay, it works now. Thanks Merlin. All I need now is how to put the image I want for the health bar in the place of the hearts
__________________
- dmjof
- Fortara 1.28: 192.168.200.2
- Fortara 1.28: 14900
- Fortara 1.28 Guest:
guest:guest
email: [email protected]
aim: dmjof
PW Owner: Fortara
PW Site: http://froggyfun.freewebsites.com/findex.html
Reply With Quote
  #7  
Old 09-23-2001, 08:15 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
here is an example spanky made this don't use it, just look at it

showimg 352,@Courier New@bc@#v(playerhearts),570,34;
showimg 351,merlinh.gif,550,45;
changeimgcolors 352,0,0,0,0;
changeimgzoom 352,0;
changeimgvis 352,4;
changeimgvis 351,4;
timeout=.05;
Reply With Quote
  #8  
Old 10-14-2001, 01:11 PM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
what does @courier@new stuff do?
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #9  
Old 10-14-2001, 01:20 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by ownerofbabylon
what does @courier@new stuff do?
@text
@fontname@text
@fontname@things like bold, underline, ect@text

that is how it can be formated

it will put text on the screen
__________________
Thanks,
-KJL
Reply With Quote
  #10  
Old 10-14-2001, 08:34 PM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
alright, i redid the state.png but now i realize i cant just make it replace like addtileder. I am going to try and script it. I will prolly be able to do the bombs arrows money hearts ap bar and so on but im a little worried about the a s and d things.

What commands should I use for scripting this
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #11  
Old 10-14-2001, 09:32 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by KJS


@text
@fontname@text
@fontname@things like bold, underline, ect@text

that is how it can be formated

it will put text on the screen
would the size go in where i underlined above ?
Reply With Quote
  #12  
Old 10-14-2001, 09:52 PM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
You can use changeimgzoom for changing the size of the text. -Yin
Reply With Quote
  #13  
Old 10-14-2001, 09:55 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
this wont work .....

why wont this work ?
NPC Code:

// NPC made by Nyght *Asst* (LAT Admin)
if (playerenters) {
@verdana@underline@This is so fawkin awesome !!!;
}

Reply With Quote
  #14  
Old 10-14-2001, 10:05 PM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
It's meant to be used with showimg (ie. showimg 0,@text,x,y). -Yin
Reply With Quote
  #15  
Old 10-14-2001, 10:08 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
yeah i see now but now how would i make a line break so text would appear under it ?
would i have to just use showimg again ?
Reply With Quote
  #16  
Old 10-14-2001, 10:44 PM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
You'd probably have to use some string parsing techniques. Or, you could use the say2 command with #b. I believe Lady Midnight posted a string parsing script a while back, search through either the NPC Scripting or NPCServer forums. -Yin

Last edited by SagaTCN; 10-14-2001 at 10:52 PM..
Reply With Quote
  #17  
Old 10-14-2001, 11:56 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
thanx anyway

i figured it out thanx anyway ........
Reply With Quote
  #18  
Old 10-15-2001, 12:18 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
someone really should make a tutuorial on this, its been asked a lot
Reply With Quote
  #19  
Old 10-15-2001, 04:07 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Tutorial

Go read newfeatures2001.txt
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
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:45 PM.


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