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-01-2002, 05:33 AM
sage_chaozu sage_chaozu is offline
Registered User
sage_chaozu's Avatar
Join Date: Feb 2002
Location: Florida, USA
Posts: 143
sage_chaozu will become famous soon enough
Send a message via ICQ to sage_chaozu Send a message via AIM to sage_chaozu Send a message via MSN to sage_chaozu Send a message via Yahoo to sage_chaozu
Post Disabling Swords

I am wondering if anyone has stumbled upon this or have noticed this. This code disables the sword

code:

setsword 0,#1;

I hope you can all understand what that statement says.
Reply With Quote
  #2  
Old 10-01-2002, 06:54 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
Does that not just set it as a level 0 sword? He he, I just set ap to 100 for my HP System, never really occured to me otherwise...
Good thinking
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #3  
Old 10-01-2002, 08:23 AM
sage_chaozu sage_chaozu is offline
Registered User
sage_chaozu's Avatar
Join Date: Feb 2002
Location: Florida, USA
Posts: 143
sage_chaozu will become famous soon enough
Send a message via ICQ to sage_chaozu Send a message via AIM to sage_chaozu Send a message via MSN to sage_chaozu Send a message via Yahoo to sage_chaozu
Wink no slicing either

well it does set to zero, but I also noticed that when I press s.. I do not slice my sword either
Reply With Quote
  #4  
Old 10-01-2002, 08:59 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
Ah, he he. I didn't realize doing that would. Thanks, of course you should set a var (preferably a string though) to refer back to the sword. If you set a var and they get dc'ed or restart it clears =/
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #5  
Old 10-01-2002, 09:03 AM
sage_chaozu sage_chaozu is offline
Registered User
sage_chaozu's Avatar
Join Date: Feb 2002
Location: Florida, USA
Posts: 143
sage_chaozu will become famous soon enough
Send a message via ICQ to sage_chaozu Send a message via AIM to sage_chaozu Send a message via MSN to sage_chaozu Send a message via Yahoo to sage_chaozu
Talking duh

duh, I know.. I am not a newbie scripter
Just haven't posted that much
Reply With Quote
  #6  
Old 10-01-2002, 09:25 AM
Graal2001_NAT Graal2001_NAT is offline
Registered User
Join Date: Sep 2002
Posts: 241
Graal2001_NAT is on a distinguished road
yes, sage chaozu is a very good scripter
__________________
GONE, BAI
Reply With Quote
  #7  
Old 10-01-2002, 03:25 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
I used to use this method, but slightly modified.

NPC Code:

setsword no-sword.png,0;



But now I use disabledefmovement.
__________________
[signature]insert here[/signature]
Reply With Quote
  #8  
Old 10-01-2002, 11:09 PM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
LOL, I know you aren't Sage, I"ve heard a few people tell me that Sage could own me in scripting =/ Gets old fast, considering I've never seen him and they've never seen my stuff
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #9  
Old 10-03-2002, 01:41 AM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
Quote:
Originally posted by screen_name
NPC Code:

setsword no-sword.png,0;


That's what we do on Classic.
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote
  #10  
Old 10-03-2002, 02:13 AM
Graal2001_Developer1 Graal2001_Developer1 is offline
Registered User
Join Date: Sep 2002
Location: Germany - Lübeck
Posts: 17
Graal2001_Developer1 is on a distinguished road
Send a message via ICQ to Graal2001_Developer1
Best way is probably to rescript the whole movement etc.
__________________
This is TDO
Nothing to say.. just need a webhost for images
Reply With Quote
  #11  
Old 10-03-2002, 07:57 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally posted by Graal2001_Developer1
Best way is probably to rescript the whole movement etc.
He posted this so you don't have to do that...
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #12  
Old 10-03-2002, 10:43 AM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
Quote:
Originally posted by Graal2001_Developer1
Best way is probably to rescript the whole movement etc.
But how do you want to carry NPCs with a replaced movement?
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote
  #13  
Old 10-03-2002, 11:51 AM
Graal2001_NAT Graal2001_NAT is offline
Registered User
Join Date: Sep 2002
Posts: 241
Graal2001_NAT is on a distinguished road
Quote:
Originally posted by Com013

But how do you want to carry NPCs with a replaced movement?
ganis, triggeraction, and some tiles[] or board[] commands
__________________
GONE, BAI
Reply With Quote
  #14  
Old 10-03-2002, 05:12 PM
Graal2001_Developer1 Graal2001_Developer1 is offline
Registered User
Join Date: Sep 2002
Location: Germany - Lübeck
Posts: 17
Graal2001_Developer1 is on a distinguished road
Send a message via ICQ to Graal2001_Developer1
Quote:
Originally posted by Com013

But how do you want to carry NPCs with a replaced movement?
or like 2k2 does :P
I did something like this with the bombs for Atlantis
actually it's no problem to replace this...
__________________
This is TDO
Nothing to say.. just need a webhost for images
Reply With Quote
  #15  
Old 10-03-2002, 11:45 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally posted by Graal2001_Developer1
I did something like this with the bombs for Atlantis
actually it's no problem to replace this...
But he wants to carry NPCs, like NPCs that have a script and stuff.
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 03:36 PM.


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