Ah, I see, silly me
Thanks for taking the time to help me with this. It's working perfectly now
You might want to update that script on the CT wiki to avoid future confusion, though someone with some php experience would probably spot the issue quickly.
Again, thanks for the help.
Search found 22 matches
- Mon Jul 11, 2011 1:22 am
- Forum: Support
- Topic: A few questions about php.
- Replies: 5
- Views: 1465
- Sat Jul 09, 2011 9:20 pm
- Forum: Support
- Topic: A few questions about php.
- Replies: 5
- Views: 1465
Re: A few questions about php.
Thanks for your time Kyle. I work on the Rx servers which are all Sty+CT. I have ladderlog_write_game_time set to 1, ladderlog_write_online_player set to 1 and ladderlog_game_time_interval set to 1. I've even gone so far as to try it with ladderlog_write_all set to 1 in case I was missing something....
- Sat Jul 09, 2011 8:19 pm
- Forum: Support
- Topic: A few questions about php.
- Replies: 5
- Views: 1465
A few questions about php.
Ok, first off, I'm very new to programming languages in general. So I was wondering if you guys could clear some things up for me. I've been successful in writing a few VERY basic php scripts that read ladderlog.txt. An example would be reading GAME_TIME (or anything thats logged) and performing an ...
- Tue Jul 05, 2011 1:07 pm
- Forum: Support
- Topic: set_target_command
- Replies: 3
- Views: 1126
Re: set_target_command
Oh, I didn't know that! You learn something new everyday
Still doesn't help me though as I've just tried this unsuccessfully once again
Is it unsupported or is this supposed to work?
Thanks for your time!
Still doesn't help me though as I've just tried this unsuccessfully once again
Is it unsupported or is this supposed to work?
Thanks for your time!
- Tue Jul 05, 2011 12:46 pm
- Forum: Support
- Topic: set_target_command
- Replies: 3
- Views: 1126
set_target_command
I'm running in to a bit of trouble when trying to delay set_target_command. Here's my target: spawn_zone n target1 target L 135.5 115 Z 5 0 0 0 false 0 0 1 5 And here's my delayed command: delay_command r0 1 set_target_command target1 onenter collapse_zone exit1 All of the access_levels seem to be i...
- Tue Nov 16, 2010 1:31 am
- Forum: Support
- Topic: Teleport zone
- Replies: 5
- Views: 1301
Re: Teleport zone
The only way to spawn a teleport zone from the XML is by using "delay_command". Try something like this:
Code: Select all
<Setting name="delay_command" value="r0 1 spawn_zone teleport 225 90 5 0 0 0 190 50 0 0 15 0 15 .8 .9 .3 5" />
- Mon Nov 08, 2010 3:37 am
- Forum: Support
- Topic: Delay Command
- Replies: 6
- Views: 1576
Re: Delay Command
Indeed. Thank you!
- Fri Oct 29, 2010 5:04 am
- Forum: Development
- Topic: Pulsing Zones
- Replies: 14
- Views: 4358
Re: Pulsing Zones
You can do it using sty+ct with delay_command, spawn_zone and set_zone_radius. Ex: delay_command -1 spawn_zone n myzone death 100 100 10 delay_command r2 0 set_zone_radius myzone 20 10 delay_command r2 1 set_zone_radius myzone 10 -10 This should spawns a zone at pos 100 100 and make it "pulses...
- Thu Oct 28, 2010 9:13 pm
- Forum: Support
- Topic: Delay Command
- Replies: 6
- Views: 1576
Re: Delay Command
Thanks mang.
- Thu Oct 28, 2010 8:15 am
- Forum: Support
- Topic: Delay Command
- Replies: 6
- Views: 1576
Delay Command
I was just wondering if anybody knew why delay_command spawns 2 zones when I put it in the xml?
This is how I've been entering it:
<Setting name="delay_command" value="r0 1 spawn_zone rubber 100 190 10 0 0 0 .5 false .2 .3 .1 10" />
This is how I've been entering it:
<Setting name="delay_command" value="r0 1 spawn_zone rubber 100 190 10 0 0 0 .5 false .2 .3 .1 10" />
- Mon Oct 25, 2010 11:11 pm
- Forum: Support
- Topic: New game type help/support
- Replies: 17
- Views: 3161
Re: New game type help/support
No problem
- Mon Oct 25, 2010 9:31 pm
- Forum: Support
- Topic: Target Zones
- Replies: 4
- Views: 1247
Re: Target Zones
Hmmm, I've been testing this and it seems that I can only get each zone to have one use. When a second player enters, the command doesn't execute (yet it still gives points). Is there a setting for this or is it supposed to be universal? I've also noticed that it adds the score twice (as in player g...
- Mon Oct 25, 2010 8:47 am
- Forum: Support
- Topic: New game type help/support
- Replies: 17
- Views: 3161
Re: New game type help/support
what if you tried this: spawn_zone n death death 100 100 10 0 0 0 false 1 0 0 5 spawn_zone n target1 target 200 200 5 0 0 0 false .1 .2 .3 5 spawn_zone n target2 target 205 200 5 0 0 0 false .1 .2 .3 5 set_target_command target1 onenter collapse_zone death set_target_command target2 onenter collapse...
- Sun Oct 24, 2010 12:00 pm
- Forum: Support
- Topic: Target Zones
- Replies: 4
- Views: 1247
Target Zones
I've been playing around with target zones and there is one thing I cant figure out. Whenever I give a target zone a specific command (i.e set_target_command name onenter spawn_zone ball 100 100 10 etc...) it only has one use. Does anybody know if there is a way to make the target zones have an infi...
- Sun Oct 24, 2010 4:03 am
- Forum: Development
- Topic: Pulsing Zones
- Replies: 14
- Views: 4358
Re: Pulsing Zones
So, I just ran a test, and if you limit the time (I did 3 mins.) and limit the score (I did 1000), you can delay the map_file command so that it executes after the round has ended (in this case delay_command r0 179). Though this avoids the problem it makes the map rotation VERY limiting and not wort...