Adding Objects In-Game

Everything related to modding, mapping and software or hacks

Adding Objects In-Game

Postby Damaskox » Mon Feb 16, 2015 4:22 am

Ever felt like you want to add items on a map, which are not originally on the map?
Ever felt like fighting Creatures on maps, which don't provide such things originally/normally?

Then you might be interested in...
https://www.dropbox.com/s/mulm7ihea11wj ... s.txt?dl=0

This link provides information on few commands you can use in order to spawn Items, Creatures...Objects on a Server of your own.
You can decide yourself, do you want to create a script file or not - it makes things slightly easier to create one.
I also added few links, which take the viewer in a NoX Wiki, where you can find more IDs. I also included the link of a Google Sheet, where I have written down few IDs.

---

Feel free to ask any questions, or give suggestions. I'll edit the content, if we figure out something new or different.

---

EDIT: I'll paste the link's info in here:


You can either use these commands to spawn things, or create a script and memorize only two commands.

To create a script, write the next two lines in Notepad and save the file as script.lua (ALL FILES)in NoX Directory (you also have to have UniMod in the same directory):
setMe()
x,y=playerMouse(me)

To get the coordinates of your mouse, (set the cursor in a specific place on the map and) type the following command In-Game:
dofile("script.lua")

Then you can create what item you want with the following command:
createObject("Obect-ID",X,Y)



You can find IDs of things from the following links:
http://nox.wikia.com/wiki/Special:Categories
http://nox.wikia.com/wiki/Category:Creatures



I decided to gather some IDs in a sheet.
You can access the sheet from here:
https://docs.google.com/spreadsheets/d/ ... sp=sharing

NOTE: The IDs are not case-sensitive!



The following command is needed to give (command-using) permissions on a Server to others:
sysop password
However, I don't know at all (for now), how to use it.
A likable, fine, polished line of few fancy words to make the day happy for someone.
User avatar
Damaskox
Administrator
Administrator
Posts: 227
Joined: Tue Jul 08, 2014 3:52 pm
Location: Finland - Espoo

Return to Modding & Mapping

Who is online

Users browsing this forum: No registered users and 35 guests

cron