dodgey_dave_101
Mar 30 2006, 11:51 PM
I created a new race today, no probs. created my character, no probs. but when i start the game in the prison cell, the guy who taunts you from the opposite cell doesn't say anything. i assume this is because his script doesn't allow for him to recognise any races apart from the standard ones. This is a problem because if he doesn't taunt you, the game never gets started and you are stuck in the cell. I have no sripting knowledge, so i wouldn't know where t start, so any help would be appreciated.
Dirox
Mar 31 2006, 05:45 AM
ok, i have never looked at the cs for ovlivion but I have plenty of experiance with morrowinds cs.
Asuming it is the same layout..
find his script, it should say when you look at his stats and stuff
go into the script and try to find a pattern
like if you see the same thing repeating eccept the only difference being that one says
"imperial" and one says "Orc"
copy one of those and change the race name to your race
that should work, eccept that whatever race you copied, the other prisoner will probably say the same thing
like if the script is like
If ( pclocation == 765, 4656, 546 )
If ( playerrace == 6 ) ; (the orc)
Playwav. OrcTrashTalk
endif
endif
copy and change the race, i dono if you have to type the name, or the race number, if it is a number its either 10 or 11, because there are 10 races but i dont know if they count 0 as a race
If ( pclocation == 765, 4656, 546 )
If ( playerrace == 11 ) ; (your race)
Playwav. OrcTrashTalk
endif
endif
so copy 1 races section, change race to yours, and if you want, and you know which format the sound file has tto be, with you mic record yourself saying like, "Mhh i havent seen your kind in a long time" or "What the heck are you?" and put that in the wav. spot
then you will have him talk, give your race a unique intro, and there ya go..
hope that helps, if you cant figure it out, leave another message here and ill check back soon, also if you manage to find his script, copy and paste it here and ill tell you exactly what to do.
dodgey_dave_101
Mar 31 2006, 01:19 PM
Thanks, here is the script:
scn ValenDrethScript
float timer
short talk
short lastStage
begin gamemode
if timer > 0
set timer to timer - getsecondspassed
elseif talk == 1
set lastStage to CharacterGen.tauntStage
set timer to SayTo player, CharGenTaunt2 1
if getstage characterGen == 9
set characterGen.convTimer to timer - .5
if characterGen.debug == 1
message "DEBUG: Valen Dreth last info, convTimer to %.2f", characterGen.convTimer
endif
endif
; pause briefly between taunt stages
if lastStage< CharacterGen.tauntStage
set timer to timer + 10
endif
endif
if talk == 0
if getstage charactergen == 6 && CGValenDrethTauntMarker.getdistance player < 610 && getstagedone MQ01 10 == 1
set talk to 1
evp
endif
endif
if talk == 2 && timer <= 0
set talk to 3
evp
endif
end
begin onHit player
stopcombat
if getav health < 15
forceav health 15
endif
end
What do i need to do with that?