Author Topic: []----[]'s Unfinished Add-On Dump  (Read 17541 times)

hey so

Occasionally I get requests for a couple of the unfinished mods I've had lying around, and, while I've tried to put off those requests with the idea that I'm still working on them, and that they're not fit for release, I've gotten kind of tired of working on a lot of them, so I'm sort of out of excuses to not try to distribute these in some form or another.  The problem is, they're still not fit for release and I really don't feel like doing all that boring patching-up work to make something releasable.

So I'm just going to leave these here.  They're provided as-is, and I hopefully won't spend too long writing detailed instructions on how to use them.  If you can't figure it out, either give the script a scan, or nag me to the end of time/until my eyes and ears fall out.  I'm mostly hoping that someone might be able to reuse parts of the code or improve them.

Mafia Madness
Code: me, a certain amount of people specified specifically in code comments, a significant amount of ottosparksian additions, and everyone who answered my questions when i was stuck
Models: khain, khain, khain, khain, khain, and khain

DOWNLOAD [NEW]               DOWNLOAD DAYCYCLES TOO [REQUIRED]

I think the only thing you have to do to get this one working is to build a map with spawn points & junk in it and type /startmm.  I think to set the afterlife up, you'll want to go to where you want the afterlife spawn to be, and type $Pref::Server::MMAfterlifeLoc = findclientbyname("yourname").getcontrolobject().getposition(); into console.

edit: sorta-full list of commands here

UPD8: the crazy knife problem was totally my fault so i went & fixed that but the observer problem was a totally dumb thing and i hate that i had to fix that
the observer fix may break other things though idk i didn't see anything broken when i tested it but just in case here is the old version.  the new version is up there.  do not click the "old version" link if you are looking for the new version.

Terrain Generator
Code: me and ottosparks afaicr
C++: me & i can't really remember & also some suggestions from brian smith

DOWNLOAD       DOWNLOAD C++ SOURCE FILES [WINDOWS]

The thing about this mod which makes it so hard to release is that it uses a second half which runs as a .exe.  Clearly I can't post that here, but maybe I can post the C++ source code for other people to compile?  Idunno, but in the meantime, the same file which contains the torquescript interface for the C++ terrain generator also contains the old version of the terrain generator which functions kinda the same except slower and with less features.  If I get any confirmation that I can post C++ source code here, I'll do that, but in the meantime, feel free to seethe at the squandered potential of the incomplete application lying in front of you, the other half of it just out of reach.  Or contact me personally.

Anyway, I can't even remember how to use this.  It's operated pretty much entirely in console.  Something about newTerrainObject with some parameters and then maybe a .generateNoiseMaps on the new object?  And then I remember you set your client's .terrainMap to the object to make it auto-build as you plant 64x cubes.  If I get requests for it, I'll look at the script again and poke up better instructions, but slicknoise's better anyway if you put octaves on it.  This code was super annoying.


According to Brian it's OK to post C++ source files, so I'm gonna go ahead and post these.  Let me know if it's not OK, I guess.

Ok so basically you first run the compile the source files and run the .exe, then execute a command in the server console that looks like this:
findclientbyname("yourname").terrainInfo = "0 0 0 0.00390625 48 242 15 5 0.015625";
Then place a 64x cube on the ground, move it 1 brick forward (the movement won't work, don't worry) and then switch to supershift.  Plant a chunk, then clear your bricks.  Then execute these commands:
localServerTCP.send("SET LAYERS 6\n");
localserverTCP.send("SET LAYERS3D 5\n");

Then supershift your ghost brick around and plant to your hearts' content.  That should be enough to get you started.  Fiddle around with those numbers.

You're on your own for compiling it.


Let me know if I'm missing anything or you want something else.

[also i forgot to mention it's perfectly fine w/ me if you host, modify, or even re-release a modified version of these or something that incorporates these just so long as you give credit to those specified above]
[also i forgot to mention big thx 2 otto for putting up the files on his dropbox <3 u da man]
« Last Edit: August 12, 2013, 02:39:33 AM by []----[] »


ya b needin new models






there is no command to set where an abducted body goes though

edit: replace "afterlife" with "dumpster"

works nicely
« Last Edit: May 21, 2013, 04:24:39 PM by CharlesSpeaking »



The Crazy role does not spawn with a knife.  Any way to fix this?

The Crazy role does not spawn with a knife.  Any way to fix this?
also, you cannot damage players in the afterlife arena

What on earth is Brick_Print_Icons?

also, you cannot damage players in the afterlife arena
there's a pref for the arena area iirc