Game Type Idea.... Just need help

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Lone_Rebel
Sergeant
Posts: 72
Joined: Sat Jul 05, 2003 11:39 pm
Location: USA
Contact:

Game Type Idea.... Just need help

Post by Lone_Rebel »

Hey, I want to make a new game type for SH called "Attack And Defend." Basically I have a few questions, but first here is my idea. I want to make multiplayer maps where one team or the other has to hold their lines. They have 3 chances to hold, either at the front line, the secondary line, or the last resort. What I want to do is make it so that if an allied player hold a certain position (namely the axis line) for 30 seconds, then the axis must spawn at the secondary spawn, and lose holding the primary line as an objective. If they fail to hold the second and then the final position, they lose. But here is a kind of iffy thing in my mind, I want to make it so that the axis can then charge BACK at the allies and retake their lines...(regaining an objective). I don't even know where to begin with this...
It's not whether you win or lose... It is how many enemies you take down with you that counts.
Image

Lone's MOH Maps
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

start with spawnpoints with targetnames for each line then move on to triggers and then scripting . You need to give the spawnpoints targetnames so you can use disablespawn and enablespawn to turn them on and off .
Image
Lone_Rebel
Sergeant
Posts: 72
Joined: Sat Jul 05, 2003 11:39 pm
Location: USA
Contact:

Post by Lone_Rebel »

K thanks... didn't know about the spawnpoints needing names... I know triggers will be needed, Scripting is the only thing I am unsure of.
It's not whether you win or lose... It is how many enemies you take down with you that counts.
Image

Lone's MOH Maps
Post Reply