|
Post by Chavez on Aug 22, 2005 18:15:33 GMT -8
First of all you will need the JPV scripts pc-netgames.com/maps/jpv-scripts-pack.zip Question: anyone know how to accomplish the "unlimited" vc? Perdurabo wrote: Yup. Check to see if the VC are dead with "SC_P_IsReady(dword pl_id);". If they are dead, recover them with "SC_MP_RecoverAiPlayer (dword pl_id, c_Vector3 *pos, float rz);". For instance, this code will recover a VC player of group 0 with a member id of 0. If you add an appropriate "for loop", you could recover as many as needed. Code: if(!SC_P_IsReady(SC_P_GetBySideGroupMember(1,0,0))) SC_MP_RecoverAiPlayer(SC_P_GetBySideGroupMember(1,0,0),NULL , 10.0f); After recovering them, teleport them to where you want them with "SC_P_SetPos(dword pl_id, c_Vector3 *pos);" This code would teleport the player recovered in the above example to a waypoint called "your_waypoint". Code: if(SC_GetWp("your_waypoint", &rcpos)) SC_P_SetPos(SC_P_GetBySideGroupMember(1,0,0), &rcpos); Of course, "rcpos" would have been declared earlier . Quote: I have crocker, bronson and the other two as AI on my side, they are about worthless at feathers on a horse...lol. how can I make em smarter and faster to move outa harms way?? They have been averaging about 1 kill to their one death. Edit their properites in their ".inc" files. Experiment with the values in their "shoot_imprecision" "shoot_damage_mult", "reaction_time" etc, until you tweak em to your liking.
|
|