How to make twins?
#1
Posté 13 mars 2013 - 12:53
#2
Posté 13 mars 2013 - 12:09
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_*
Posté 13 mars 2013 - 12:11
Guest_Iveforgotmypassword_*
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
Posté 13 mars 2013 - 06:04
#5
Posté 13 mars 2013 - 07:15
Modifié par Williamtheknight, 13 mars 2013 - 08:10 .
#6
Posté 13 mars 2013 - 07:18
#7
Posté 13 mars 2013 - 09:54
#8
Posté 13 mars 2013 - 10:16
You see, when mom and dad love each other very much...How to make twins?
Sorry, I couldn't resist.
#9
Posté 13 mars 2013 - 11:20
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
Posté 13 mars 2013 - 11:52
#11
Posté 14 mars 2013 - 01:27
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
Posté 14 mars 2013 - 11:37
Regards
#13
Posté 15 mars 2013 - 07:52
Modifié par Williamtheknight, 15 mars 2013 - 08:04 .
#14
Posté 15 mars 2013 - 08:51
Modifié par Williamtheknight, 15 mars 2013 - 08:54 .
#15
Guest_Iveforgotmypassword_*
Posté 15 mars 2013 - 10:58
Guest_Iveforgotmypassword_*
#16
Posté 15 mars 2013 - 05:39
#17
Posté 15 mars 2013 - 07:38
so it can be any number up to the total you set from only 1 to some limit around 5 or 6 iirc
#18
Posté 15 mars 2013 - 07:41
#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...
Modifié par Morbane, 15 mars 2013 - 07:43 .
#19
Posté 15 mars 2013 - 11:52
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
Posté 16 mars 2013 - 08:04





Retour en haut







