Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-18-2001, 04:47 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
#v in weaponnames and *Weapons

weaponname string;
When run in a weapon script, it keeps the Server's version of the weapon name the same, and for all the scripts it's still the same, but the player sees the name differently.
For example:
toweapons *Bomb Bag;
if(isweapon&&this.init<1){
this.init=1;
weaponname Bomb Bag #v(strtofloat(#s(bombbags)));
}

The game thinks it's *Bomb Bag, the NPCs and RC consider it *Bomb Bag, but the player sees it as Bomb Bag 12
You could take it a step further, and:
weaponname string,color;
to allow levelmakers to custom-color their weapons. Then it'd be
weaponname Bomb Bag #v(strtofloat(#s(bombbags))),darkblue;
This would be really handy for when you want to have, say, a key that can be a different color for a different dungeon, or a spell that can be charged different ways for different elements!
Or tools that get redder as they overheat!
Who's with me?

-=-Also: Could we get setimgpart allowed on toweapons? I tried to make a weapon that uses a head as it's image, but try though I might, it would not stay cropped...-=-
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233

Last edited by Tyhm; 09-18-2001 at 04:50 AM..
Reply With Quote
 

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 03:39 PM.


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