Page 1 of 1
Networking info
Posted: Sat Aug 03, 2013 1:52 am
by Vilespring
As you know, I'm starting to help BotHunter and his buddy in developing the Area 51 mod. Since this mod is to be officially released (hopefully) it needs to have multipalyer support. That means networking info on things, and I have no idea how it works. if someone tells me these things I would be very happy;
What is it needed in?
How do I make it?
What is the best way to go about doing it?
Re: Networking info
Posted: Sat Aug 03, 2013 6:35 am
by Swaffy
The NetworkInfo is really easy to add to objects such as HandFireArms, FireArms and PCOs (and maybe more). Just compare them to the vanilla BF1942 and that's all you really need.
Hints:
- For objects with multiple copies of the same FireArm attached to it, just use NetworkInfo on the first FireArm. For example, I have a B-17 with 12 FireArms with one bomb each, set to a timer that way they all drop when the player hits the fire button. If they all had NetworkInfos the game would crash. So I only gave the first bomb NetworkInfo (and an AI template).
- If a projectile uses the isSticky code, don't give it a NetworkInfo. If it does the game can easily crash.
- Make sure you use the same general name of a NetworkInfo on the right object. For example, don't use "Ju88AWingInfo" on your sniper rifle or a Jeep, use it on your Ju88A.
Re: Networking info
Posted: Sat Aug 03, 2013 8:05 pm
by Vilespring
win!

you hit it.
Re: Networking info
Posted: Sun Aug 04, 2013 12:14 am
by BotHunter
Everything so far has network info on it. Tho vilespring. Add a "Soul_Ripper" onto a test map. this is a air vehicle I started making.