Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-15-2005, 05:10 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Sword display

I've created a new gui for DR, the only thing it's missing (other than a better-looking backround ) is an image of the sword the player is using, is there a way to show this, without modifying sprites, using showstats, or #1? And while I'm on the topic of swords, what command would be used to take away the functionality of swords? EX, you can see the sword slash, but it does no damage, and leaves bushed untouched. lol...while I'm on the topic of bushes, what command other than takeplayercarry could be responcible for the fact that no one can carry anything, they throw it immediatly. I've checked my scripts (a lot ), and i can't find where the problems started from. Just need the possible commands or set of cammands to fix these problems, thanks!
Reply With Quote
  #2  
Old 10-15-2005, 05:35 PM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
to have the S key not do any damage to bushes or anything
set the player sword power to zero
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #3  
Old 10-15-2005, 06:40 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
No, it already doesn't do damage, and the sword power is not 0 x_X and nothing can be carried, (auto thrown) and how would i get that gfx of the players sword, without #1 (if possible)
Reply With Quote
  #4  
Old 10-15-2005, 06:40 PM
Knuckles Knuckles is offline
Registered User
Join Date: Sep 2002
Location: New York
Posts: 580
Knuckles is on a distinguished road
Send a message via AIM to Knuckles
disableweapons();
and rescript the entire system .
__________________
Knuckles
"They say 60% of the time, it works everytime!"
Reply With Quote
  #5  
Old 10-15-2005, 07:23 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Hmm let's see, you want to show the image of the sword for a GUI...I wonder...
The filename of the sword the player is currently using is #1
And I want to show the sword image...hmm
showimg index,#1,x,y;
maybe?
But I don't want to show the entire image, just part of it...so i guess i would
use changeimgpart index,x,y,width,height;
__________________
Reply With Quote
  #6  
Old 10-15-2005, 09:19 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by excaliber7388
No, it already doesn't do damage, and the sword power is not 0 x_X and nothing can be carried, (auto thrown) and how would i get that gfx of the players sword, without #1 (if possible)
Why wouldn't you want to use #1?
Reply With Quote
  #7  
Old 10-16-2005, 06:13 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
I was hoping for an easy way XD #1 it is! =p I know the changeimgpart crap, but that changes the height and width in a sinsle direction, it would be hard to crop the rest of the image down to what I need
Reply With Quote
  #8  
Old 10-16-2005, 07:07 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally Posted by excaliber7388
I was hoping for an easy way XD #1 it is! =p I know the changeimgpart crap, but that changes the height and width in a sinsle direction, it would be hard to crop the rest of the image down to what I need
what?
__________________
Reply With Quote
  #9  
Old 10-16-2005, 07:35 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by excaliber7388
I was hoping for an easy way XD #1 it is! =p I know the changeimgpart crap, but that changes the height and width in a sinsle direction, it would be hard to crop the rest of the image down to what I need
Don't worry; it isn't too hard.
Reply With Quote
Reply


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 08:01 AM.


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