Basic Code Editing

Discuss N mapping theory, N maps, and other aspects of map-making.

Moderators: PALEMOON,  yahoozy

User avatar
Remembering Hoxygen
Posts: 972
Joined: 2008.11.02 (06:13)
NUMA Profile: http://nmaps.net/user/rikaninja
Location: The darkness beyond hell.

Postby Rikaninja » 2008.12.06 (08:14)

Basic Code Editing

Well this is a guide to simple NReality coding. Inspired by ChaoStar’s attempt. So all I'm going to do is teach you how to make simple drones and some drone editing. And a warning to all experienced members, this probably won't be of any help to you.

Now, a few drones. First you need to learn about the Chaingun Drone and the basic coding functions in a map/level. When you make a map in N's beloved NEDITOR all the data is stored, so when you return to the menu of Ned you will be able to see this data. After you have made a map press HOME and then ` or \. On the screen will be two text boxes and the top box contains the Game Data. This is the data we will be playing with.

Game Data:

Game data always has data of the placing of the tiles/walls and then the objects/enemys. In the enemy section at the end there will be a variety of numbers that you may not understand and that is what I shall now teach you.

The Chaingun:

You want to make a NReality level and you want, say a Force Field Drone, instead of adding a FFD (Force Field Drone) add a Chaingun and make sure it is the last thing you place in the map. The Chaingun’s code should look something like this:

Code: Select all

6^348,372,3,0,2,2
The number you should be interested in at this point is the second last no.(the first 2). I you were to change this number to 16 when you press L to load the map the Chaingun will turn into a FFD. This is the list of numbers and what drones they will make:

16 : FFD
100 : Ghost Drone Type 1
101 : Ghost Drone Type 2
102 : Ghost Drone Type 3
121 : Rocky Drone
122 : Tile Drone
132 : Alarm Drone
141 : Greedy Drone

Still Drones:

Using the same code, if you want to make a Chaingun which doesn't move anywhere you can change the third number, which in this case is a 3 to a 9. When on loading this map the drone will become still. This will also work if you change the Chaingun into any other drone as well.

Good luck, and therefore a code for...say... a Greedy Drone would be:

Code: Select all

6^348,372,3,0,141/code]
That is the first step in NReality Code editing. Now to learn about Rotating Laser Drones

Rotating Laser Drone:

Make a map and instead of using a Chaingun you have to use a laser drone, and a laser drone code should look something like this:

[code]6^540,444,3,0,1,2
Here we are playing with the 0, the third last number. Changing this number to a 1 will turn the laser drone into a Rotating Laser Drone when you load the map. Thanks for reading, I hope you have learnt something from this guide and see you later!

- Rikaninja {RAN}
Image

User avatar
The 700 Club
Posts: 743
Joined: 2008.09.30 (07:37)
NUMA Profile: http://nmaps.net/user/jackass77
MBTI Type: ESFJ
Location: Australia

Postby jackass » 2008.12.06 (08:59)

RAN to make a drone still you dont have to changed it to a 9 you just have to changed it to an unused number (or a NaN) because when yo load the map the 9 instantly changes to NaN its not like 9 actually means stay still its just a Naned number
[align=center]Image
Mine :: Techno :: Incluye :: GTM ::Skyline :: Riobe :: GTM 2[/align]

User avatar
Remembering Hoxygen
Posts: 972
Joined: 2008.11.02 (06:13)
NUMA Profile: http://nmaps.net/user/rikaninja
Location: The darkness beyond hell.

Postby Rikaninja » 2008.12.06 (09:24)

Ohh. I didn't realise! Oh well, it still works. :)
Image

User avatar
Lifer
Posts: 1066
Joined: 2008.09.26 (18:37)
NUMA Profile: http://nmaps.net/user/EdoI
MBTI Type: INTJ
Location: Zenica, Bosnia and Herzegovina

Postby EdoI » 2008.12.15 (21:50)

Wiki about NReality drones makes this topic unnecessary.

User avatar
Diagnosis Mohawk: Bahrain Cock Theory
Posts: 1405
Joined: 2008.09.23 (13:25)
NUMA Profile: http://nmaps.net/user/spawn_of_yanni
MBTI Type: ENFJ
Location: Pittsburgh

Postby Spawn of Yanni » 2008.12.15 (21:52)

Your post was even more so. If no one finds it necessary, it'll bury itself into the depths. There's no need to point it out ten days later.
Image
feline disrespect from behind


Who is online

Users browsing this forum: No registered users and 52 guests