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

re: i have problems

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






PostPosted: Sat Jul 26, 2003 6:26 pm    Post subject: re: i have problems Reply with quote

Is there a way I can import two .hs files or plotscripts without deleting the others? These are my two plotscripts.

include, plotscr.hsd
include, X_MEN.hsi

define script (3,bomb,none)

script, bomb, begin
suspend player
camera follows NPC (7)
show text box (91)
wait for text box
walk NPC (7,west,1)
camera follows hero (0)
walk hero (me,north,1)
resume player
set tag (33,off)
end


include, plotscr.hsd
include, X_MEN.hsi

define script (2, killer, none)
script, killer, begin
suspend player
walk NPC (1,north,4)
wait for NPC (1)
walk NPC (1,east,2)
wait for NPC (1)
set NPC direction (1,south)
wait (4)
show text box (6Cool
wait for text box
resume player
end


Thankyou. Please help frustrated! Urgent Crying

Also, how could i do a battle where a bad guy takes a good guy captured
and evry once in a while this bad guy hurts the hostage and you have to defeat the bad guy but if the hostage dies you die.

Thanks Happy please help urgent Crying
Back to top
Setu_Firestorm
Music Composer




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

PostPosted: Sat Jul 26, 2003 8:03 pm    Post subject: Reply with quote

Actually, you can put all your scripts into one .hs file. Just do it like this.

Code:
include, plotscr.hsd
include, yourgame.hsi   #optional

define script (1,First Script,0)
define script (2,Next Script,0)

script, First Script, begin
#commands
end

script, Next Script, begin
#commands
end


And so forth. Save it as one .hs file with all those scripts in it. That's how you do that. You can only import one .hs file anyway.

It's okay. I once wondered the same thing when I first started using OHR.

As for your second question, if you want to do that, it'd be quite tricky. You may be able to rig something like that up, but I'd let Cube tell you, `cause he's more adept to this sort of thing.
_________________


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
MultiColoredWizard
Come back, baby!
The Breastmaster



Joined: 01 Feb 2003
Posts: 1232

PostPosted: Sat Jul 26, 2003 8:15 pm    Post subject: Reply with quote

Easy, no plotscripting reqiured. All you have to do is make the Hostage-Taking enemy have an attack that's supposed to hit other enemies(look up 'ally')with an >element<, and then have a Hostage enemy, that, on a >element< death, spawns an invisible enemy with 999 speed, 999 attack power, etc. and that takes all the max damage and such without showing the damage.
Back to top
View user's profile Send private message
planethunter
Lost In Emotion




Joined: 07 Jul 2003
Posts: 258
Location: Éire

PostPosted: Sat Jul 26, 2003 11:03 pm    Post subject: Reply with quote

I reckon most people who dive in head first into the ohr, and are new probably made that same mistake. I know I did and it's a bugger!
_________________
~PH
Back to top
View user's profile Send private message Send e-mail 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