PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Loads of Newbie Questions please help*Added questions*

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095)
Display posts from previous:   

Author Message
Damien



Joined: 15 Apr 2006
Posts: 65

PostPosted: Sun Apr 16, 2006 7:36 am    Post subject: Loads of Newbie Questions please help*Added questions* Reply with quote

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 Smile

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. Smile

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! Mr. Green

6.

I find the Healing script very bad Sad 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 Smile

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 Sad
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.

Author Message
tekproxy
Distro Developer


Joined: 06 Apr 2006
Posts: 350
Location: Nederland, Texas

PostPosted: Sun Apr 16, 2006 10:49 am    Post subject: Reply with quote

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.

Author Message
DevGIB



Joined: 06 Feb 2006
Posts: 93

PostPosted: Sun Apr 16, 2006 10:59 am    Post subject: Reply with quote

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.

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095) All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty