Graal Forums  

Go Back   Graal Forums > PlayerWorlds > PlayerWorlds Main Forum
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-06-2001, 02:52 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Lightbulb In an effort to encourage cooperation of playerworlds...

I present to you, something I just finished scripting for the playerworld X but I will now release publicly due to the fact that it could be useful everywhere.
It is basically a system which allows you to set your own weapons to S and even do different actions when you fire a weapon with your S button, it requires nearly no rescripting of what you've already got.
Ok, the rescripting which you'll need to do is this:
  • All disableweapons will have to be replaced with level.noweapons=1; enableweapons in turn becomes level.noweapons=0;
  • If you want to make a weapon deletable simply add:
    if (weapondestroy&&isweapon) destroy;
    to the weapon.
Now on to the extra flags (and changed) flags:
  • weaponfired, this is if the weapon is fired with either S or D
  • firedonhorse, this is if the weapon is fired with either S or D while the player is riding a horse.
  • Sweaponfired, if the weapon is fired with the S button
  • Dweaponfired, if the weapon is fired with the D button.
  • Sfiredonhorse, if the weapon is fired with the S button on a horse.
  • Dfiredonhorse, if the weapon is fired with the D button on a horse
To continue, you'll note that if you press Q you won't get the weapon menu which you'll normally get, instead you'll get something which I put together myself, you can cycle through the weapons using the left and right arrow keys, if you press A while having a weapon selected the weapon will be attempted to be deleted, if you press S or D while having a weapon selected that weapon will go to either S or D depending on what you have selected.

Feel free to download it and check it out, also feel free to make any changes to it that you'd like. I'd also appreciate if you use it on your server you could put on your website "With thanks to Lady Midnight", although you aren't required to do that.

Oh yes I haven't tested it online yet so I'm not sure if it will work without problems but I think there won't be any.
__________________

Reply With Quote
  #2  
Old 07-06-2001, 03:28 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
>.<

Silly me I forgot to attach the file.
Attached Files
File Type: zip sweaponsystem.zip (4.5 KB, 128 views)
__________________

Reply With Quote
  #3  
Old 07-06-2001, 03:42 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
It looks nice and all...but what is the point of it?
__________________
Farewell graalians...
Reply With Quote
  #4  
Old 07-06-2001, 03:44 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by RawPower
It looks nice and all...but what is the point of it?
Don't know, I just felt like scripting it and you don't need to have your boring old sword under S anymore.
__________________

Reply With Quote
  #5  
Old 07-06-2001, 03:44 AM
SSmutz SSmutz is offline
I hate me. :(
Join Date: Mar 2001
Posts: 2,633
SSmutz will become famous soon enough
Quote:
Originally posted by RawPower
It looks nice and all...but what is the point of it?
So you can set any NPC to the S button I guess. Like the way bomys duck in their shells when they press S.
__________________
I hate graal.

NO! FOR THE MILLIONTH TIME, I AM NOT GOING TO PLAY GRAAL AGAIN! I HANGOUT IN THE NOT GRAAL RELATED FORUM, BECAUSE IT HAS NOTHING TO DO WITH GRAAL.
The End
Reply With Quote
  #6  
Old 07-06-2001, 05:56 AM
Komieko Komieko is offline
Registered User
Join Date: Mar 2001
Posts: 494
Komieko is on a distinguished road
THe only weapon it lets me fire (no matter what I choose) is the bow
Reply With Quote
  #7  
Old 07-06-2001, 06:07 AM
Brady2 Brady2 is offline
Registered User
Brady2's Avatar
Join Date: Mar 2001
Location: Phoenix, AZ and Wichita Falls, TX
Posts: 924
Brady2 is on a distinguished road
-Posted by Jadis

Press Q, select the weapon, Press D, Press D again to use.

Lady Midnight that looks great =)
__________________
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:47 PM.


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