YesNoOk
avatar

New state 5900 (Read 5838 times)

Started by Baby Bonnie Hood, December 22, 2006, 08:16:10 am
Share this topic:
New state 5900
#1  December 22, 2006, 08:16:10 am
  • ****
  • Cute Bounty Hunter
I made a few additions to state 5900 in common1.cns.  Eh, nothing too groundbreaking:

; Initialize (at the start of the round)
[Statedef 5900]
type = S

[State 5900, 1]
type = VarRangeSet
trigger1 = !RoundsExisted
value = 0

[State 5900, 2]
type = VarRangeSet
trigger1 = !RoundsExisted
fvalue = 0

[State 5900, 3]
type = ChangeState
trigger1 = roundno = 1
value = 190

[State 5900, 4]
type = ChangeState
trigger1 = !RoundsExisted
trigger1 = teammode = Turns
value = 190

[State 5900, 5]
type = ChangeState
trigger1 = 1
value = 0


I merely added a Turns intro (CvS style), and a ChangeState to 0 if nothing else triggers (so that the character doesn't stay in 5900; I think it was XCB who actually suggested this).

Modify your common1.cns with this if you wish, but keep in mind that there are plenty of characters that override this state.  Of course if you're as obsessed as I am, maybe you want to look through each character for any overridden 5900 and make any necessary additions to each of those... :P