Forums Index >> General >> Chong And Racers Soccer.......Pre-download The Ter...



Page : <1> : 2

Cho

We have just got a few more touches to add then we are releasing it, download the terrain from
HERE!

Tuesday, February 22, 2005 at 7:45:02 AM

Hey sounds good...
Gj
one Q:
Do we carry the ball like in scrum or do we kick it arround (it isnt a bot right?)?


Tuesday, February 22, 2005 at 8:56:12 AM

Carry, I assume. I made a soccer mod a long time ago for CodePlanet...

Tuesday, February 22, 2005 at 9:12:09 AM

If its carry its easier than all think, get a new terrain and the.dts and then make them use the same basis as the scrum goal and spawn a scrum... It would be much nicer to kick it, but impossible for TT...
Gj tough


Tuesday, February 22, 2005 at 9:22:09 AM

I used the Kicker orb from SW Orbz. 'Nuff said.

Tuesday, February 22, 2005 at 9:32:55 AM

Wrong.

We took BB/187's puck-tank and will be replacing the puck body with a ball as soon as I get Unwrap3D. We are making it kickable right now. And we will be using a similar scoring system as what BB/187 used.

Last edited: Tuesday, February 22, 2005 at 10:05:59 AM

Tuesday, February 22, 2005 at 10:04:25 AM

Great! Lol, can't wait.

Tuesday, February 22, 2005 at 10:05:25 AM

Lol its just copying 187/bb but reconfiguring a few bits and putting new skins on
@chong is the terrian got a pic of leed united logo?

Tuesday, February 22, 2005 at 10:11:57 AM
Cho

Lol no.....i dont support shitty 1st Division teams lol

Tuesday, February 22, 2005 at 10:43:32 AM
Cho

Hey Art do you think you could write me and Racer a version of the script that lets a bot enter the Goal and it dies and gives the opposite team a point.......exactly like the one BillyBob used for ice hockey ?

Tuesday, February 22, 2005 at 10:44:57 AM

K also could you tell 445 to check his emaila nd say its kris contribution to the racing tourny!?

Tuesday, February 22, 2005 at 11:09:51 AM

 

 

                                        
function GOALDATABLOCKFORBLUETEAM(not the one they score on)::OnEnter(%this,%db,%tank)
{
%client = %tank.client;
if(%client.namebase $= "BOT NAME FOR THE BALL")
{
%team = "greenTeam";
%team.score += 1;
%team.cumScore += 1;
messageAll('MsgTeamScoreChanged', "", %team.score, %team.cumScore, %team.getId());
}
}

 

 

                                        
function GOALDATABLOCKFORGREENTEAM(not the one they score on)::OnEnter(%this,%db,%tank)
{
%client = %tank.client;
if(%client.namebase $= "BOT NAME FOR THE BALL")
{
%team = "blueTeam";
%team.score += 1;
%team.cumScore += 1;
messageAll('MsgTeamScoreChanged', "", %team.score, %team.cumScore, %team.getId());
}
}

 

That should work, never tested it tough.., u need to create the goal datablocks, and change GOALDATABLOCKFORBLUETEAM(not the one they score on) and GOALDATABLOCKFORGREENTEAM(not the one they score on) to the corresponding datablock and BOT NAME FOR THE BALL to the name ur gonna give "puck"

PS: By doing this I just made the only things that needed to be scripted, as datablocks arent :P


Last edited: Tuesday, February 22, 2005 at 1:30:44 PM

Tuesday, February 22, 2005 at 1:24:59 PM

^ Thanks.

Tuesday, February 22, 2005 at 2:20:48 PM

Sweet. I'll try it out, and watch TTR grow!!! W000000000t!!!

Tuesday, February 22, 2005 at 2:25:28 PM
Cho

Uhm Art I made datablocks and all and got the Goals loading like this

New Powerup(BlueSoccerGoal) {
position = "29.4607 -145.959 129.506";
rotation = "0.00201322 0.000277131 0.999998 180.546";
scale = "1 1 1";
dataBlock = "BlueSoccerGoal";
treeLighting = "0";
lightBoost = "0";

But I put the bot into the goal and I dont get a point it doesnt work at all.............
And I get this error on console

Wednesday, February 23, 2005 at 2:32:46 AM

Sheena all ready has come out with one like this nice try you 2 B)

 

Wednesday, February 23, 2005 at 3:14:49 AM
Cho

Wtf lol sheena can't script she came up with this mod that used the DefaultFlag.Create() command where she just changed the DefaultFlag shape so there is hundreds of them, Now go away back to play thinktanks or something lonewolf.

Wednesday, February 23, 2005 at 3:59:05 AM
Cho

Well so far I have managed to make the Goals act as Scrum goals so when you drive in you get a point..........but when I push the bot in I dont get a point........

Wednesday, February 23, 2005 at 4:41:12 AM

You get both on hers LOL
told you she all ready beat you to this type of modded map ! :P

 

Wednesday, February 23, 2005 at 5:02:39 AM
Cho

Lonewolf you dont understand what we are trying to do, the only people who have made a mod like this before was 187 and BillyBob and the only people who can script this are Art Crazy, Billy Bob and 187........and Sheena cant script, so somehow I think not. All she does is use DefaultFlag.create() and do it a ridiculous number of times and make the Hockey goal act as a scrum goal........we are making it so you dont have to carry the ball into the goal you can just push it.
Now PLEASE lonewolf go and play your little tank game and learn what you are talking about before you come thinking you know something, do yourself a favour.

Wednesday, February 23, 2005 at 5:13:40 AM

Yes you push it or you can carry it in. You can do both ! Thats all I am saying it sounds just like the one you are trying to make. Ask her to put it up and see for your self !

P.S.
Learn how to spell ! B)

 

Wednesday, February 23, 2005 at 5:22:34 AM
Cho

LoneWolf, this is highly unlikely as Sheena cannot script.
Stupid wierdow aren't you getting into a flame war with a 14 year old when your.....how old ?
You have serious problems and are really sad.
P.S. You cant script so shut up and you dont know what we are talking about because there is no way Sheena could make a mod like this.......END OF STORY you sad little man.

Last edited: Wednesday, February 23, 2005 at 5:27:07 AM

Wednesday, February 23, 2005 at 5:26:44 AM

Just go ask her to put it up this will solve your problem of acting like a little child (under 10). Throwing a fit because some one has possible beat you to your idea and you say I am acting like a child go back and read your comments. You are the one who is sad ! B)

 

Wednesday, February 23, 2005 at 5:38:22 AM
Cho

I am telling you Sheena cant script lol
End Of Story!

Wednesday, February 23, 2005 at 5:58:54 AM
Cho

Yeh she uses shapes and just changes the Goal's datablock......that aint what we are talking about we make a Bot in the shape of a soccer ball to enter the goal and give a team a point.......Slight lack of understanding here.

Wednesday, February 23, 2005 at 6:00:15 AM

Couldn't you use a normal scrum balli to play soccer on there. Because would it be possible to permenantly have a different scrum ball attached to everyone so that whenyou hit this other one it just goes flying.

 

Wednesday, February 23, 2005 at 6:11:25 AM
Cho

Because the specifications of the bot I'm using havent been modded yet....when they have they will have the same specifications as a soccer ball.....a fair speed and stuff I am also putting up a barrier to stop the ball from coming off of the soccer pitch

Wednesday, February 23, 2005 at 6:15:16 AM

@Chong
What the hell is the line " tfansi..." on your soccer.cs file? Its not my script problem!


Wednesday, February 23, 2005 at 7:13:07 AM
Cho

This is what I got:

 

                                        
function BlueGoal::OnEnter(%this,%db,%tank)
{
%client = %tank.client;
if(%client.namebase $= "Ball")
{
%team = "greenTeam";
%team.score += 1;
%team.cumScore += 1;
messageAll('MsgTeamScoreChanged', "Green Team Scored a Goal!", %team.score, %team.cumScore, %team.getId());
}
function GreenGoal::OnEnter(%this,%db,%tank)
{
%client = %tank.client;
if(%client.namebase $= "Ball")
{
%team = "blueTeam";
%team.score += 1;
%team.cumScore += 1;
messageAll('MsgTeamScoreChanged', "Blue Team Scored a Goal", %team.score, %team.cumScore, %team.getId());
}

 

 

Wednesday, February 23, 2005 at 7:57:14 AM

Lonewolf chong beet you and then you come out with same s*** chong is right sheena made hundreds of scrums and changed ther apperence duh

Wednesday, February 23, 2005 at 8:16:07 AM

Now you need the powerup datablock like:

 

                                        
datablock PowerUpData(DefaultGoal)
{
category = "Goal";
shape = "~/data/shapes/common/scrumgoal.dts";
type = "goal";
minOff = 0;
maxOff = 0;
startOn = true;
shadow = false;
shadowAnimation = false;
Sound = "PupOnSound";
soundOff = "";
};

 

And after doing it you put it in the.mis
About the other problem its not my script's, as it seems to find a line like rtf1/ansi


Last edited: Wednesday, February 23, 2005 at 8:48:52 AM

Wednesday, February 23, 2005 at 8:48:01 AM
Cho

I have got these in the special.cs and they work I just need a script that works when the bot enters it like Billybob's:

 

                                        
datablock PowerUpData(GreenSoccerGoal)
{
category = "Goal";
shape = "~/data/shapes/chongsoccer/greengoal/hockeygoal.dts";
type = "goal";
minOff = 0;
maxOff = 0;
startOn = true;
shadow = false;
shadowAnimation = false;
Sound = "PupOffSound";
soundOff = "";
};
Datablock PowerUpData(BlueSoccerGoal)
{
category = "Goal";
shape = "~/data/shapes/chongsoccer/bluegoal/hockeygoal.dts";
type = "goal";
minOff = 0;
maxOff = 0;
startOn = true;
shadow = false;
shadowAnimation = false;
Sound = "PupOffSound";
soundOff = "";
};

 

 

Wednesday, February 23, 2005 at 8:51:14 AM

Then the BlueGoal::OnEnter must be BlueSoccerGoal::OnEnter and so on


Wednesday, February 23, 2005 at 10:53:20 AM
Cho

Well Art I don't get the error anymore........and both GreenSoccerGoal.cs and BlueSoccerGoal.cs compiled (I seperated them into two files so it loaded) but........it doesnt work lol
.......what now ?

Wednesday, February 23, 2005 at 11:14:46 AM
Cho

Art you there buddy I'm kinda desperate here lol

Wednesday, February 23, 2005 at 12:09:53 PM
Cho

...................

Wednesday, February 23, 2005 at 12:26:52 PM

Chong, no errors? Ok did u put the exec("file"); in the begin of the.mis file and then changed a powerup to have the desired datablock, changed the OnEnter name to the desired datablocks etc?


Wednesday, February 23, 2005 at 12:36:14 PM

Shouldnt the datablock line be
datablock = "greensoccergoal"; etc?

Wednesday, February 23, 2005 at 12:37:02 PM
Cho

Yup I did all that Art

Wednesday, February 23, 2005 at 12:43:10 PM
Cho

Help me please lol

Wednesday, February 23, 2005 at 12:51:53 PM

@Kris
Yup

@Chong
How strange.. Oh well, I think its cos of the %team.. You better ask BB, he's came online today and talked to me, I'll ask when he gets back.

PS: You might put both datablocks like this

 

                                        
function GOALDATABLOCK::OnEnter(%this,%db,%tank)
{
%client = %tank.client;
if(%client.namebase $= "BOT NAME FOR THE BALL")
{
%client.incscore(0,1);
}
}

 

But that would only work right if the bot would change teams :P


Last edited: Wednesday, February 23, 2005 at 1:02:23 PM

Wednesday, February 23, 2005 at 1:00:02 PM
Cho

Art dude......i did it!
I just messed about with the script a bit and it worked!
Only thing is the bot doesn't die......how would I do that ?

Wednesday, February 23, 2005 at 1:19:19 PM

Oh lol paste here the code you currently have and I'll edit it.


Wednesday, February 23, 2005 at 1:20:47 PM
Cho

 

 

                                        
function BlueSoccerGoal::OnEnter(%this,%db,%tank)
{
%client = %tank.client;
if(%client.namebase $= "Ball™")
{
%team = "greenTeam";
%team.score += 1;
%team.cumScore += 1;
Messageall('MsgTeamScoreChanged', "The Green Team Scored!", %team.score, %team.cumScore, %team.getId());
}
}

 

 

                                        
function GreenSoccerGoal::OnEnter(%this,%db,%tank)
{
%client = %tank.client;
if(%client.namebase $= "Ball™")
{
%team = "blueTeam";
%team.score += 1;
%team.cumScore += 1;
Messageall('MsgTeamScoreChanged', "The Blue Team Scored!", %team.score, %team.cumScore, %team.getId());
}
}

 

 

Wednesday, February 23, 2005 at 1:32:14 PM

 

 

                                        
function BlueSoccerGoal::OnEnter(%this,%db,%tank)
{
%client = %tank.client;
if(%client.namebase $= "Ball™")
{
%team = "greenTeam";
%team.score += 1;
%team.cumScore += 1;
Messageall('MsgTeamScoreChanged', "The Green Team Scored!", %team.score, %team.cumScore, %team.getId());
}
%tank.hurtme(999);
}

 

 

                                        
function GreenSoccerGoal::OnEnter(%this,%db,%tank)
{
%client = %tank.client;
if(%client.namebase $= "Ball™")
{
%team = "blueTeam";
%team.score += 1;
%team.cumScore += 1;
Messageall('MsgTeamScoreChanged', "The Green Team Scored!", %team.score, %team.cumScore, %team.getId());
}
%tank.hurtme(999);
}

 

That should work


Wednesday, February 23, 2005 at 1:36:30 PM
Cho

It doesn't work lol

Wednesday, February 23, 2005 at 1:44:43 PM

U think its becouse of the same problem you had, tweak it again :P


Wednesday, February 23, 2005 at 1:48:02 PM

So is it complete yet? Its been locked for ages and I REALLY want to try this out

 

 

 

 

Wednesday, February 23, 2005 at 2:39:28 PM
Cho

It's open.

Thursday, February 24, 2005 at 5:15:42 AM

Keep on the good work folks Hockey was a fun Mod...

Thursday, February 24, 2005 at 8:45:07 AM

Page : <1> : 2

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald