Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Game mode drunk shoot

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
1/7/2025 9:48:38 AMCNrankXNTWSAD before revert after revert
1/7/2025 9:48:00 AMCNrankXNTWSAD before revert after revert
Before After
1 this is how I modify weapons 1 this is how I modify weapons
2 {{{ 2 {{{
3 if wd.weapontype=="starburstlauncher" and wd.weaponvelocity and wd.weapontimer then 3 if wd.weapontype=="starburstlauncher" and wd.weaponvelocity and wd.weapontimer then
4 if wd.weaponvelocity>wd.range/4 then 4 if wd.weaponvelocity>wd.range/4 then
5 wd.weaponvelocity=wd.range/4 5 wd.weaponvelocity=wd.range/4
6 end 6 end
7 wd.weapontype="missilelauncher" 7 wd.weapontype="missilelauncher"
8 wd.trajectoryheight=3 8 wd.trajectoryheight=3
9 if wd.turnrate then 9 if wd.turnrate then
10 wd.turnrate=wd.turnrate*0.2 10 wd.turnrate=wd.turnrate*0.2
11 end 11 end
12 wd.weapontimer=nil 12 wd.weapontimer=nil
13 wd.turret=true 13 wd.turret=true
14 end 14 end
15 \n 15 \n
16 if wd.reloadtime then 16 if wd.reloadtime then
17 wd.reloadtime = wd.reloadtime * 2 17 wd.reloadtime = wd.reloadtime * 2
18 end 18 end
19 \n 19 \n
20 if wd.range then 20 if wd.range then
21 wd.sprayangle = (wd.sprayangle or 0) + 4000 / math.log(wd.range/350+1.75) 21 wd.sprayangle = (wd.sprayangle or 0) + 4000 / math.log(wd.range/350+1.75)
22 if wd.weapontype=="beamlaser" then 22 if wd.weapontype=="beamlaser" then
23 wd.projectiles=(wd.projectiles or 1)*10 23 wd.projectiles=(wd.projectiles or 1)*10
24 else 24 else
25 local burst=(wd.burst or 1)*10 25 local burst=(wd.burst or 1)*10
26 if wd.reloadtime and (wd.burstrate or (1/30))*burst>wd.reloadtime then 26 if wd.reloadtime and (wd.burstrate or (1/30))*burst>wd.reloadtime then
27 wd.projectiles=(wd.projectiles or 1)*10 27 wd.projectiles=(wd.projectiles or 1)*10
28 else 28 else
29 wd.burst = burst 29 wd.burst = burst
30 end 30 end
31 end 31 end
32 if wd.turnrate and wd.weaponvelocity then 32 if wd.turnrate and wd.weaponvelocity then
33 if (not wd.trajectoryheight) or (wd.trajectoryheight<0.4) then 33 if (not wd.trajectoryheight) or (wd.trajectoryheight<0.4) then
34 wd.trajectoryheight=0.4 34 wd.trajectoryheight=0.4
35 end 35 end
36 local dance=250 36 local dance=250
37 if wd.tracks then 37 if wd.tracks then
38 dance=dance*2 38 dance=dance*2
39 else 39 else
40 dance=dance*0.5 40 dance=dance*0.5
41 end 41 end
42 wd.dance=(wd.dance or 0)+dance 42 wd.dance=(wd.dance or 0)+dance
43 end 43 end
44 end 44 end
45 }}} 45 }}}
46 wd.dance is soo drunk