Aller au contenu

Photo

How to make twins?


  • Veuillez vous connecter pour répondre
19 réponses à ce sujet

#1
Williamtheknight

Williamtheknight
  • Members
  • 8 messages
 I am new the NWN2 and also the forum. I am just starting a game on toolset and I am wanting to know if any one knows how to make twins in the game. What I want to do is have twins as my main characters. I want the game to start out like normal but after the first mate tell me to wake my twin up then is will go in to character creation mode with only the race that the fist character is. Please help!

#2
Shaughn78

Shaughn78
  • Members
  • 637 messages
So, the twin will be a companion. The only way to limit race selection is to edit the subrace.2da, but that will limit the races for all player created characters.

One way to do this may be to clone the player character. This will have some advantages as it will make an identical twin: appearance, tints, race and stats. The draw back will be an identical character: class, feats, skills and spells. This may be the simplest way to create a twin but it does have some issues. CopyObject is the function.

If you want to invest some time you could control the twin creation through conversation. This will allow the player to choose a class for their twin. You will need to create a lot blueprints, each race will need a set as will each gender. You could limit this by only using the 4 core classes: fighter, divine, arcane & rogue. You would set the stats, feats, skills and spells on these characters. The SetAppearance function will be used to make the new companion look like the player character. There is a SetGender function but it requires an area reload to make the changes and initially could cause some weird behavior so I would suggest not using it. The one major draw back to this is that tints can't be controlled in script, so skin color will vary between the twins.

I hope this helped.

#3
Guest_Iveforgotmypassword_*

Guest_Iveforgotmypassword_*
  • Guests
To start the game you need a character so that's going to be a problem so I don't think you'll be able to create a character after it's started. However you might be able to run checks on the PC and then spawn in a character of that race in the area the PC has to go to. Just do all different lines of conversations after the first mate's line using the conditions provided in the conversations tab and it will go to the one that your PC is automatically and make that line fire the spawn action to create the twin of that race. You can even duplicate the lines for male or female if you want mixed sex twins.

The thing is you're going to have to make a lot of companion blueprints for each possibility, you can narrow it down by making your module race specific and wipe out a few. Just put it in the description and warn peole that if they decide against your advice it will look daft or just not work due to the conversation conditions. Even put a line of conversation that if the race requirements are not met will stop the module and tell the player to make a new PC..

Looks like we posted at the same time !

Modifié par Iveforgotmypassword, 13 mars 2013 - 12:13 .


#4
Friar

Friar
  • Members
  • 293 messages
Sounds like an interesting plot for an adventurer to have a twin. I wish you luck with learning the toolset.

#5
Williamtheknight

Williamtheknight
  • Members
  • 8 messages
Thanks for the help I will see what I can do. The only other way that I can see doing this is to use the same team up book from storm of zehir but I don't want people to cheat by having a total of six companions rather than the norm of three companions plus the twin. Just to let yu know I want the game to start out normally that means you can create your hero then when the game starts, you are told to wake your twin than the character creation mode come back on and you can make the twin. But I see this will be little harder than I thought.

Modifié par Williamtheknight, 13 mars 2013 - 08:10 .


#6
Williamtheknight

Williamtheknight
  • Members
  • 8 messages
By the way I want to have the game to have a twin because I am an identical twin so I don't really connect well with an only child hero in the main campaign. Life was easier in Baldur's Gate hit multiplayer and then boom you have twins. At least in your head any way.

#7
Dann-J

Dann-J
  • Members
  • 3 161 messages
I happen to have a pair of dwarven twins ('thunder twins' born after Moradin's Thunder Blessing) in my next module. One is a potential companion, but he can always sense the direction of his brother (who happens to be a weapon merchant). If the companion twin is in your party, his merchant brother will occasionally turn up in certain places with a small boar-drawn wagon laden with goods.

#8
Arkalezth

Arkalezth
  • Members
  • 3 189 messages

How to make twins?

You see, when mom and dad love each other very much...

Sorry, I couldn't resist.

#9
PJ156

PJ156
  • Members
  • 2 983 messages
You could give the player the .bic file for one of the twins. they could play that or choose thier own and accept that they don't look like thier twin. It is all in the players head so this could work. You could provide a .bic for each of the major classes to give some player choice.

That way you know what the player is going to look like. So long as you warn them this is what you are doing if they choose to play a dwarf then they can.

PJ

#10
Williamtheknight

Williamtheknight
  • Members
  • 8 messages
Thanks for the help. But I'm just going to use the log book. People will cheat if they want to but it will be the easiest way.

#11
Morbane

Morbane
  • Members
  • 1 883 messages
you can restrict how many companions a party has

script assist search for "comp" or "roster"

also look on the vault for EC's Super Include and copy it into your module directory before searching - better options that way

#12
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 592 messages
You could change it to "find your twin" rather than "wake your twin", create a companion for every race and gender and put them all in a place (like a tavern). Then for each companion the initial conversation would check to see if they are the same race as the main PC. If they aren't then they say "Goodbye", but if they are the same race and you haven't already added one then they get added as your companion.

Regards

#13
Williamtheknight

Williamtheknight
  • Members
  • 8 messages
clever thought. I might use that. It will take some time to make this game because I am new to the toolset, Full time student, Father, and Husband. Lots of work. But it will be done. If I did do this I will defeninty limit the races you can play like say Sheild dwarf, Drow, Moon elf, wood elf, Half-link, and Human. classes would most likely be Fighter, Wizard, Cleric, rogue, and Palidin.
:police:

Modifié par Williamtheknight, 15 mars 2013 - 08:04 .


#14
Williamtheknight

Williamtheknight
  • Members
  • 8 messages
Here is an idea tell me what you think. Now I was told that you can limit the number of companions you can have at a time. So when the game starts you find your self in a room with the companion log book and a door now you are told through dialog that you have a twin and you need to make one. If you go to the door it will not let you out untell you have your twin if you make more than one companion when you go to the door it will pop up the choose companion list and it will only let you take one with you. After you leave this room the game starts and the you are now limited oto three companions and your twin is set to so that you can not remove him or her (the twin is not counted in the three companion list) Would this work that way so that the player has control over what their twin looks like.

Modifié par Williamtheknight, 15 mars 2013 - 08:54 .


#15
Guest_Iveforgotmypassword_*

Guest_Iveforgotmypassword_*
  • Guests
I don't know how you'd do it but by telling the player to make their twin and save that character before making their own is a good idea that way you can't be blamed for anything twin related. The problem will come with gender as I don't know how you check a companions gender during conversations.

#16
Williamtheknight

Williamtheknight
  • Members
  • 8 messages
No I was thinking is there a way to keep the player from leaving without their twin. I just want to door not allow you to leave with more than one companion. I don't care if the player makes a dwarf with an elf companion just as long as he can't leave the room with an army of companion.

#17
Morbane

Morbane
  • Members
  • 1 883 messages
if you use the OC companion scripting set, the player will not be able to choose more companions then you have set in script.

so it can be any number up to the total you set from only 1 to some limit around 5 or 6 iirc

#18
Morbane

Morbane
  • Members
  • 1 883 messages
this is the script that can be put on any useable placeable:

#include "ginc_gui"
void main()
{
object oPC = GetLastUsedBy();

if (!GetIsPC(oPC)) return;

AssignCommand(oPC, ClearAllActions());

AddRosterMemberByTemplate("aldonoth", "aldonoth");
AddRosterMemberByTemplate("kage", "kage");
AddRosterMemberByTemplate("zanz", "zanz");
AddRosterMemberByTemplate("sesha", "sesha");
AddRosterMemberByTemplate("voltus", "voltus");
AddRosterMemberByTemplate("cancel", "cancel");
AddRosterMemberByTemplate("claudius", "claudius");
AddRosterMemberByTemplate("eve", "eve");

SetRosterNPCPartyLimit(4);

ShowPartySelect(oPC, TRUE, "", TRUE);

}


of course these are pre made companions so the dynamic might look a little different for your purposes, but the basic scripting functions are there...
B)

Modifié par Morbane, 15 mars 2013 - 07:43 .


#19
Shaughn78

Shaughn78
  • Members
  • 637 messages
You can control the SOZ party size with the campaign editor. You will need to make a campaign, not a single module to take advantage of the SOZ party system.

In the editor you can set the "Party Creation" to True, then "party creation size" to 2. The original PC then the twin. This will not limit the party size to 2 only the player created party members (SOZ party), additional companions can be added to the party based on the roster size, Morbane's above script.

Modifié par Shaughn78, 15 mars 2013 - 11:57 .


#20
Williamtheknight

Williamtheknight
  • Members
  • 8 messages
Thank you that is very helpful I was going to make a campaign any way I love to write so a full story is what I was wanting.