Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
nazradin
Apprentice


Joined: 23 Mar 2003
Posts: 114
Location: New Zealand

PostPosted: Wed Mar 26, 2003 7:03 pm   

basic combat GS3
 
being new to zmud first go at writing a combat alias

i want to get 1 arrow from my quiver
stance offensive fire at %1 and stance back

seems to work except for stancing back the #WA doesnt last long enough (as it does with wizard). carnt use a straght pause as the RT varies depentand on aiming hiding armor and encumberance

the alias

stance offensive
get 1 arrow from my quiver
fire my bow at %1
#WA
stance defensive



the result
stance offensive
get 1 arrow from my quiver
fire my bow at troll
You are now in an offensive stance.
stance defensive
> You remove a single wooden arrow from a bundle of wooden arrows.
You nock a wooden arrow in your recurve bow.
You fire your recurve bow at a Neartofar troll but the shot flies wide of the target!
The wooden arrow disappears into the local environs.
Roundtime: 5 sec.
...wait 4 seconds.

anyhelp appreciated cheers Nazradin
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Mar 26, 2003 7:37 pm   
 
stance offensive
get 1 arrow from my quiver
fire my bow at %1
#TEMP {Roundtime: (%d) sec} {#ALA RT +%%1 {stance defensive}}

If this turns out to be too fast, add a second
#TEMP {Roundtime: (%d) sec} {#ALA RT +%eval( %%1 + 1) {stance defensive}}

LightBulb
Advanced Member
Reply with quote
nazradin
Apprentice


Joined: 23 Mar 2003
Posts: 114
Location: New Zealand

PostPosted: Thu Mar 27, 2003 5:40 pm   
 
the first one worked great thanks.

another question

how do i slow done an alias so that i dont exceed my type ahead lines

#Class Gemstone|COL
#Alais Signs {{Sign of Warding;Sign of Striking;Sign of Defending;Sign of Smiting;Sign of Deflection;Sign of Swords;Sign of Shields}

depending on the lag in game i can enter 2-3 commands at a time , with a very brief pause then entering the next set is fine usually but all six at once I get you can only enter 2 lines ahead message.

would using an alarm be...

#Class Gemstone|COL
#Alais Signs {{Sign of Warding;Sign of Striking;Sign of Defending; }{#ALARM +2 { Sign of Smiting;Sign of Deflection;Sign of Swords;Sign of Shields}}

the formatting is wrong as this does not work but am i close? is there a better way?


cheers Nazardin
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Mar 27, 2003 6:19 pm   
 
Use a ; to separate #ALARM from the commands that come before it. Also, always leave a space between } and {. The commands that come after #ALARM are part of the alarm, that's why they need another set of {}'s around them.
#Class Gemstone|COL
#Alias Signs {Sign of Warding;Sign of Striking;Sign of Defending;#ALARM +2 {Sign of Smiting;Sign of Deflection;Sign of Swords;Sign of Shields}}
#CLASS 0

Check the Finished Scripts forum, a lot of GS3 stuff has been done by people who actually know GS3 (I don't) over the last 3 months (since Jan).


LightBulb
Advanced Member
Reply with quote
nazradin
Apprentice


Joined: 23 Mar 2003
Posts: 114
Location: New Zealand

PostPosted: Thu Mar 27, 2003 6:36 pm   
 
[quote]

Check the Finished Scripts forum, a lot of GS3 stuff has been done by people who actually know GS3 (I don't) over the last 3 months (since Jan).


LightBulb


thanks again did the trick, i have looked at most of the GS stuff but most of it is to do with graphic inprovements , times stance bar etc etc , rather than the more mundane basic stuff that is easy to do with wizard/escape and i guess easy to do here unless you are a novice such as me.

cheers
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net