Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Tool that may help with NPCs
09-06-2009, 11:02 AM,
#11
 
I think I have it nailed at least it seems that way. Ok NPCs names and stats are now generated based on race. So you will never have a Dark Elf having the strength of an Orc or the name of a Khajiit for example.

I also added the option for custom races based on feedback I was given. The user selects the Custom Rce checkbox and then selects either "Men", "Mer" or "Beast" from the drop down box. This will create unique names and stats for the chosen option.

Here is the latest screen:

[Image: RandomNPC04.jpg]

I worked out when finished the app will be able to generate over 9000 combinations of NPCs based on all the data it holds. Thats based on 30 names per race, 10 Races and 30 classes:

30 x 10 x 30 = 9000

That could easily get bigger if more information is added.
[color="#9ACD32"]How do you Skyrim? Show Us in TES Alliance's [url="http://tesalliance.org/forums/index.php?/forum/112-official-skyrim-contest/"]Salute to Skyrim Contest[/url]![/color]
Reply
09-06-2009, 06:11 PM,
#12
 
If we can get our interiors sorted this means we can mass produce NPCs. Interior claims are go! =)
Cunning Linguist (Writer and Voice Actor - Lost Spires, St and many, many more.)
Lizard King - Leader of the Black Marsh mod
[Image: Buserbar.jpg]
Reply
09-06-2009, 06:37 PM,
#13
 
Should definately help, all the modder will have to do is mess with the face of the NPC to make them unqiue looking.

This will be released tomorrow, currently adding finishing touches and going to write a readme :nod:
[color="#9ACD32"]How do you Skyrim? Show Us in TES Alliance's [url="http://tesalliance.org/forums/index.php?/forum/112-official-skyrim-contest/"]Salute to Skyrim Contest[/url]![/color]
Reply
09-07-2009, 01:10 PM,
#14
 
Its been released, with the added addition of generating NPC spells too Smile

Download: [url="http://www.invision.tesalliance.org/forums/index.php?app=downloads&showfile=128"]TES Alliance Only[/url]
[color="#9ACD32"]How do you Skyrim? Show Us in TES Alliance's [url="http://tesalliance.org/forums/index.php?/forum/112-official-skyrim-contest/"]Salute to Skyrim Contest[/url]![/color]
Reply
09-07-2009, 02:48 PM,
#15
 
Looks pretty neat, IS. I'm sure it will come in handy for our, and other's, purposes. :goodjob:

KP
Yeah, don't let those little turds get you down. Dingleberries stick for a while, but eventually they fall off. Cool
Reply
09-07-2009, 05:44 PM,
#16
 
Great stuff, IS! Do I need to be registered on there to download it?

Would you be able to teach Fluffy Knight from Bethesda how to use this: http://www.bethsoft.com/bgsforums/index....p=14977035 ? We might then have an 'NPC guy' to hand and it would free you up to do more scripting if that's more your thing.
Cunning Linguist (Writer and Voice Actor - Lost Spires, St and many, many more.)
Lizard King - Leader of the Black Marsh mod
[Image: Buserbar.jpg]
Reply
09-07-2009, 06:47 PM,
#17
 
Quote:Originally posted by Ibsen's Ghost
Great stuff, IS! Do I need to be registered on there to download it?

Would you be able to teach Fluffy Knight from Bethesda how to use this: http://www.bethsoft.com/bgsforums/index....p=14977035 ? We might then have an 'NPC guy' to hand and it would free you up to do more scripting if that's more your thing.

Yeah you have to sign up, but its the same with all other DL sites Smile

Everything is explained in the readme, but if he needs additional information then all he needs do is ask me. If we get him on board then he can do the NPC set up and I can deal with the AI.

I think splitting the workload will help since I am scripting too :yes:
[color="#9ACD32"]How do you Skyrim? Show Us in TES Alliance's [url="http://tesalliance.org/forums/index.php?/forum/112-official-skyrim-contest/"]Salute to Skyrim Contest[/url]![/color]
Reply
09-07-2009, 08:33 PM,
#18
 
I sent him a PM and directed him here. :check:
Cunning Linguist (Writer and Voice Actor - Lost Spires, St and many, many more.)
Lizard King - Leader of the Black Marsh mod
[Image: Buserbar.jpg]
Reply
09-08-2009, 05:50 PM,
#19
 
hey man, you use visual basic right? could you maybe post up the code you used for the random name generation? i tried to code something like this last year, just interested in seeing how you went about it.
Mongati HoonDing tiavo; li-mansao einei diang.


Cassandra for the memospore era
Reply
09-08-2009, 07:06 PM,
#20
 
Quote:Originally posted by Lady Nerevar
hey man, you use visual basic right? could you maybe post up the code you used for the random name generation? I tried to code something like this last year, just interested in seeing how you went about it.

Yes Visual Basic 2008.

Code:
Dim Names As New ArrayList

Names.add("Name One")
Names.add("Name Two")

Dim RandomName As New Random
Dim NPCName As String = Names.Item(RandomName.Next(0, Names.Count))
TxtName.Text = NPCName
Hope it helps.

Edit: Might as well post this in here, I am actually working on a Random Name Generator for the Player, this time things have been improved, but the workings are similar.

[Image: RNG02.jpg]
[color="#9ACD32"]How do you Skyrim? Show Us in TES Alliance's [url="http://tesalliance.org/forums/index.php?/forum/112-official-skyrim-contest/"]Salute to Skyrim Contest[/url]![/color]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)