shithub: sce

Download patch

ref: 785ecb8bfe4bb0bdce98b43aa2c57037150c74f4
parent: 6b8005ee7ada815662d8bc09743b47b9ae773270
author: qwx <[email protected]>
date: Mon Apr 12 08:28:43 EDT 2021

add mutalisk unit and sprites

- sprite offsets wrong
- air but still uses ground pathfinding
- +blocking overwrites blocks of ground units (hatch)
- found spawn point invalid, inside hatch
- air spawn should be fixed

--- a/sce/map1.db
+++ b/sce/map1.db
@@ -25,3 +25,4 @@
 mapobj,drone,2,10,10
 mapobj,drone,2,10,10
 mapobj,drone,2,10,10
+mapobj,mutalid,2,10,10
--- a/sce/sce.db
+++ b/sce/sce.db
@@ -3,16 +3,18 @@
 resource,minerals,50
 resource,vespene gas,0
 # attack: name, dmg, range, cool
-attack,fusion cutter,5,1,15
-attack,spines,5,1,22
+attack,fusion cutter,5,10,15
+attack,spines,5,10,22
+attack,glave wurm,9,96,30
 # obj: name, flags, w, h, hp, def, vis, cost[3], time, attack[2], speed, accel, halt, turn
-obj,scv,0x3,4,4,60,0,7,1,50,0,20,fusion cutter,,4.97,67,12227,40
-obj,drone,0x1,4,4,40,0,7,1,50,0,20,spines,,4.97,67,12227,40
+obj,scv,0x3,4,4,60,0,224,1,50,0,20,fusion cutter,,4.92,67,12227,40
+obj,drone,0x1,4,4,40,0,224,1,50,0,20,spines,,4.92,67,12227,40
+obj,mutalid,0x5,4,4,120,0,224,2,100,100,600,glave wurm,glave wurm,6.67,67,21745,40
 obj,control,0x8,16,12,1500,1,1,10,400,0,1800,,,0,0,0,0
 obj,hatchery,0x8,16,12,1250,1,1,10,300,0,1800,,,0,0,0,0
 # spawn: objname, [obj..]
 spawn,control,scv
-spawn,hatchery,drone
+spawn,hatchery,drone,mutalid
 # spr: objname, flags (PF enum), rotations, [frame..]
 spr,scv,0x2,17,0
 spr,scv,0xc002,17,0
@@ -23,3 +25,7 @@
 spr,drone,0xc004,17,0,1,2,3,4
 spr,hatchery,2,1,0,1,2,3,3,2,1,0
 spr,hatchery,0xc002,1,0,0,0,0,0,0,0,0
+spr,mutalid,0x2,17,0,1,2,3,4
+spr,mutalid,0xc002,17,0,1,2,3,4
+spr,mutalid,0x4,17,0,1,2,3,4
+spr,mutalid,0xc004,17,0,1,2,3,4
--- a/utils/genspr
+++ b/utils/genspr
@@ -53,6 +53,7 @@
 # individual units
 unit drone 32 -48 -47 (0 1 2 3 4) (00 01 02 03 04)
 unit scv 32 -26 -14 0 00
+unit mutalid 32 -36 -38 (0 1 2 3 4) (00 01 02 03 04)
 
 # sprites with transparency
 asprite tscglow 32 -26 -14 (0 1 2 3) (00 01 02 03)
--- a/utils/scefix
+++ b/utils/scefix
@@ -106,6 +106,7 @@
 
 gen32 scv 00
 gen32 drone 00 01 02 03 04
+gen32 mutalid 00 01 02 03 04
 clean tscglow
 rename tscglow scv g
 gen1 control 00