Nothing big, just a small script to skin projectiles instead of the default ball/rb, have fun
///Link skinmesh as OBJ_0
///Link all projectiles as OBJ_22 ..... OBJ_N
int tot;
void Main()
{
if (iInitializing())
{
tot=iObjectHandle(-1)-1;
iObjectImpostersCreate(OBJ_0,tot);
}
///mainloop
for (int i=0;i<tot;i++)
{
Vector3 pLoc;
iObjectLocation(iObjectHandle(i+1),pLoc);
iObjectImposterSet(OBJ_0,i,Quaternion(0,0,0,1),pLoc);
}
}
///Link skinmesh as OBJ_0
///Link all projectiles as OBJ_22 ..... OBJ_N
int tot;
void Main()
{
if (iInitializing())
{
tot=iObjectHandle(-1)-1;
iObjectImpostersCreate(OBJ_0,tot);
}
///mainloop
for (int i=0;i<tot;i++)
{
Vector3 pLoc;
iObjectLocation(iObjectHandle(i+1),pLoc);
iObjectImposterSet(OBJ_0,i,Quaternion(0,0,0,1),pLoc);
}
}