 |
Castle Paradox
|
View previous topic :: View next topic |
Author |
Message |
binoal

Joined: 20 Jun 2009 Posts: 123 Location: My Own Little World
|
Posted: Sun Jun 21, 2009 8:52 am Post subject: Help the noob with plotscripting please! |
|
|
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!  _________________ 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 |
|
 |
Spoon Weaver

Joined: 18 Nov 2008 Posts: 421 Location: @home
|
Posted: Sun Jun 21, 2009 10:53 am Post subject: |
|
|
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 |
|
 |
binoal

Joined: 20 Jun 2009 Posts: 123 Location: My Own Little World
|
|
Back to top |
|
 |
|
|
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
|