file All The Checkpoint Stuff

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
20 Feb 2007 03:19 #1
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();
}

Please Log in or Create an account to join the conversation.

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
20 Feb 2007 04:41 #2
Where's the .dts?

Please Log in or Create an account to join the conversation.

  • Posts: 455
  • Thank you received: 1
20 Feb 2007 04:56 #3
It's a trigger.

Please Log in or Create an account to join the conversation.

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
20 Feb 2007 05:08 #4
Yeah, don't you think we need a .dts though?

Please Log in or Create an account to join the conversation.

  • Posts: 455
  • Thank you received: 1
20 Feb 2007 05:13 #5
Well, if RM WOULD TELL ME HOW TO GET BLENDER TO WORK ALREADY, I could make it one. Seriously! Tell me already!

Please Log in or Create an account to join the conversation.

  • IsraeliRD
  • IsraeliRD's Avatar
  • Offline
  • Project Manager
  • Project Manager
  • Dragon Power Supreme
  • Posts: 3502
  • Thank you received: 913
20 Feb 2007 05:15 #6
Quote:Yeah, don't you think we need a .dts though?

the DTS is just like an interior, just multicolored.

"matan, now i get what you meant a few years back when you said that "the level in mbg is beyond me" after the last rampage i noticed things were insane, and now i truly feel that too" - Dushine, 2015.

Please Log in or Create an account to join the conversation.

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
20 Feb 2007 16:34 #7
Okay, then can someone make a .dif or .dts?

Please Log in or Create an account to join the conversation.

  • Perishingflames
  • Perishingflames's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
  • Posts: 882
  • Thank you received: 21
20 Feb 2007 23:09 #8
You can't add a .dts shape to a trigger you need a .dif or .dts and put it nearby

Please Log in or Create an account to join the conversation.

  • Perishingflames
  • Perishingflames's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
  • Posts: 882
  • Thank you received: 21
20 Feb 2007 23:56 #9
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...

Please Log in or Create an account to join the conversation.

  • Perishingflames
  • Perishingflames's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
  • Posts: 882
  • Thank you received: 21
20 Feb 2007 23:59 #10
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.

Please Log in or Create an account to join the conversation.

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
21 Feb 2007 00:04 #11
Actually I have a flag

Please Log in or Create an account to join the conversation.

  • Posts: 455
  • Thank you received: 1
21 Feb 2007 00:22 #12
Did you make the flag or is it from that MiniGolf game?

Please Log in or Create an account to join the conversation.

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
21 Feb 2007 02:02 #13
No, I found it online

Please Log in or Create an account to join the conversation.

  • Posts: 455
  • Thank you received: 1
21 Feb 2007 02:19 #14
Can you put it on the ftp? We can still download it with our ftp client.

Please Log in or Create an account to join the conversation.

  • Posts: 484
  • Thank you received: 1
21 Feb 2007 23:04 #15
It dosn't work yet this is just what I have for you to help with.

Please Log in or Create an account to join the conversation.

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
21 Feb 2007 23:12 #16
Why doesn't the flag work?

Please Log in or Create an account to join the conversation.

  • robotmarble
  • robotmarble's Avatar
  • Visitor
  • Visitor
21 Feb 2007 23:13 #17
Oh I thought he meant the tirgger.

Please Log in or Create an account to join the conversation.

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
21 Feb 2007 23:15 #18
Oh, so the checkpoint trigger isn't actually done yet?

Please Log in or Create an account to join the conversation.

  • robotmarble
  • robotmarble's Avatar
  • Visitor
  • Visitor
21 Feb 2007 23:36 #19
No just matan wanted me to give it all to lonestar.

Please Log in or Create an account to join the conversation.

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
21 Feb 2007 23:57 #20
Oh. You could of done it in a PM though.

Please Log in or Create an account to join the conversation.

  • robotmarble
  • robotmarble's Avatar
  • Visitor
  • Visitor
22 Feb 2007 00:02 #21
I wanted everyone to see it so they could help too if they knew how.

Please Log in or Create an account to join the conversation.

  • Posts: 455
  • Thank you received: 1
22 Feb 2007 01:39 #22
But can you post the dts?

Please Log in or Create an account to join the conversation.

  • Posts: 484
  • Thank you received: 1
26 Feb 2007 23:43 #23
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

Please Log in or Create an account to join the conversation.

  • Perishingflames
  • Perishingflames's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
  • Posts: 882
  • Thank you received: 21
28 Feb 2007 01:42 #24
I was thinking (just my say) more of something like one of those arches that fit around the interior.

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 1.674 seconds