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

Help the noob with plotscripting please!

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
binoal




Joined: 20 Jun 2009
Posts: 123
Location: My Own Little World

PostPosted: Sun Jun 21, 2009 8:52 am    Post subject: Help the noob with plotscripting please! Reply with quote

well first of all, i just started learning plotscripting, so sorry if i dont understand what you mean at first. So, for my game resident evil infinity, im trying to create a stat display, much like the one that shows up when you open that status screen. However, in my game, you dont use MP, Magic Defense, counter, and MP reduce percentage. How can i create a stat display screen that does not show those stats? and also, i tried creating a cheat menu. None of the things are working, though. Heres my script:

Code:
plotscript, addExp, begin
   give experience (party,50000)
   end

plotscript, Ammo, begin
   get item (8,99)
   get item (10,99)
   get item (12,99)
   get item (15,99)
   end

plotscript, Guns, begin
   teach spell (0,9)
   teach spell (0,10)
   teach spell (0,11)
   teach spell (0,14)
   teach spell (0,19)
   teach spell (0,20)
   teach spell (0,31)
   teach spell (0,36)
   teach spell (0,39)
   end

plotscript, money, begin
   get money (5000)
   end


I have them in a seperate menu called cheats. The options open up text boxes saying earned 50,000 exp., gained 5000 $, etc. and the text box runs the script. None of the scripts are working though. Is it a problem with the scripts, or how i run them, or the menu> idk whats wrong... Please help the noob! Big grin
_________________
Resident Evil RPG Demo

http://www.castleparadox.com/gamelist-display.php?game=963

Legend Of Zelda: Reptilian Warlord Demo

http://www.castleparadox.com/gamelist-display.php?game=961
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Spoon Weaver




Joined: 18 Nov 2008
Posts: 421
Location: @home

PostPosted: Sun Jun 21, 2009 10:53 am    Post subject: Reply with quote

Well, if the problem is that nothing at all is happening when you try to use these scripts then I'd suggest:
You should double check how you're activating these scripts. It's not that uncommon to forget to change the after selection to ALWAYS instead of NEVER. You might also try connecting the scripts directly to the menu you plan to use. First, you'd have to add the text box to the scripts like so;

Code:

plotscript, money, begin

# I assume textbox 5 because I have no clue which one it is.
Show text box (5)

   get money (5000)

#The command below will make the text box function normally
wait for text box

   end


Once you've mastered connecting scripts directly to menus you'll be well on your way to "create a stat display". To do this you'll have to call up the parties stats and have them displayed on the screen where you want them. There are two ways to do this, Filling a textbox with the Info you want to display by using a combination of the "${V#}" command in the textboxs, and storing stats into global variables. like this;


Code:
GlobalforATK:=get hero stat (0,ATK)


Or you can display the stats using the show string at command, found here:

http://gilgamesh.hamsterrepublic.com/wiki/ohrrpgce/index.php/Plot:Show_string_at

This method would give you more control over the position of the information being displayed, but might be harder to understand and/or achieve.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
binoal




Joined: 20 Jun 2009
Posts: 123
Location: My Own Little World

PostPosted: Sun Jun 21, 2009 3:15 pm    Post subject: Reply with quote

Thanks! i still dont completely understand what you were saying with the showing stats thing, but i copied the post into a word document and im checking out the plotscripting dictionary!
_________________
Resident Evil RPG Demo

http://www.castleparadox.com/gamelist-display.php?game=963

Legend Of Zelda: Reptilian Warlord Demo

http://www.castleparadox.com/gamelist-display.php?game=961
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
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