Hey, we have forums!

Author Topic: I can't make interactive nodes  (Read 10530 times)

0 Members and 1 Guest are viewing this topic.

Offline neon

  • Mini Bit
  • **
  • Posts: 4
    • View Profile
I can't make interactive nodes
« on: February 16, 2008, 05:58:37 pm »
Sorry if this has come up before, but I didn't find it with a forum search.

I'm having some strange problems in the level editor:
The first is that I can't make nodes by pressing the spacebar, like the tutorial tells you to. I eventually found that I could drop them by holding control, and then pressing spacebar, but this led to my second problem.
The nodes that are made this way do not work fully. I can make currents, zoom nodes, and particle effects, basically anything that works by just touching it or passing through it, but if I make things that you have to right click on, like sit and sleep, they do not work. Is this a known problem? I've seen other mods where people have got these things to work. Also, it is only the nodes that I make that will not work. I can sit in the real game, and in the tutorial mod. If anyone can help, I would really appreciate it.

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: I can't make interactive nodes
« Reply #1 on: February 16, 2008, 06:00:14 pm »
For sit and sleep, you actually need script files that the nodes will load.

e.g. if you give a node the name "SIT" it'll look for scripts/node_sit.lua

I believe the sit + sleep scripts are in one or some of the included mods... guert_mod for sure.

Offline neon

  • Mini Bit
  • **
  • Posts: 4
    • View Profile
Re: I can't make interactive nodes
« Reply #2 on: February 16, 2008, 06:08:18 pm »
That would explain not being able to make them in the template. But if I use the editor in the tutorial and guert mods, I still can't make sit and sleep nodes. The ones that are already there work, it's just that I can't make any of my own. Thankyou for the quick reply though. The only other thing I was wondering is if it could have anything to do with having to hold ctrl. Or is that deliberate?

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: I can't make interactive nodes
« Reply #3 on: February 16, 2008, 06:14:41 pm »
There's a mistake in the tutorial mod, you're supposed to use CTRL+Space to add new nodes and Space to create nodes on a path.

To add a new sit node, you should just have to create a new node called "SIT".

Offline neon

  • Mini Bit
  • **
  • Posts: 4
    • View Profile
Re: I can't make interactive nodes
« Reply #4 on: February 16, 2008, 06:27:30 pm »
I did. I can't right click on it though. I've tried resizing it and all kinds of things, but if I make something I have to click on it does not work. I can't describe it in any way other then "only the stuff that I make does not work." Well, things like PE SPARKLE work, but there's only so much you can do with them. I know I've repeated myself there, but that is the only way I can describe it. If I make it, it does not work. And the node_sit and node_sleep files are now in the scripts folder of every mod I've got  :(.

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: I can't make interactive nodes
« Reply #5 on: February 16, 2008, 06:33:55 pm »
You might have to save the map and reload it in that build before new script nodes will be loaded.

i.e. F2 F1

Offline neon

  • Mini Bit
  • **
  • Posts: 4
    • View Profile
Re: I can't make interactive nodes
« Reply #6 on: February 16, 2008, 06:39:35 pm »
Yes!  ;D That worked! Thankyou. I had been deliberately not saving because I thought I had done something wrong and if I saved I would never be able to undo it. Thanks for the incredibly quick replies as well. I don't have any programming experience whatsoever, but I'm definitely going to try and make a map at the least now that I can make nodes.

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: I can't make interactive nodes
« Reply #7 on: February 16, 2008, 06:41:02 pm »
I'm definitely going to try and make a map at the least now that I can make nodes.

Sweet! Looking forward to seeing what you come up with. :)

Offline Alphasoldier

  • Dream Bit
  • **********
  • Posts: 1810
  • Zero Suit!
    • View Profile
Re: I can't make interactive nodes
« Reply #8 on: February 17, 2008, 12:13:23 am »
Yeah, I also noticed in the editor that nodes won't work untill you reload the level after saving and that changes like sprites are immediatly changed, which is awesome IMO. Do you know from the top of your head what stuff loads immediatly and what things require a level or even a game reboot?
God sees and knows everything, but at least he won't gossip about it.