Home   Help Search Login Register  

Author Topic: CamCreate versus CreateVehicle  (Read 498 times)

0 Members and 1 Guest are viewing this topic.

Offline Alan34

  • Members
  • *
  • Praise the Lord and pass the Carl Gustav
    • Red Devils
CamCreate versus CreateVehicle
« on: 22 Jan 2003, 15:09:33 »
I only make multiplayer maps. I've used both camcreate and createvehicle in several different ways.  My question is this; is it better is try to always use CreateVehicle in mp maps? I remember I had to modify the onMapSingleclick Airstrike script found here by replacing camcreate with createvehicle, in order for it to look right on client machines.  What are the guidelines for using one or the other command?

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:CamCreate versus CreateVehicle
« Reply #1 on: 22 Jan 2003, 19:24:38 »
My limited understanding is this:

camCreate only creates things (such as arty shells) on the host.  It should be used in cases where the client doesn't need to create the thing.  I can't think of any examples, though, since as I said my understanding is limited on this topic.

createVehicle creates things on the host and all clients.  It should be used when the created thing must be seen (or tangible?) on all clients.  Your arty example is the best example I know of.

However, the problem with using createVehicle is that it can create a lot of lag if you are creating many (hundreds) of something, such as hundreds of shells simultaneously.  So, unless you must have it seen on all clients, use camCreate.
Ranger