tocan — 03.12.2020
don't let wreck proceed the sounds file, it's the easiest solution.
Provide sample of code and screenshot of error, please.
while we are on the subject, WRECK has also trouble with the module_skins, when you add new races it makes a line spacing too much which leads to the openbrf error messages/not working. DSTN can confirm this.
skel_human 1.000000
2 3
0
zombie 0
man_body dummy_mesh zombie_m_handL
skel_human 1.000000
2 3
0
zombie 0
man_body dummy_mesh zombie_m_handL
(val_divup, <destination>, <value>), # Divide destination with round up. Negatives will be rounded down.
(store_divup, <destination>, <value1>, <value2>), # Divide destination := value1/value2 with round up. Negatives will be rounded down.
def val_divup(destination, value, *argl):
return [
(assign, l._sign_, destination),
(val_abs, destination),
(val_div, l._sign_, destination),
(assign, l._y_, value),
(val_mul, l._sign_, l._y_),
(val_abs, l._y_),
(val_div, l._sign_, l._y_),
(val_add, destination, l._y_),
(val_sub, destination, 1),
(val_div, destination, l._y_),
(val_mul, destination, l._sign_),
]
def store_divup(destination, value1, value2, *argl):
return [
(assign, l._sign_, value1),
(assign, l._y_, value2),
(assign, l._x_, value1),
(val_abs, l._x_),
(val_div, l._sign_, l._x_),
(val_mul, l._sign_, l._y_),
(val_abs, l._y_),
(val_div, l._sign_, l._y_),
(val_add, l._x_, l._y_),
(val_sub, l._x_, 1),
(store_div, destination, l._x_, l._y_),
(val_mul, destination, l._sign_),
]
import __main__
if __main__.__file__ == 'compile.py':#This is WRECK compiler?
for mission in mission_templates:
mission[5].append(*global_common_triggers)
#process_factions.py
relations[other_pos][i_faction] = rel[1]
relations[i_faction][other_pos] = rel[1]
python compile.py tag cap fac %1 %2 %3 %4 %5 %6 %7 %8 %9
(lt, -1, id),