Jump to content
Sign in to follow this  
WalrusNZ

Need help making a base capture script for MP

Recommended Posts

Hey guys, I'm making a World of Tanks-like mission with the I44 Mod. If you've played world of tanks you'll know what I'm talking about.

What I need help with is making a base capture script that would work on a Multiplayer dedicated server. I did a bit of searching but couldn't find anything that would work for what im trying to do.

This is the basic idea:

Two sides start at two bases on opposite sides of the battle zone. They must move and either kill each other, or capture the enemy base.

As a member from the enemy team enters their base, a capture percentage starts from 0% and goes up to 100%

If the person capturing the base leaves the zone, the capture stops and returns to 0%. Once they enter the zone again, the capture starts again.

If a capturer gets hit while the count is in progress, the count gets knocked back down (lets say 20% or so). If they are killed, the capture simply stops.

Hopefully you guys can understand what I'm on about

Would anyone be able to help me with this or point me to a good script?

Thanks.

Share this post


Link to post
Share on other sites

Also, i know its a long shot, but would a hit point system be possible?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×