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

Plotscripting Error- Mine

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




Joined: 16 Mar 2003
Posts: 160
Location: dunno

PostPosted: Wed May 07, 2003 1:33 pm    Post subject: Plotscripting Error- Mine Reply with quote

Hey I was just wondering why My script isnt uploading properly, Can someone tell me what I'm doing wrong, Please,... Very much appreciated I've got .hsi, it just wont upload properly, somethin about the hero names. Oookay...
(Note, Please dont criticise the names and stuff, i'm basing this on this crappy game my friend did,... RPG Maker 2003,.. In my opinion cheap, and the easy way.) Huh?
--------------------------------------------------------------------------------------

include, plotscr.hsd
include, Sarde.hsi

#---------------------------------------------------------------
# heroparty sets the main party and there weapons

define script (1, Heroparty, none)
# the name of the argument is Joe d
script, Heroparty, begin
add hero: Joe D (Joe D)
add hero: Katlyn (Katlyn)
add hero: Daniel (Daniel)
add hero: Sean Gilroy (Sean Gilroy)
set default weapon Joe D, Drgn Swd
set default weapon Katlyn, Drgn Swd
set default weapon Daniel, Drgn Swd
set default weapon Sean Gilroy, Drgn Swd
end

#------------------------------------------------
_________________
...eh?
Back to top
View user's profile Send private message Visit poster's website
efgeise
the pissed off consumer




Joined: 20 Feb 2003
Posts: 16

PostPosted: Wed May 07, 2003 5:23 pm    Post subject: Re: Plotscripting Error- Mine Reply with quote

Rpeanut wrote:
Hey I was just wondering why My script isnt uploading properly, Can someone tell me what I'm doing wrong, Please,... Very much appreciated I've got .hsi, it just wont upload properly, somethin about the hero names. Oookay...
(Note, Please dont criticise the names and stuff, I'm basing this on this crappy game my friend did,... RPG Maker 2003,.. In my opinion cheap, and the easy way.) Huh?
--------------------------------------------------------------------------------------

include, plotscr.hsd
include, Sarde.hsi

#---------------------------------------------------------------
# heroparty sets the main party and there weapons

define script (1, Heroparty, none)
# the name of the argument is Joe d
script, Heroparty, begin
add hero: Joe D (Joe D)
add hero: Katlyn (Katlyn)
add hero: Daniel (Daniel)
add hero: Sean Gilroy (Sean Gilroy)
set default weapon Joe D, Drgn Swd
set default weapon Katlyn, Drgn Swd
set default weapon Daniel, Drgn Swd
set default weapon Sean Gilroy, Drgn Swd
end

#------------------------------------------------

It should read like this:
Code:

include, plotscr.hsd
include, Sarde.hsi

define script(1,heroparty,none)

script, heroparty, begin
add hero (Joe D)
add hero (Katlyn)
add hero (Daniel)
add hero (Sean Gilroy)
set default weapon (Joe D,Drgn Swd)
set default weapon (Katlyn,Drgn Swd)
set default weapon (Daniel,Drgn Swd)
set default weapon (Sean Gilroy,Drgn Swd)
end
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 May 07, 2003 5:28 pm    Post subject: Reply with quote

Not if he doesn't have constants set up (which he doesn't, unless he left them out). He'll have to use the 'hero:name' and 'item:name' formulas for the names, as defined in the .hsi file.
_________________
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
efgeise
the pissed off consumer




Joined: 20 Feb 2003
Posts: 16

PostPosted: Thu May 08, 2003 3:11 pm    Post subject: Reply with quote

My mistake.
Back to top
View user's profile Send private message
Rpeanut
Chop Chop




Joined: 16 Mar 2003
Posts: 160
Location: dunno

PostPosted: Thu May 08, 2003 6:48 pm    Post subject: Constants...??? Reply with quote

In the term contsants you mean, the hero names, and the item names, I've got those in the .hsi, the error is just weird because It screws up at the part when It's setting the characters. Pissed off!
_________________
...eh?
Back to top
View user's profile Send private message Visit poster's website
Setu_Firestorm
Music Composer




Joined: 26 Mar 2003
Posts: 2566
Location: Holiday. FL

PostPosted: Fri May 09, 2003 11:39 am    Post subject: Reply with quote

That is because when you make your .hsi file, If you download the HSSED program, you can read it and it will say for example:

Code:
1) hero:Hoshima
2) hero:Saki
3) hero:Kounnosuke
4) song:Mystery
5) song:Overworld theme
6) item:Katana
7) item:Herb


Ya know, stuff like that, so when you script it out, say you wanted to equip Kounnosuke with the Katanas and give him 5 Herbs to start, you'd write it like this:

Code:
Script, NewGame, begin
force equip (hero:Kounnosuke,slot:Weapon,item:Katana)
get item (item:Herb,5)
end


You have to type it like that when you are referring to your .hsi because if you don't, it won't compile.
_________________


Facebook: http://www.facebook.com/georgerpowell
Newgrounds: http://setu-firestorm.newgrounds.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Rpeanut
Chop Chop




Joined: 16 Mar 2003
Posts: 160
Location: dunno

PostPosted: Mon May 12, 2003 4:25 pm    Post subject: Reply with quote

include, plotscr.hsd
include, Sarde.hsi
# HamsterSpeak constant definitions for Sarde

define constant, begin
0,song:PRTHEME
1,song:HARP
2,song:ABATT
3,song:CIDTH
4,song:CHOFIRE
0,hero:Joe D
1,hero:Katlyn
2,hero:Daniel
3,hero:Sean Gilroy
4,hero:Sarde
0,item:Drgn Swd
0,stat:HP
1,stat:MP
2,stat:Atk
3,stat:Aim
4,stat:Def
5,stat:Dog
6,stat:Mag
7,stat:Wil
8,stat:Spd
9,stat:Ctr
10,stat:MP~
11,stat:Hits
1,slot:Weapon
2,slot:Head
3,slot:Body
4,slot:Arms
5,slot:Legs
0,map:Worldmap
1,map:SeanHouse
2,map:Mikehouse
3,map:JeffHouse
4,map:Brendenhouse
5,map:Evil lair
6,map:Castle
end


#---------------------------------------------------------------
# heroparty sets the main party and there weapons

define script (1, Heroparty, none)
# the name of the argument is Joe d
script, Heroparty, begin
add hero Joe D
add hero Katlyn
add hero Daniel
add hero Sean Gilroy
end

#----------------------------------------------------------

Well, I figured out how to make there defaults weapons, in the OHR editor, but my Pissed off! Compiler dosen't recognive the &*^$^&*%(%&* constant of my hero names!!!! can someone try to compile it because it might be that my compiler is busted...
_________________
...eh?
Back to top
View user's profile Send private message Visit poster's website
Blazes Battles Inc.
I'm a chimp, not a




Joined: 25 Jan 2003
Posts: 505

PostPosted: Tue May 13, 2003 12:17 pm    Post subject: Reply with quote

It's because you forgot the parentheses. Remember in the plotdictionary, it's in this format: 'command (argument[s])'?

For example, the correct format for the add hero command is 'add hero (name)'.

EDIT: And not just 'add hero (name)' the way you have it. If you really don't want to use numbers, which is easier (to me, at least), you must use it like this: 'add hero (hero:HEROSNAMEASDEFINEDINTHEHSIFILE)'
_________________
Preserve OHR history! Do it for the children!


Last edited by Blazes Battles Inc. on Tue May 13, 2003 12:19 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rpeanut
Chop Chop




Joined: 16 Mar 2003
Posts: 160
Location: dunno

PostPosted: Fri May 30, 2003 3:57 am    Post subject: Reply with quote

Thank You, I'll stick with numbers, I expiremented and they are easier.... Now I can start making my game! yipee,... oh, wait, a wall of homework,... Nuts got to wait to the summer.
_________________
...eh?
Back to top
View user's profile Send private message Visit poster's website
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