TUG
TUG > General Discussions > Topic Details
Nocare Jul 20, 2014 @ 4:24pm
Soo... anyone doing anything cool modwise yet?
I bought this game yesterday, and swiftly proceeded to dive into trying to mod it. I stayed up all night and day working on it, accumulated 5 steam hours of the game actually being on.

So from 0 to my knowledge now, I've gotten a custom item model into the game finally.
I decided to make a bow. Just getting to that point has been a journey, and now its not so hard.
After my first object successfully loading into the game everything just kind of flowed out haha.

https://www.dropbox.com/s/h2yz69pjqk1467r/bow-4.png
https://www.dropbox.com/s/8r7j13g67rfbczd/bow-5.png
https://www.dropbox.com/s/nug6lpm3tdi7cw6/bow-6.png

So is anyone else working on any mods yet?
Last edited by Nocare; Jul 20, 2014 @ 4:25pm
< >
Showing 1-15 of 27 comments
Pamcakes Jul 20, 2014 @ 4:57pm 
Super cool! Have you checked out any of Sigil's stuff? He's got some things in the Guide's.
Nocare Jul 20, 2014 @ 5:04pm 
Yes I looked at every thread on mod side of the forum last night. I went full on crazy with excitement with modding haha.
The troubles I had just drove me more. I'm stubborn like that.
Pamcakes Jul 20, 2014 @ 5:12pm 
Well I can't wait to see more things come from you, I'll be keeping a watchful eye. O_<
TheRmbomo Jul 20, 2014 @ 5:16pm 
Your drive is pretty amazing. Fantastic to see modders so early. Really keep up what you like to do. Who knows where it will take you.
Ender Jul 20, 2014 @ 5:17pm 
I was hoping someone would do a bow mod! Hope to see more cool mods from you, man, well done.
Nocare Jul 20, 2014 @ 5:20pm 
I'm trying. Planned to utilize the javelin to create an ammo system, but it seems that lil guy is still pretty tied up in the c++ side of things.

But that just motivates me to start thinking outside the box :P
Nocare Jul 20, 2014 @ 5:36pm 
I would really love to know if it is possible to dump out values of objects/variables in the api to a log or something. This would help immensly with exploring and understanding the api. I asked on the forums but it does seem rather dead compared to here.

The company I work for has an hc_dd, where's my nk_dd? :P
Last edited by Nocare; Jul 20, 2014 @ 5:38pm
Bud1980 Jul 20, 2014 @ 8:36pm 
that bow looks awesome
★Kuroh | Breez3 Jul 20, 2014 @ 9:05pm 
I am working on some, just I am short on times. But I am on and off and have some that I haven't uploaded yet.

MyFitMoney
Nocare Jul 21, 2014 @ 3:40am 
Finally passed out after my long programming binge haha!
I uploaded this very short clip of the bow.
https://www.youtube.com/watch?v=QckPJxgwUPk&feature=youtu.be

I really haven't gotten very far on it. Trying to figure out some things hehe. I can throw the bow infinitely. Not quite what I want but certainly a start.

MyFitMoney, I can't wait to see what you have been working on :)
Nocare Jul 21, 2014 @ 3:54am 
Oh definite progression just now. For the bow, I've modified it so that it SHOOTS SPEARS. Hahaha. Just great.
https://www.dropbox.com/s/ak4w8wgobesvy8e/Screenshot%202014-07-21%2003.49.15.png

Still need to figure out how to make code more generic, not reset the "shooting" stance I stole from the spear, and figure out how to change properities of the projectile as well as ammo.

But omg! This is peicing together and i'm going crazy with excitement over it hahaha
A Polar Bear Jul 21, 2014 @ 6:09am 
cant wait to see how it goes, i might be picking up tug soon and this will probably be the first i download
Pamcakes Jul 21, 2014 @ 6:53am 
Hey Nocare, there's something I'd like to ask you so shoot me a message sometime when you get this, k?
Auti0 Jul 21, 2014 @ 8:49pm 
I'm really impressed Nocare that you were able to get all this going in just a few days. Good work man.

Originally posted by Nocare:
I would really love to know if it is possible to dump out values of objects/variables in the api to a log or something. This would help immensly with exploring and understanding the api. I asked on the forums but it does seem rather dead compared to here.

The company I work for has an hc_dd, where's my nk_dd? :P

As far as this goes we are working on a system for it. You can currently use NKError() to create a popup and put whatever variables you want in there to see their value( If it's anything that isn't a string you have to wrap it in tostring()) We are working on trying to create a more robust logging system in the engine and scripting system. This stuff tends to fall way side for other higher priority stuff though when it comes down to it. You can use inspect.lua (located in scripts/utils/) in tandem with NKError() to dump out the contents of entire tables as well. I've found it's pretty useful.

I'm also currently trying to integrate a debugger so we can throw break points in there, but it's been proving difficult with our Lua VM. I'll hopefully get a chance to complete it's integration before the next release.

One last thing, I saw in another thread somewhere that you were asking about hot-reloading of the scripts at run-time so you didn't have to reload the game everytime. Just add this

F5 = "Reload Assets"

to your keybinds.txt and you can just hit "F5" to reload the scripts after you've saved them.
Nocare Jul 21, 2014 @ 8:57pm 
I really really really appreaciate the insight here. This is going to my make my own and others develpment process easier.

So thank you very much for both the information and nice comment.
Last edited by Nocare; Jul 21, 2014 @ 8:58pm
< >
Showing 1-15 of 27 comments
Per page: 15 30 50

TUG > General Discussions > Topic Details
Date Posted: Jul 20, 2014 @ 4:24pm
Posts: 27