First and Good Point : I HAVE MY FIRST ARENA !! your tutos is good Duck, thank.i followed what you said (except for the folder i put under arena/ and not in a new folder) and it works !!! Nice.1 comment : on step 12, as you advice us to rename the gmf, do not forget to change the .py too to notice the new gmf name1 question : i try not to extend the spike_zone2 but to create a new zone : in the gmf : - duplicate the GEOMOBJECT - increment the OBJECT_COUNT - rename the zone 'out_zone' - change the mesh as said in your doc in the py : -declare the zone 'self.RegisterZone("out_zone",4)' - handle the event ' ... elif id == 4 and robot > 0 : plus.eliminatePlayer(robot - 1) and it did not worked : no error, arena can be called in RA2, but the bot are never eliminated. It seems that the gmf file did not really defined the new GEOMOBJECT. was there anything more to change in the gmf ? Any Id ?Resolvedi needed to do also that :-> define my new zone in the "GMID_HAVOK_RIGIDBODY_LIST" section (and increment the obhect count)-> define my zone in the GMID_HAVOK_DIS_COLLISION_PAIRS (with arena_collision pair)I'm very happy to have a step in arena modding yet.
*MESH_VERTEX_LIST { *MESH_VERTEX 0 -13 -3 17 *MESH_VERTEX 1 13 -3 17 *MESH_VERTEX 2 -13 3 17 *MESH_VERTEX 3 13 3 17 *MESH_VERTEX 4 -13 -3 -16 *MESH_VERTEX 5 13 -3 -16 *MESH_VERTEX 6 -13 3 -16 *MESH_VERTEX 7 13 3 -16
self.AddStaticCamera("Static Cam 1", (10, 2, 10), (0.47, 1.33), math.pi/3) self.AddStaticCamera("Static Cam 2", (10, -2, 10), (0.47, 1.33), math.pi/3) self.AddStaticCamera("Static Cam 3", (10, -2, -10), (0.47, 1.33), math.pi/3) self.AddStaticCamera("Static Cam 4", (-10, -2, -10), (0.47, 1.33), math.pi/3) self.AddStaticCamera("Static Cam 5", (-10, -2, 10), (0.47, 1.33), math.pi/3) self.AddStaticCamera("Static Cam 9", (-10, 2, -10), (0.47, 1.33), math.pi/3)
*GMID_ATTACHMENTPT { *NODE_NAME Point02 *NODE_TM { *NODE_NAME Point01 *TM_ROW0 1 1 -8 *TM_ROW1 -1 1 8 *TM_ROW2 8 -8 1 [color=red]*TM_ROW3 4 1 4[/color] }
..Une minute, s'il vous plaît..
*GMID_ATTACHMENTPT { *NODE_NAME Point01 *NODE_TM { *NODE_NAME Point01 [COLOR=seagreen] *TM_ROW0 -0.707107 0.000000 -0.707107[/COLOR][COLOR=seagreen] *TM_ROW1 0.000000 1.000000 0.000000[/COLOR][COLOR=seagreen] *TM_ROW2 0.707107 0.000000 -0.707107[/COLOR] [COLOR=blue]*TM_ROW3 6 0.3 6[/COLOR] } USER DATA type = [B][COLOR=black]startpoint[/COLOR][/B]id = 1 }