05-17-2014, 08:30 PM
okay, im currently rewriting template.dat.
original frame 0:
new frame 0:
the wait has to be a function for my scripting to work. i could redo every variable from the top row into a function, would that be better?
and is it okay to have less self-explaining code? wpoint has all the code from the original, just... well compressed id say.
original frame 0:
DC-Code:
<frame> 0 standing pic: 0 state: 0 wait: 3 next: 1 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 wpoint: kind: 1 x: 33 y: 45 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 21 y: 18 w: 43 h: 62 bdy_end: <frame_end> |
new frame 0:
Code:
case 0: //standing
{
pic=0 state=0 wait(4) next=1 dvx=0 dvy=0 dvz=0 centerx=39 centery=79
wpoint(1,33,45,21,0,0,0,0,0)
bdy(0,21,18,43,62)
}
the wait has to be a function for my scripting to work. i could redo every variable from the top row into a function, would that be better?
and is it okay to have less self-explaining code? wpoint has all the code from the original, just... well compressed id say.