Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Downloadable Plotscript Library
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Cube
Dimensional Traveller




Joined: 02 Feb 2003
Posts: 294

PostPosted: Tue Feb 04, 2003 6:33 am    Post subject: Downloadable Plotscript Library Reply with quote

Sometime ago, I made a plotscripting library with quite a few helpful commands. So, I'm just here to post the link to it. I won't go into detail, since I have a webpage for that Smokin'.

Cube's Utility Library

And please, if anyone has suggestions for new commands, let me know. If it's a command that will be useful, then I'll add it and give you credit for the suggestion. The more commands this thing has, the better.


Last edited by Cube on Wed Apr 14, 2004 7:23 am; edited 2 times in total
Back to top
View user's profile Send private message
Aethereal
SHUT UP.
Elite Designer
Elite Designer



Joined: 04 Jan 2003
Posts: 928
Location: Gone! I pop in on occasion though.

PostPosted: Wed Feb 05, 2003 1:36 am    Post subject: Reply with quote

I usually make my own "commands" as I go along in my scripts to shorten them and make them easier to read, so if I make any I'll be sure to hand them to you.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Blazes Battles Inc.
I'm a chimp, not a




Joined: 25 Jan 2003
Posts: 505

PostPosted: Sat Feb 08, 2003 7:06 am    Post subject: Reply with quote

I don't know how exactly the whole .lib thing works, but I put these in the same kind of format the commands are in in your utility.lib file.

Code:
Define script (autonumber,Remove Equipment,1,0)

Script, Remove Equipment, hero, begin
Unequip (find hero (hero),0)
Unequip (find hero (hero),1)
Unequip (find hero (hero),2)
Unequip (find hero (hero),3)
Unequip (find hero (hero),4)
#useful if a character leaves the party temporarily or permanently so that
#his equipment can be equipped to someone else or sold
End


That isn't hard to do even without the thing there, but it saves a lot of time.

Code:
Define script (autonumber,Set NPC Z,2,0,0)

Script, Set NPC Z, npc, z, begin
Put npc (npc,npc pixel x (npc),npc pixel y (npc) -- z)
#it has to be ‘minus’ the z to go up, as the OHR editor has 0 at the top and the
#highest number at the bottom and the npc can only change it’s position in
#pixels, in cannot actually overlap the hero or npcs that normally appear over
#it…  so it's best for set events
end


Also not terribly complicated, but saves time... and whenever I do it myself I keep forgetting the minus thing and using + the number, making it lower, so that's good for me...

Do you think they're good or bad?

EDIT: Also, I can't seem to download the utility.lib file. It just has the text appear in the browser like with a .txt file, so I can only copy and paste it. Will it work if I save it as a .txt, or do I need to save it as a .lib, and if I do do I need to save it with some special program? I don't know anything about that kind of file, obviously. Sorry for all the questions!
_________________
Preserve OHR history! Do it for the children!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cube
Dimensional Traveller




Joined: 02 Feb 2003
Posts: 294

PostPosted: Sat Feb 08, 2003 9:23 am    Post subject: Reply with quote

I think those commands will be okay. A lot of those commands are already short cuts, like "Box Wait".

Also, if ANYONE is having trouble downloading the file, just right click the link and then save it.

To use it, just include it into the plotscripting file you use, like you do with other files. Then you can use the commands.
Back to top
View user's profile Send private message
Blazes Battles Inc.
I'm a chimp, not a




Joined: 25 Jan 2003
Posts: 505

PostPosted: Sat Feb 08, 2003 9:37 pm    Post subject: Reply with quote

If I right-click the link I only get the options Open, Open in a new window, Copy Shortcut, Add to Favorites and Properties. If I go to the file and I right-click in there, I just get options like Back, Select all, Print, and some of the first ones. If I copy and paste it into notepad or word and save it as .lib should it work?
_________________
Preserve OHR history! Do it for the children!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Aethereal
SHUT UP.
Elite Designer
Elite Designer



Joined: 04 Jan 2003
Posts: 928
Location: Gone! I pop in on occasion though.

PostPosted: Sun Feb 09, 2003 2:48 am    Post subject: Reply with quote

There SHOULD be a "Save Target As" choice. What browser do you use?
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Cube
Dimensional Traveller




Joined: 02 Feb 2003
Posts: 294

PostPosted: Sun Feb 09, 2003 2:50 am    Post subject: Reply with quote

Yeah that should've worked, but I decided to put the library in a ZIP file. So now nobody should have any problems.
Back to top
View user's profile Send private message
Blazes Battles Inc.
I'm a chimp, not a




Joined: 25 Jan 2003
Posts: 505

PostPosted: Sun Feb 09, 2003 8:40 am    Post subject: Reply with quote

Thanks, sorry about that! Anyway, my computer only let's me use 'save target as...' if it sees it as something that can't be viewed as a normal webpage, so I guess it decided to just open this kind of file up like that...
_________________
Preserve OHR history! Do it for the children!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Blazes Battles Inc.
I'm a chimp, not a




Joined: 25 Jan 2003
Posts: 505

PostPosted: Tue Feb 11, 2003 11:48 pm    Post subject: Reply with quote

Something you may already have known: While 'Delete Spell' is a command listed in the utility file, it isn't listed on the site. Some people probably don't know it's in there.
_________________
Preserve OHR history! Do it for the children!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cube
Dimensional Traveller




Joined: 02 Feb 2003
Posts: 294

PostPosted: Wed Feb 12, 2003 5:08 am    Post subject: Reply with quote

Delete spell isn't working yet Oookay.... I'll get it working one of these days...
Back to top
View user's profile Send private message
Blazes Battles Inc.
I'm a chimp, not a




Joined: 25 Jan 2003
Posts: 505

PostPosted: Wed Feb 12, 2003 2:52 pm    Post subject: Reply with quote

Oh heh, sorry, nevermind then. *shuts mouth*
_________________
Preserve OHR history! Do it for the children!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Seth
Hardcore Reviewer




Joined: 03 Feb 2003
Posts: 170
Location: Gold Coast, Australia

PostPosted: Fri Mar 07, 2003 5:35 am    Post subject: Reply with quote

Wow, that's pretty cool. You could teach Paige a thing or two.
_________________
Missing in Action
----------------------------------------------------
Cardcaptor Stacey
James Paige


Embattled Productions Home
Back to top
View user's profile Send private message Visit poster's website
NeoRicen




Joined: 05 Mar 2003
Posts: 21

PostPosted: Mon Mar 31, 2003 8:52 am    Post subject: Reply with quote

How do I get the Run on Key Press to work, I tried but it doesnt work and I have no doubt that I did something wrong...
Back to top
View user's profile Send private message Send e-mail
Guest







PostPosted: Tue Apr 01, 2003 8:41 pm    Post subject: Reply with quote

The "Run If Key is Pressed" is no good. I made the same script about a year or so ago, and it had high potential for bugginess. If I still had my scripts from Dante, I could give you my "Run If Key is Held" script from ORBituaries and Magnus XVII, but I have no way of getting those scripts...
Back to top
Uncommon
His legend will never die




Joined: 10 Mar 2003
Posts: 2503

PostPosted: Tue Apr 01, 2003 8:44 pm    Post subject: Reply with quote

Okay, that was weird... Why didn't it log me in for that previous message?

And Seth, he couldn't teach Mr. Paige anything. Trust me. Paige is a freaking plotscripting genius. Moogle1's got nothing on him.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You can post new topics in this forum
You can 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


Powered by phpBB © 2001, 2005 phpBB Group