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

switch
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Guest







PostPosted: Tue Jun 08, 2004 12:43 am    Post subject: switch Reply with quote

How do you switch from one character to another character who is in another place?
Back to top
Leonhart




Joined: 25 Feb 2004
Posts: 383
Location: Philippines

PostPosted: Tue Jun 08, 2004 2:00 am    Post subject: Reply with quote

I forgot to log in!!!! Really confused
_________________
The man who smiles when things go wrong has thought of someone to blame it on.
- Robert Bloch
Back to top
View user's profile Send private message
junahu
Custom Title: 45 character limit




Joined: 13 Jan 2004
Posts: 369
Location: Hull, England

PostPosted: Tue Jun 08, 2004 3:16 am    Post subject: Reply with quote

you have two options;

1)pray to god for the answer
2)define your question more specifically

here's a very sketchy idea

1) have catapillar party bitset active
2) disable catapillar party using plotscripting (autorun script)
3) when a key is pressed make the camera follow the next hero in your party
4) swap the position coordinates of that hero and the party leader
5) swap the order of that hero and the party leader
6) make the camera follow the party leader again

for this to work you would have to find a way of preventing the player from using the order option on the menu
_________________
Back to top
View user's profile Send private message Send e-mail
Flamer
The last guy on earth...




Joined: 04 Feb 2003
Posts: 725
Location: New Zealand (newly discovered)

PostPosted: Tue Jun 08, 2004 4:24 am    Post subject: Reply with quote

specific details will be needed for a more descriptive outline... which shouldn't be necessary...

here's a general run down on what you need to do.
you'll need global variables to store values like team1X, team1Y, team1Map...
next, you'll need to store who's in which party. there are many ways to do this one, but i'm no good at telling anyone how to do this part.

umm... yeah, moral of the story... break this task into small parts instead of always looking at it as a whole big picture.
if you break it down to little sections, it's actually a lot easier.
_________________
If we were a pack of dogs, IM would be a grand Hound, CN would be a very ficious little pitball, and Giz...well, it doesn't matter breed he is, he'd still be a bitch Raspberry!
(no offense to anyone that was mentioned)
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
rpgspotKahn
Lets see...




Joined: 16 May 2004
Posts: 720
Location: South Africa

PostPosted: Tue Jun 08, 2004 11:29 am    Post subject: Reply with quote

Umm... are you talking about NPC's or HERO's... ? because NPC's could be a whole lot harder to do if you wanted to change scene onto another map with an assigned NPC.

Please define your question more clearly. Happy
_________________

2nd Edition out now!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
LeRoy_Leo
Project manager
Class S Minstrel



Joined: 24 Sep 2003
Posts: 2683
Location: The dead-center of your brain!

PostPosted: Tue Jun 08, 2004 12:11 pm    Post subject: Reply with quote

Flamer wrote:
specific details will be needed for a more descriptive outline... which shouldn't be necessary...

here's a general run down on what you need to do.
you'll need global variables to store values like team1X, team1Y, team1Map...
next, you'll need to store who's in which party.


yea. I saw this last night REALLY late. That's probobly what you should do, lionheart. Good luck.

*teleport to map or set hero position might do the trick to move heros around. Is that what you wanted to do?*
_________________
Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...

---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. "
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Leonhart




Joined: 25 Feb 2004
Posts: 383
Location: Philippines

PostPosted: Tue Jun 08, 2004 9:53 pm    Post subject: Reply with quote

I just want to know how to play a completely different character if the main character, for example, got hit on the head and is unable to continue.
_________________
The man who smiles when things go wrong has thought of someone to blame it on.
- Robert Bloch
Back to top
View user's profile Send private message
LeRoy_Leo
Project manager
Class S Minstrel



Joined: 24 Sep 2003
Posts: 2683
Location: The dead-center of your brain!

PostPosted: Wed Jun 09, 2004 12:13 am    Post subject: Reply with quote

Swap in and out hero... Right guys?

PS: Lock hero too if you want him to stay out till later. Then unlock and swap or add to party.
_________________
Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...

---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. "
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Wed Jun 09, 2004 2:46 am    Post subject: Reply with quote

You are all insane.

If you want to change the active hero, use:

swap in hero (who)
swap out hero (who)
lock hero (who)
unlock hero (who)

Add, if you haven't already added the hero, use

add hero (who)

So lets say hero A is in the party, and B is locked in the reserve

Code:

  unlock hero (hero: B)
  swap in hero (hero: B)
  swap out hero (hero: A)
  lock hero (hero: A)


I think. I'm not really good at this stuff.

If you also want the location to change, use

teleport to map (map,x,y)
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
junahu
Custom Title: 45 character limit




Joined: 13 Jan 2004
Posts: 369
Location: Hull, England

PostPosted: Wed Jun 09, 2004 3:13 am    Post subject: Reply with quote

But... does he want this to happen at will? Or is this just some cutscene where we end up playing as a different character?

Pissed off! Why do I always overthink these things?
_________________
Back to top
View user's profile Send private message Send e-mail
Flamer
The last guy on earth...




Joined: 04 Feb 2003
Posts: 725
Location: New Zealand (newly discovered)

PostPosted: Wed Jun 09, 2004 6:00 am    Post subject: Reply with quote

ok, think of what you want, think of how you want to do it...
and IF you're STUCK... then and ONLY THEN post about how you should've done it, what have done on the issue....

and MAYBE then people will give you a straight answer, because right now... i feel like ignoring your posts.... (i'm tired as well, but i would at least keep a straight mind and NOT post about half a thought... if even that)
_________________
If we were a pack of dogs, IM would be a grand Hound, CN would be a very ficious little pitball, and Giz...well, it doesn't matter breed he is, he'd still be a bitch Raspberry!
(no offense to anyone that was mentioned)
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
LeRoy_Leo
Project manager
Class S Minstrel



Joined: 24 Sep 2003
Posts: 2683
Location: The dead-center of your brain!

PostPosted: Wed Jun 09, 2004 1:02 pm    Post subject: Reply with quote

The Mad Cacti wrote:

If you want to change the active hero, use:

swap in hero (who)
swap out hero (who)
lock hero (who)
unlock hero (who)

Add, if you haven't already added the hero, use

add hero (who)

So lets say hero A is in the party, and B is locked in the reserve

Code:

  unlock hero (hero: B)
  swap in hero (hero: B)
  swap out hero (hero: A)
  lock hero (hero: A)


If you also want the location to change, use

teleport to map (map,x,y)


Precisely what I meant to say... Thank you for clarifying, TMC. Big grin
_________________
Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...

---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. "
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Leonhart




Joined: 25 Feb 2004
Posts: 383
Location: Philippines

PostPosted: Wed Jun 09, 2004 8:20 pm    Post subject: Reply with quote

Boy, I'm being a pain in the...neck! Sorry I can't find the right words to clarify this whole thing.

Anyway, you know in Resident Evil 1,2,3 when you always get to play as the other character so that you can get something in a particular place that the other one can't reach (ex. Sherry in RE2)?

That's what I want. I have no experience in plotscripting and that's the reason why I'm asking that question. Is MAd Cacti's idea good enough? It kinda makes sense to me. What do you all think?
_________________
The man who smiles when things go wrong has thought of someone to blame it on.
- Robert Bloch
Back to top
View user's profile Send private message
RedMaverickZero
Three pointed, red disaster!
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 12 Jul 2003
Posts: 1459

PostPosted: Wed Jun 09, 2004 9:40 pm    Post subject: Reply with quote

Hey, that's the name of the thread. Plotscripting help. It's what we're all here for.
_________________
---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70%
Back to top
View user's profile Send private message Send e-mail AIM Address
Shadowiii
It's been real.




Joined: 14 Feb 2003
Posts: 2460

PostPosted: Wed Jun 09, 2004 9:50 pm    Post subject: Reply with quote

Do you mean, switch characters at any time?

If so, your script would be something like this. You'd assign it for "on keypress"



if (keyispressed(*putwhateverkeyitishere*))
swap by name (hero:*nameofherox*, hero:*nameofheroy*)
end
#to reverse the swap

if (keyispressed(*putadifferentkeyitishere*))
swap by name (hero:*nameofheroy*, hero:*nameofherox*)
end

Put this on "when key is pressed" on the maps you want this optiont o be available. As a good idea, you may want to lock and unlock the heroes each time, as then the person can't go into "Party" or whatever that command is and manually get them himself.

You could add on to this for as many heroes as you need. You'll probably need a "find hero" before each one just to check which hero is being swapped, but that's really easy.

Also, if you, say, wanted NPCs to day different things depending on which hero you had, this could be simply altered by useing tags on each command.

Oh yeah, my code isn't perfect, so dont' cut and paste (I forgot ends and then,begins for the ifs and stuff).

Hope that's what you ment, as I have never played RE.
_________________
But enough talk, have at you!
Back to top
View user's profile Send private message Send e-mail
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  Next
Page 1 of 2

 
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