DAZZLE'S UPGRADE PACK

If you haven't already done so, upgrade your game by downloading Dazzle's all-in-one upgrade pack. It comes with everything you need for today's servers. Does your blue bar freeze when joining servers? Do you lag in games? Do you get an annoying siren in Phobik's Servers? This is what you need. CLICK HERE TO DOWNLOAD.

The Refinement of CTF

Modding questions, answers, help.....

Moderators: Warfare, Moderator, Admin

User avatar
SmEaGoL
Veteran Light
Veteran Light
Posts: 535
Joined: Wed Dec 27, 2006 11:35 pm
Location: The Misty Mountains of Middle Earth

The Refinement of CTF

Post by SmEaGoL »

In my courageousness, I set out on a mission to create what is known as Hero CTF. In this gametype, two scrums spawn...the first corresponds to one goal (i.e. green) and the second to the other (i.e. blue). However, in this particular gametype, you can "protect" your own flag by picking it up and "running" from the other team...

With my small scripting knowledge, I tried to begin work on such a task. I think that to a typical scripter, it would be a breeze, but to me, it seems a trial. I atleast have been able to put two scrums on the map (simple task). However, I do not know how to correspond one to each goal. I am basing the project off of ArtCrazy's CTF Script found at http://h1.ripway.com/frankou8it/ArtsCTF.zip. Can anyone else move me along? I know that many of the greats are working on the doublescrum thing, but I hope someone would help a poor newbie like me. Thanks in advance.

Respectfully Submitted,
-Smeags

EDIT - I was wondering if anyone could give me an emitter for the blue and green teams to go over the goals so that you can see which goal is which on the radar. Thanks
User avatar
Warfare
Moderator
Moderator
Posts: 741
Joined: Thu Dec 28, 2006 2:21 pm
Location: Austin, Texas

Re: The Refinement of CTF

Post by Warfare »

lol doublescrum...

I am much too busy to be working on anything TT related... I have a project deadline in March that I absolutely must meet, but I can give a few helpful hints here and there...

I thought of making the correct version of CTF once but due to my work and the lack of any real community interest in a new gametype more than a week old I lost the ambition...

In my head this is how it all went down...

You have two teams and each has their own base with a flag. The flag is a powerup.
If the enemy gets this flag powerup a scrum is created right above him, causing him to capture the new scrum. This scrum is the flag. The powerup is then deleted until it is 'returned' to the base, in which case it is created again.
The flag behaves like a scrum while away from it's base. If the flag goes off the edge, it is returned to its base. Also, if you carry a flag, you cannot pick up another, ergo you must have a team-mate recover your flag if it is stolen before you can score.
If you enter your own flag powerup with the enemy flag you score.
If you recapture your flag after it has been stolen, it returns to your base or you must run it back to your base, depending on the desired style.

That's as far as my so-called 'pseudocode' went...
That should give you a few ideas and help you get started. If you need any help with the actual scripting you can email me or pm me with questions and I will be glad to help...
I won't give you too much help however, you won't learn anything if I do.

Ta
User avatar
SmEaGoL
Veteran Light
Veteran Light
Posts: 535
Joined: Wed Dec 27, 2006 11:35 pm
Location: The Misty Mountains of Middle Earth

Re: The Refinement of CTF

Post by SmEaGoL »

^Exactly, that is how it went down in my head too, only I imagined that if you were your own teams "flag-protector" that you would get a tankchange to a jeep or something and have a little extra life. I just got stuck at the moment...lemme fidget around with it for a while (I won't give in until I have to). I think I just got a new idea for the handling 2 scrums and 2 goals thing plus the tankchanger. Thanks for the offered help. I will try not to pick on ya...get that there work done Warfare!

Respectfully Submitted,
-Smeags



Still have no clue on the blue and green emitters for the goals though...maybe someone else can help me out...
Clown
New Brainjar
New Brainjar
Posts: 21
Joined: Thu Nov 08, 2007 2:58 pm
Location: Finland

Re: The Refinement of CTF

Post by Clown »

Add this to your mission file with the emitter somewhere and remember to set the position you want.

Code: Select all

   new ParticleEmitterNode(ExampleEmitterNode) {
      position = "Position you want";
      rotation = "0 0 1 85.3707";
      scale = "1 1 1";
      dataBlock = "ExampleEmitterNode";
      emitter = "ExampleEmitter";
      velocity = "1";
   };
You know how to make emitters right?

Ps. I don't know if you can rotate emitters but this one should be quite normal, not upside down =P
User avatar
SmEaGoL
Veteran Light
Veteran Light
Posts: 535
Joined: Wed Dec 27, 2006 11:35 pm
Location: The Misty Mountains of Middle Earth

Re: The Refinement of CTF

Post by SmEaGoL »

^Sorry, to the average person, that would make sence. I have not made an emitter in my life. I never understood it so I took up scripting. Oh the irony. I realize you probably do not have to time to explain and that is understandable. Thanks for your help...I was hoping that someone could actually make it for me. I understand how to put it in the .mis file.

Respectfully Submitted,
-Smeags
User avatar
TYF
New Brainjar
New Brainjar
Posts: 90
Joined: Wed Aug 13, 2008 7:23 am
Location: Shanghai

Re: The Refinement of CTF

Post by TYF »

Can't download...
ImageImage
Mr Phobik
Site Mechanic
Site Mechanic
Posts: 283
Joined: Wed Apr 30, 2008 2:35 pm
Location: Toronto, CANADA

Re: The Refinement of CTF

Post by Mr Phobik »

^ Please don't bump old threads.
Image

Who is online

Users browsing this forum: Amazon [Bot], ClaudeBot [Bot] and 16 guests