It is currently Wed Oct 15, 2008 8:03 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Loads of Newbie Questions please help*Added questions*
PostPosted: Sun Apr 16, 2006 3:36 am 
Offline

Joined: Sat Apr 15, 2006 11:50 am
Posts: 66
Hi! Im pretty new to the POL095 and dont know very much about scripting,
but i have loads of questions and need loads of help :]

1.

I've saw this topic: http://forums.polserver.com/viewtopic.php?t=220
and i also find Polar Bear and Drake as a rideable animal very cool.
I tried to change Polar Bear to a Rideable animal but i get same problem as Duskman the ride get invisible.
And when i read Pierce post i understand nothing :p
so please help and explain to me in easier words.

2.

I also want to have different arrows like:
Fire Arrow- When u get hit u'll get a flamestike in yourself
Paralyze Arrow- You will get frozen for awhile
Posion Arrow- i will get poisoned
Lightning Arrow- when you get hit, you will have a lightning on yourself

But i have no idea how to script it so please give me some idea's :)

3.

I want to have a stone, and when u click it a square will come up and u can choose destination and then you will get teleported to a destination
Code:
MoveCharacterToLocation( who, ????, ????, ?);


For example a stone which u can click and get teleported to different Dungeons. :)

4.

I would like to have a Throne that makes your health get up faster
please give me clues :p

5.

And also a high advanced Script i can work on when i get better,
and thats a Level script, is it possible to create level script for pol095?

i want it to be like u get exp from monster's and u start with lvl 0,
then u need like 500 exp to gain to lvl 1 and so on..
For example a zombie can give 120 exp then u go kill 5 zombies and WOA
u got lvl 1! :mrgreen:

6.

I find the Healing script very bad :( if u get poisoned u restart to cure and when ur cured you restart to heal, and if u get poisoned again you start to cure -_-

Some got any idea's to make it continue heal even if you get poisoned while healing.
And also if u start healing while poisoned you start to cure,and when u cured you automaticlly start heal :)

7.

I also got a problem.
I got a script that does that a special kind of weapon gives for example
+15 swordsmanship, and your skill becomes +15 in swordmanship, but when you take off the weapon those +15 swordsmanship is still there :(
Anyone know how to do so those +15 swords dissapear again?

If you don't want to post here you can reach me on my msn:
robvik@hotmail.com

Code:
Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 6:49 am 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
Some of those questions you have a very easy to do if you just look at the examples of other scripts. That's the best way to learn.. I think with the POL 095 distro having special arrows is somewhat different than having special weapaons since it's not the arrow that defines the damage, the bow just looks to see if the user has arrows and then does it's thing.

Level scripts go against a lot of the default UO behavior so having a level system requires a lot of modification the the core. You'd have to assign each monster an EXP value, then increment the players EXP, handle any possible level gain then, then you'd need to adjust damage and other things based on level, depending on how you're doing it, and possibly any EXP gain when dead, etc...

Your sword that isn't taking away the skill it gave after you take it off sounds like it might just be badly coded. Perhaps you could post the code for that here, or maybe fix it yourself as a way to learn.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 6:59 am 
Offline

Joined: Mon Feb 06, 2006 6:12 am
Posts: 93
if your just having levels based on xp thats not a problem... how ever if you want to have a skill based on xp thats alittle different... youd have to change lots of things, as for your sword look at what unequipt script its using and wether it is designed to remove the mod from the weapon special kinds of bows will be defined by the hit script IDK wether projectiletype is a r/w prop because you could define it like that and have the arrows set a prop on the char so the char knows which arrow to use and then when they equipt a bow it sets the hitscript depending on which arrow the player has chosen to use.

polar bears and drakes can only be ridable if you mod your client files generally done by use of verdata...

look at the wilderness gates for scripts on movement gumps or if you can get ahold of some old zulu scripts they had a npcs that allows you to travel from place to place by saying travel to them, you could steal the gump from that script aswell as for the throne and i dont know if this is posible but you would need to set a walk on script for it to increase the players regen rates.

As for healing you should look at the healing scripts, id presume theyd have functions for each indavidual function (heal, cure, res) as the end of the cure function add a call for the heal function so that way once its finnished curing it can start healing.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl