In worldmap.txt you can have conditionals. For example:Sduibek said:Sorry to hijack thread, but Killap I'm wondering in Fo2 engine, can it be controlled when user encounters Special Encounters?
I am asking because I've had a few users suggest that encountering Alien Blaster early in Fo1 is somewhat game-breaking, and I agree since that weapon is crazy good.
Unfortunately in Fo1 engine I'm not aware of any way to limit when that encounter can occur without extensive code/assembly editing...
Code:
enc_25=Chance:1%,Counter:1,Special,Map:Special Bridge Encounter,Enc:Special1, If(Player(Level) > 9) And If(Global(605) < 1)
enc_26=Chance:3%,Counter:1,Special,Map:Special Holy Encounter 2,Enc:Special1, If(Global(614) > 0) And If(Global(606) < 1)
enc_27=Chance:80%,Special,Enc:KAGA1 AMBUSH Player, If(Global(399) < 66)
Be careful though as not all of those actually works. I think I saw something about it in the wiki, <= and >= don't work for sure.worldmap.txt said:; If:<something> -- conditionals, allows <,>,<=,>=,==,& as well as tests
; on Player(<stat/attribute/skill/etc.>), Enctr(Num_Critters),
; Time, Global(<variable index>), Rand(Chance%)