
ultra_gap_training
Moderator: Core Staff
ultra_gap_training
you can now try to improve your record up to 270
download from the maps page: http://codjumper.com/maps/index2.php any bugs plz post here. good luck

-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
i find a way to nade the first jumps ... http://rapidshare.de/files/25274639/nadejump.dm_1.html
So what you are saying are, you can prevent someone from get to a certain spot even if he's using cheats if its not the intended route?Drofder2004 wrote:Would you like a script to stop all access without "using the intended route"?Luke wrote:stop using noclip u fuckers!
If so, I would love to have that script, would be awesome to some ideas I got here..
I agree with grom
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Yep, it is a very simple script to accomplish using self.variables.
An example...
you have a straight path...
E.g.
----------|-------------|-----------|
----------|-------------|-----------|
^ a corridor, the |'s are where the triggers are.
when player runs through trigger 1, he has a variable attached to him...
he runs through number 2
etc.
Now, you apply this in an if statement, mixed with hurt triggers.
In the corridor, after each trigger is a trigger_multiple.
Now you can use an if statement to determine if they are allowed in the area specified...
^ the above script basically does this...
If the player is touching the trigger_mutliple AND he his self.allwoed is LESS than 2, he is killed.
I use LESS THAN because if you use EQUAL TO the player will not be allowed to access area 1 or 2, if his variable is set to 3. This way, a player with self.allowed = 3 can access all areas 1-3.
Understanding?
An example...
you have a straight path...
E.g.
----------|-------------|-----------|
----------|-------------|-----------|
^ a corridor, the |'s are where the triggers are.
when player runs through trigger 1, he has a variable attached to him...
Code: Select all
self.allowed = 1;
Code: Select all
self.allowed = 2;
etc.
Now, you apply this in an if statement, mixed with hurt triggers.
In the corridor, after each trigger is a trigger_multiple.
Now you can use an if statement to determine if they are allowed in the area specified...
Code: Select all
if(self isTouching(trigger_multiple) && self.allowed < 2)
self suicide();
If the player is touching the trigger_mutliple AND he his self.allwoed is LESS than 2, he is killed.
Code: Select all
//He can only access area if his variable is above 1
if(self isTouching(trigger_multiple) && self.allowed < 1)
self suicide();
//He can only access area if his variable is above 2
if(self isTouching(trigger_multiple) && self.allowed < 2)
self suicide();
//He can only access area if his variable is above 3
if(self isTouching(trigger_multiple) && self.allowed < 3)
self suicide();
Understanding?


Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
I get it, I would have never though of that tho, very smart 

Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
Who is online
Users browsing this forum: No registered users and 1 guest