Hey, we have forums!

Author Topic: Naija start position  (Read 8424 times)

0 Members and 1 Guest are viewing this topic.

Offline tablatom

  • One Bit
  • *
  • Posts: 1
    • View Profile
Naija start position
« on: February 22, 2012, 06:36:37 pm »
Hi All,

New to modding, but experienced programmer.

I've created a map bitmap png and successfully imported it into my mod. The only problem I have is that Naija is in the middle of the rock!

Is there a way to configure the start position for Naija?

Thanks

Tom

Offline TheBear

  • Extra Bit
  • *****
  • Posts: 199
    • View Profile
    • http://doconnell.wordpress.com
Re: Naija start position
« Reply #1 on: February 23, 2012, 01:01:02 am »
Create a node in the map called "naijastart" and naija will spawn at the location on load. Tons of great info on the wiki: http://aquariawiki.ryanballantyne.name/wiki/index.php/Main_Page

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Naija start position
« Reply #2 on: February 23, 2012, 02:53:02 am »
In the template map, there is already a 'naijastart' node there, just move it somewhere where it fits you.

EDIT: Experienced programmer? Good, then be sure to read the scripting rules on the wiki, that the things you are doing will be compatible with newer versions. (which means: no globals, using the "v" table instead, use local variables where possible, and so on. Note that some of the articles/examples on the wiki are outdated and use the old (and now broken) way of writing scripts.)
« Last Edit: February 23, 2012, 12:14:41 pm by False.Genesis »