Page 1 of 1

Jink CTF

Posted: Wed Jan 20, 2010 5:28 am
by McYukon
A very simple two team capture the flag map. Purple flag drop area which puts flag into the middle.
No jumping, so the ability to dodge comes in handy. Very nasty rico's in some areas. Bases are moderately protected by strategically placed pyramids.

jink |ji ng k|
verb [ intrans. ]
change direction suddenly and nimbly, as when dodging a pursuer

License:
Creative Commons Attribution-ShareAlike 3.0

Re: Jink CTF

Posted: Wed Jan 20, 2010 7:13 pm
by darkid
how'd you do that flagretun square thingy? i can't figure it out. Is it just a small pyramid which the flag drops into? how is it run-overable? Is the pyramid drivethrough/shoothrhgouh?

Re: Jink CTF

Posted: Thu Jan 21, 2010 2:43 am
by McYukon
darkid wrote:how'd you do that flagretun square thingy? i can't figure it out. Is it just a small pyramid which the flag drops into? how is it run-overable? Is the pyramid drivethrough/shoothrhgouh?
Its a box under the ground which is textured with the PZ ground.

Code: Select all

box
  name FlagDropB
  position 140.000000 140.000000 -0.002000
  size 10.000000 10.000000 0.0010000
  rotation 45.000000
  matref purpleG
end
And, because flags can drop onto boxes but not pyramids, I put an invisible pyramid over it 5 units in the air.

Code: Select all

pyramid
  name FlagDropA
  position 140.000000 140.000000 5.000000
  size 10.000000 10.000000 10.000000
  rotation 45.000000
  matref invisible
end
And the materials that make it all work.

Code: Select all

material
name invisible
color 0 0 0 0
end

 textureMatrix
  name scaling
  fixedscale 10.0 10.0 # time invariant u/v scale
 end


material
name purpleG
texture zone_ground.png
texmat scaling
shininess 128
end

Re: Jink CTF

Posted: Thu Jan 21, 2010 3:02 am
by darkid
could this work if you had jumping? what about flag heights? can the pyr be dth? (no.) Can the pyr be sth? (yes.)

Re: Jink CTF

Posted: Thu Jan 21, 2010 4:33 am
by McYukon
I believe it will work regardless of the flag height. Jumping is no problem either all you have to do is drive onto the designated spot and drop the flag.

Re: Jink CTF

Posted: Thu Jan 21, 2010 11:26 am
by darkid
flag drop heights. Can it be DriveTHrough? Can it be ShootTHrough?

i'm rather trying to make in invisible, except return flags.

And by flag heights: set _flagAltitude
the height that they fly up when you drop one.

Re: Jink CTF

Posted: Thu Jan 21, 2010 12:33 pm
by ahs3
Its up at bzbattleground.com:5523

enjoy :)

--ahs3

Re: Jink CTF

Posted: Thu Jan 21, 2010 10:30 pm
by McYukon
ahs3 wrote:Its up at bzbattleground.com:5523

enjoy :)

--ahs3
Hey, thanks a lot!
darkid wrote:flag drop heights. Can it be DriveTHrough? Can it be ShootTHrough?

i'm rather trying to make in invisible, except return flags.

And by flag heights: set _flagAltitude
the height that they fly up when you drop one.
It can be either shoot through or drive through, but it cannot be both.
To make it invisible you have to use the a texture with the color 0 0 0 0

Code: Select all

material
name invisible
color 0 0 0 0
end

pyramid
  name pyramid
  position 100.000000 100.000000 5.000000
  size 10.000000 10.000000 10.000000
  rotation 45.000000
  matref invisible
end
When using the above the pyramid will be invisible and the flag return will still work.
The flag height has to be a bit higher than the pyramid height position, for the above code it would be 6

Re: Jink CTF

Posted: Sat Jan 23, 2010 8:20 am
by zaphod
i like it!!! good job!!!



.