Jump to content


Emzeror

Member Since 26 Jan 2008
Offline Last Active Apr 06 2009 11:35 PM

Topics I've Started

Fast question about scripting.

22 February 2008 - 08:30 PM

IF
  Global("CheckSabrinaMatch","GLOBAL",0)
  Global("SabrinaMatch","GLOBAL",0)
  Gender("Player1",MALE)
THEN
  RESPONSE #100
	SetGlobal("CheckSabrinaMatch","GLOBAL",1)
	SetGlobal("SabrinaMatch","GLOBAL",1)	
EXIT

IF
  Global("SabrinaMatch","GLOBAL",1)
  Global("SabrinaRomanceActive",0)
THEN
  RESPONSE #100
	SetGlobal("LoveTalk","LOCALS",1)
	SetGlobal("SabrinaRomanceActive", 1)
	RealSetTimer("SabrinaRomance", 1200)
EXIT

Why are 99% of the mods using that code instead of:
IF
  Global("CheckSabrinaMatch","GLOBAL",0)
  Global("SabrinaMatch","GLOBAL",0)
  Gender("Player1",MALE)
THEN
  RESPONSE #100
	SetGlobal("CheckSabrinaMatch","GLOBAL",1)
	SetGlobal("SabrinaMatch","GLOBAL",1)	
	SetGlobal("LoveTalk","LOCALS",1)
	SetGlobal("SabrinaRomanceActive", 1)
	RealSetTimer("SabrinaRomance", 1200)
EXIT

And lastly, why is there one CheckSabrinaMatch and one SabrinaMatch, shouldn't there only need to be one SabrinaMatch?

Basicaly, why can't you even use:
IF
  Global("SabrinaMatch","GLOBAL",0)
  Gender("Player1",MALE)
THEN
  RESPONSE #100
	SetGlobal("SabrinaMatch","GLOBAL",1)	
	SetGlobal("LoveTalk","LOCALS",1)
	SetGlobal("SabrinaRomanceActive", 1)
	RealSetTimer("SabrinaRomance", 1200)
EXIT

Thanks in Advance for clearyfing this.

Help with Kit Creation (New Problem)

19 February 2008 - 10:23 AM

So, I did add the spells as I should etc, now it installs proper, just that the nice game crashes when I try create the charachter. It crashes when I choose the "Skill" part. Anyone having any idea? I went over the Kit Creation guide, but could not find any. (If this problem is solved maybe this mod can be finished soon so I can start the real project ^^)

So I am currently making a Kit for Fighter called Death Knight, but that is not really of intresst here.

I want to know if there is a list of what all abilities are named, or an easier way of checking them instead of adding them one and one by checking the other .2da files. I don't want you to do the work for me really, but a list of what type of things can be listed here:
http://www.shsforums...mp;#entry377755

The spells I am pretty certain I can sort out, but for example "Immune to Hold", I browsed through all .spl files, and did not find a single Immune to Hold thing. I checked through the .2da but can't find which one is the paladins file.

Thanks in advance.

Fighter Class Kit

11 February 2008 - 10:38 AM

Death Knight
Death Knights are warriors who attained the power of necromancy. With the dark arts learnd, they've used their combat abilities less and become weakend in the arts of sword. The deeper the taint of a death knight reaches through the body, the more power they acknowledge. At a start, death knights look weak, just like another specie that has been corrupted with the lust for power and have to pay the price. But fear them later, they rapidly grow in strength and soon, they will be the feared ones.

Requirements
* Human, Half-Elf, Dwarf, Half-Orc
* Evil Alignment
* 12 Str, 12 Int

Advantages
- Bonus +1 to hit and damage.
- Every tenth level he gains -1 to Casting Speed, starting at level 10.
- Can put three points into "Two Weapon Style".
- Immune to Morale Failure and Fear
- Memorizes spells and gains certain immunities dependant on level:
10th: 2x Fireball, 2x Intense Pain (DoT, damge / effects not decided yet)
12th: 2x Doom, Immune to Disease
14th: 2x Breach, 2x Pierce Magic, Immune to Poison
16th: 2x Death Spell, Immune to Level Drain
18th: 1x Abi-Dalzim's Horrid Wilting, 1x Power Word: Pain (DoT, damge / effects not decided yet)
20nd: 2x Wail of Banshee, Immune to Charm
22th: Immune to Hold, 2x Sacrifice (Temporarily increasing Str, Dex, Dam by 5, decreasing Saves by 2)

Disadvantages
- Can only be specialized in weapons.
- May not use missile weapons.
- May not wear shield. (Before HLA reached)
- +2 to AC.
- +2 to Saves
- -2 to Wisdom.
- -10% Experience Gain.

High-Level Abilities (Not yet finished)
T1: 1x Extra Intense Pain.
T2: 1x Extra Power Word: Pain.
T3: 1x Abi-Dalzim's Horrid Wilting.

T1: Immune do Death Effects.

T1: May wear a shield.

T1: Darken Armor -1 AC.
T2: Murder Instict +1 Dam.
T3: Piercing Strike -1 THAC0.
T4: Rune Strike (4d10 + 1d4/int)

T1: Cursed Flebility (+1 Str & -1 Dex)
T2: Tainted Mind (+1 Int & -1 Wis)

- [ | | | | | | | | | | ] - 30% Done

Edit1: Move Saves from Level 10, 20 and 30 to 15, 25 and 35. More vulnerable in Dual-Classing.
Edit2: Reduced one Charge of Abi'Dalzim's Horrid Withering
Edit3: Changed Advantages / Disadvantages
Edit4: Changed save description and also added one more point into "Two Weapon Style".
Edit5: Starting with Immune to all kind of fears, instead of just morale failure.

Edit6: Major changes.

Talk not happening -- Again!

06 February 2008 - 12:03 PM

Charachters BAF file: eeXel.baf
//Check if Xelina matches
IF
  Global("eeXelMatch","GLOBAL",0)
  Global("CheckeeXelMatch","GLOBAL",0)
  Gender(Player1,MALE)
THEN
  RESPONSE #100
	SetGlobal("CheckeeXelMatch","GLOBAL",1)
	SetGlobal("eeXelMatch","GLOBAL",1)
	SetGlobal("eeXelRomanceActive","GLOBAL",1)		//If the romance is active or not, 0=No, 1=Yes, 2=Love, 3=Marriage, 4=Crashed
	SetGlobal("eeXelLoveTalk","LOCALS",1)
	SetGlobal("eeXelLove","LOCALS",1)			//How much Xelina loves you
	RealSetGlobalTimer("eeXelRomance","GLOBAL",10)
END

//Showing next Love Talk
IF
  InParty(Myself)
  RealGlobalTimerExpired("eeXelRomance","GLOBAL")
  Global("eeXelRomanceActive","GLOBAL",1)
  !AreaType(Dungeon)
  !StateCheck(Player1,CD_STATE_NONVALID)
  !StateCheck(Myself,CD_STATE_NONVALID)
  Detect(Player1)
  OR (1)
	Global("eeXelLoveTalk","LOCALS",1)
THEN
  RESPONSE #100
	IncrementGlobal("eeXelLoveTalk","LOCALS",1)
	Interact(Player1)
END

//Restting Love Talk
IF
  InParty(Myself)
  RealGlobalTimerExpired("eeXelRomance","GLOBAL")
  Global("eeXelRomanceActive","GLOBAL",1)
  !AreaType(Dungeon)
  !StateCheck(Player1,CD_STATE_NONVALID)
  !StateCheck(Myself,CD_STATE_NONVALID)
  Detect(Player1)
  OR (1)
	Global("eeXelLoveTalk","LOCALS",2)
THEN
  RESPONSE #100
	RealSetGlobalTimer("eeXelRomance","GLOBAL",10)
	IncrementGlobal("eeXelLoveTalk","LOCALS",1)
END

Charachters B file: BeeXel.d
BEGIN BeeXel

IF
  ~Global("eeXelMatch","GLOBAL",1)
  OR(2)
	Global("eeXelRomanceActive","GLOBAL",1)
	Global("eeXelRomanceActive","GLOBAL",2)
  Global("Lovetalk","LOCALS",2)~
THEN BEGIN RomanceTalk1
  SAY @0
  ++ @1 GOTO RomanceTalk11a
END

IF ~~ THEN BEGIN RomanceTalk11a
  SAY @2
  IF ~~ THEN EXIT
END

I've saved the game so I could check the variables:
CheckeeXelMatch = 1
eeXelMatch = 1
eeXelRomance = 4833
eeXelRomanceActive = 1

So then I thought there was some problem with the "eeXelLoveTalk", but appereantly there wasn't because it is increasing all the time, ending up at "3". So I added more LoveTalks, just to see, finally it ended up on 99... So the LoveTalk is increasing, the timer is resetting, but no dialog appears.

I've mostly ripped straigth from already working projects and from BioWares ways of doing it. So I guess I am doing something serously wrong.
The DV is eeXel
Every file is compilling correctly. So what problems do I have?

Thanks in Advance.

Bugs - Just installed it!

05 February 2008 - 07:05 AM

Almost every talk in the game can happen twice or more.

Example everytime I talk to Paraway he says the introduction talk.
Same with Meepo.

Also in the Castle, where you find the follower of Shar, he continoue to say the same stuff all the time, after I used CTRL + Y to kill him, an event spawned which repeated over and over again. I don't mind experience farming, but abit booring to non-stop kill them off.

Same with Shadow, the event where the guys come to kill her, happend three or four times to me. Some people in Saltmarsh thanks me for killing the genies and taken care of the animal attacks. Most think it is good that I cooperate with the mayor. Both of them are wrong since the mayor has been taken away by the captain etc.

And the list goes on, 95%+ of the cases these bugs occur.

Is it supposed to be this buggy so far or did my install do something wrong? (I got Version 0.45)