Here's a little teaser of the new effects for Zex: If you're not a modder, or planning to be one, don't expect to understand what's this about.
//effect numbers: 0=nothing 1=multiply speed by parameter3 for time parameter1 with creature visual effect from weapon parameter2, parameter4=disable speed change when bullet hits (0=no/1=yes) 2=start alien attack 3=drop item parameter1, amount parameter2, random area size parameter3 pixels, maximum amount of similar items in area parameter4 (0=infinite) 4=increase creature's bar parameter3 with parameter1 (if parameter2=1, don't increase over maximum or decrease below minimum) 5=activate scanner with distance parameter1 6=set targeting beam, type parameter1 (0=disabled, 1=normal, 2=turns green when hits enemy), length = parameter2 + weapon length * parameter3 7=set light parameter1 size parameter2 to creature (if parameter1=-1, disable light) 8=set light level addition, parameter1=type (0=map tiles, 1=items/plot_objects, 2=props, 3=creatures), parameter2=r, parameter3=g, parameter4=b 9=select gun parameter1 10=drop creature number parameter1 side parameter2 (-1=same side) tactic parameter3 (-1=default) tactic2 parameter4 (-1=default). Player can switch between a friendly creature's tactics by right clicking the creature. Don't forget to set parameter3 to -1 if you're not planning on changing the default tactic specified in creatures.dat. 11=change maximum bar parameter1 amount by parameter2 12=change armor level to parameter1 13=enable creature detector with distance parameter1 14=play sound parameter1 (from sounds.dat) with volume parameter2 15=change creature into creature number parameter1 for time parameter2 (-1 for infinite) with creature visual effect from weapon parameter3 16=give item parameter2 17=set creature's bar parameter3 to parameter1 18=increase player's body temperature by parameter1 19=drop plot_object parameter1 random area size parameter3 pixels, maximum amount of similar items in area parameter4 (0=infinite) 20=enable large map 21=teleport to area parameter1 (if -1, game finds the right area) plot_object parameter2 22=change side to parameter1 target for time parameter2 with creature visual effect from weapon parameter3 23=continuously increase bar parameter3 by parameter1 for time parameter4 with creature visual effect from weapon parameter2 24=fire weapon parameter1, times parameter2 25=show animation parameter1, and if (parameter2=0, continue game) (parameter2=1, end game) 26=fire particle parameter1 times parameter2 with parameters (spread, speed, time) taken from weapon number parameter3 27=make light number parameter1 for time parameter2 (-1=infinite) size min parameter3, max parameter4 28=bar parameter1 += bar parameter2 * parameter3 29=run script parameter1, parameter2=check conditions (0=no, 1=yes) 30=set creature's eat item amount to parameter1 31=kill creature (set all bars to minimum) 32=change creature's anger level to parameter1 (between 0 and 1) 33=stagger mouse by parameter1, speed parameter2 for time parameter3 34=change player race into parameter1 35=activate/disable script parameter1, (parameter2: 0=disable, 1=activate) 36=wind speed = wind speed + parameter1 37=start rain for time parameter1 (0=stop rain) 38=change game speed to parameter1 (don't set it to negative) 39=show bar parameter1 40=destroy plot_objects parameter1 from area size parameter2 pixels (not entirely accurate, use with care) 41=destroy items parameter1 from area size parameter2 pixels (not entirely accurate, use with care)
//condition numbers: 0=must have item parameter0 amount parameter1 1=must be distance parameter2 + object size from plot_object parameter0 2=must be distance parameter2 + object size from plot_object class parameter0 3=bar parameter0 is greater or equal to parameter1 4=killed all creatures parameter0 from area parameter1 (-1=current area) 5=bar parameter0 is smaller than parameter1 6=player is race parameter0 7=player is not race parameter0 8=random integer between 0 and parameter0 is 0 9=player is in shade 10=creature has eaten parameter0 eat items 11=item parameter0 is (parameter1=0=wielded, parameter1=1=not wielded) 12=game difficulty is (parameter0=0=higher than, parameter0=1=lower than, parameter0=2=equal to) parameter1 13=area is parameter0 14=creature nearer than distance parameter1 + creature size pixels from creature parameter0 15=player is nearer than parameter0 pixels
I have yet to implement at least the talking system. If you have any notions of obvious effects that definitely should be there, tell me in the ideas thread.
|