Forums Index >> Modding >> Art Crazy's CTF Script Source Released!
Page : <1> :
Well, I thought that in 2 hours I'd have more posts, but oh well, I'll have to wait
@Racer
Yea it is :P
@Pedro
I fixed the bug that would multiply the scoring speed, then triplify then quadruplify....
@Racer
I didnt understand your Q
I need to make this code so that the score will keep going up until the bot leaves the goal:
function pugoalg::OnEnter(%this,%db,%tank)
{
if(%tank.client.namebase !$= "-{BumpBot}-")
{
return;
}
%team = "GreenTeam";
%team.score += 1;
%team.cumScore += 1;
messageall('MsgTeamScoreChanged', "", %team.score, %team.cumScore, %team.getId());
centerprintall("Green Team has the ball in their base and are scoring!",4,4);
return;
}
Wow came a lot sooner then I thought. Sweet, downloading now.
@Racer
Try downloading the CTF script and then you'll see the complicated system I need for CTF, with some small (but maybe big) changes it could get to work as you want, im sry I cant help you out with making the script for you, but im busy for now
You can keep all the CTF.mis but you need to remove both CTF.cs.dso and CTFprefs.cs and replace em with the new ones.
Woah. Nice job, AC.
The script is 10 times as complicated as I thought it would be.
Nice script Art I love it
Page : <1> :
Well, I fixed a bug almost everyone had and released the source with it! It still has 2 insignificant bugs, but you better check the Known Bugs section on the site
Here
Art Crazy