i was browsing through another base for another game because i was bored and found an awesome idea for a possible idea to do something like "Instant Flag Capture" or "Instant Intel Pickup"
basically the code i found looks like this, and i'll explain how it works via //
Code:
if (TeleCapture==1)
{
*(float*)(PTR_PLAYER + OFS_X) = 3631; //X Position of the flag
*(float*)(PTR_PLAYER + OFS_Y) = 4623; //Y Position of the flag
*(float*)(PTR_PLAYER + OFS_Z) = 945; //Z Position of the flag
}
basically the idea is to physically teleport to the flag, and loop it until you have enough captures. Now obviously the method above is Hard coded, but i'm sure with simple views of the classes, you could make it work for any map
as for the intel idea, same idea, just bounce to each one...
now for this to work, obviously Player Pointer wont work due to the large fact its just the Camera moving. If someone were to reverse the Player movement S2S functions, that'd work perfectly. Last i checked player movement ID was 100, because i was running around for awhile animationless when i'd spam it or give it random param's, i'd be doing random animations