|
Post by robotmarble on Feb 20, 2007 0:19:42 GMT
Here ya go:
triggers.cs:
datablock TriggerData(CheckpointTrigger) { tickPeriodMS = 100; };
function CheckpointTrigger::onEnterTrigger(%this,%trigger,%obj) { //%this.getName %name = %trigger.getname(); // Bad, should be a commandtoclient cp.setcurrent(%name);
Parent::onEnterTrigger(%this,%trigger,%obj); }
function CheckpointTrigger::onLeaveTrigger(%this,%trigger,%obj) { Parent::onLeaveTrigger(%this,%trigger,%obj); }
function CheckpointTrigger::onTickTrigger(%this,%trigger) { Parent::onTickTrigger(%this,%trigger); }
___________________________________
game.cs:
function getCheckPoint() { %checkpoint = $checkpointtoload - 1; %groupName = "MissionGroup/CheckPoints"; %group = nameToID(%groupName); %index = %checkpoint; %spawn = %group.getObject(%index);
return %spawn.getTransform(); }
|
|
|
Post by Ian on Feb 20, 2007 1:41:49 GMT
Where's the .dts?
|
|
|
Post by Lonestar on Feb 20, 2007 1:56:57 GMT
It's a trigger.
|
|
|
Post by Ian on Feb 20, 2007 2:08:13 GMT
Yeah, don't you think we need a .dts though?
|
|
|
Post by Lonestar on Feb 20, 2007 2:13:08 GMT
Well, if RM WOULD TELL ME HOW TO GET BLENDER TO WORK ALREADY, I could make it one. Seriously! Tell me already!
|
|
|
Post by IsraeliRD on Feb 20, 2007 2:15:35 GMT
Yeah, don't you think we need a .dts though? the DTS is just like an interior, just multicolored.
|
|
|
Post by Ian on Feb 20, 2007 13:34:02 GMT
Okay, then can someone make a .dif or .dts?
|
|
|
Post by robotmarble on Feb 20, 2007 20:09:59 GMT
You can't add a .dts shape to a trigger you need a .dif or .dts and put it nearby
|
|
|
Post by Perishingflames on Feb 20, 2007 20:56:00 GMT
Do we really need a .dts for it? I mean, it can be invisible, but definitely don't make it anything like the teleport pad, maybe just like a clear thing that has a slight tint to it that the marble can roll through. That is just what I had in mind, I don't know what it's planned to look like...
|
|
|
Post by Perishingflames on Feb 20, 2007 20:59:08 GMT
Scratch that..
Better yet, make it kind of like one of the arches that is something like the mbg arch, maybe with flat edges or something that fits around a normal size platform and is about the same height as one of the arches.
|
|
|
Post by robotmarble on Feb 20, 2007 21:04:08 GMT
Actually I have a flag
|
|
|
Post by Lonestar on Feb 20, 2007 21:22:43 GMT
Did you make the flag or is it from that MiniGolf game?
|
|
|
Post by robotmarble on Feb 20, 2007 23:02:49 GMT
No, I found it online
|
|
|
Post by Lonestar on Feb 20, 2007 23:19:46 GMT
Can you put it on the ftp? We can still download it with our ftp client.
|
|
|
Post by robotmarble on Feb 21, 2007 20:04:46 GMT
It dosn't work yet this is just what I have for you to help with.
|
|
|
Post by Ian on Feb 21, 2007 20:12:49 GMT
Why doesn't the flag work?
|
|
|
Post by robotmarble on Feb 21, 2007 20:13:32 GMT
Oh I thought he meant the tirgger.
|
|
|
Post by Ian on Feb 21, 2007 20:15:15 GMT
Oh, so the checkpoint trigger isn't actually done yet?
|
|
|
Post by robotmarble on Feb 21, 2007 20:36:20 GMT
No just matan wanted me to give it all to lonestar.
|
|
|
Post by Ian on Feb 21, 2007 20:57:04 GMT
Oh. You could of done it in a PM though.
|
|
|
Post by robotmarble on Feb 21, 2007 21:02:30 GMT
I wanted everyone to see it so they could help too if they knew how.
|
|
|
Post by Lonestar on Feb 21, 2007 22:39:03 GMT
But can you post the dts?
|
|
|
Post by phil on Feb 26, 2007 20:43:15 GMT
What about with the Checkpoint shape, if we're able, try and make it similar to the start/end pads. That's if it's possible
|
|
|
Post by Perishingflames on Feb 27, 2007 22:42:31 GMT
I was thinking (just my say) more of something like one of those arches that fit around the interior.
|
|