Welcome Guest ( Log In | Register )

> Please Help!, Need some advice!
dodgey_dave_101
post Apr 2 2006, 11:25 PM
Post #1


Associate

Joined: 30-March 06



Hi, I've created a new race but i need some help implimenting it as i have little scripting experience. The problem is that when you try to start a new game with a new race it is not possible to start the game because the guy in the opposite cell never taunts you, so the game never gets started.

I've found the script for the guy that is supposed to taunt you, but i'm not sure how i need top modify it to incorporate a new race.

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

any help would be greatly apreciated!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
RobRendell
post Apr 5 2006, 02:11 AM
Post #2


Agent

Joined: 22-September 05
From: Melbourne, Australia




I've just found a mod out there that supposedly deals with exactly this issue:

http://www.tessource.net/files/file.php?id=1815

You can probably see how he does it, if you don't want to recommend that people using your mod apply this one too. Although, without having looked into it, I'd say that having a generic fix module is probably better for compatability than each race mod trying to fix it individually...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 3rd August 2025 - 08:04 PM