Zombie Grinder is the debut game of TwinDrills, an indie game development duo made up of Tim 'Infini' Leonard and Jordan 'Jordizzle' Chewning. It's a multi-platform (windows, mac, Linux!) (also Free!) cooperative multiplayer arcade game, reminiscent in style and gameplay of retro games like 'Zombies Ate My Neighbors' and 'Super Smash TV!', but with the added benefit of some newer game mechanics - achievements, ranking, player-customization, rpg style stats and so forth. The game sports a variety of different game modes, from co-operative 'campaign' style levels, to wave maps and even the classic 'pvp' style game modes - deathmatch, capture the 'bag' and so forth. All of these mods are bristling with a variety of weapons and items, all lovingly displayed in Jordan's classic quirky pixel-art style.

Forum Thread
  Posts  
Editor/SDK question. (Games : Zombie Grinder : Forum : General Discussion : Editor/SDK question.) Locked
Thread Options
Feb 7 2012 Anchor

When SDK unpacks Game.dat, and creates Bin folder. Does the game still read from Game.dat?
Trying to be more clear, Is games priority, Bin folder or Game.dat?

Edit: For item unique_id, lets say for making a custom weapon. Would any value work? Say starting at 1000? Or are some values out of range?

Thank you for any help that can be provided!

Edited by: Rubz

Infinitus
Infinitus Developer
Feb 7 2012 Anchor

Game.dat takes priority over Bin folder.

Basically this means you can add stuff, but cannot modify the base content (mainly aimed at preventing people messing with base weapon files and such).

The unique_id has to be in the range of a byte 0-255 I think offhand, as long as its not used by the others it should work fine.

Edited by: Infinitus

--

Feb 7 2012 Anchor

Great! I noticed the mod compiler checks for new content. Very neat feature.

My notepad ++ will only open one of the two .mc files. Which I am unfamiliar with. Hunting alternate means at the moment.
The one .mc file notepad++ will open has script, and thats good! But it's not the file the sdk editor requests script wise. Which concerns me, since I would like to rename the files. However I am green, and figure it is nothing trial and error won't reveal to me!

Thanks for the reply, it was very helpful.

Edited by: Rubz

Infinitus
Infinitus Developer
Feb 7 2012 Anchor

.mc files are MicroC, it's a language I wrote myself lol, poorly documented I'm afraid. Until I can write up an explanation you'll have to look through the current ones as examples. Be aware that the base package also includes .mc.c files (these are bytecode compiled versions of the script), either delete these or don't touch them, they are not meant to be edited ;).

But it's not the file the sdk editor requests script wise. Which concerns me,


Not entirely sure what you mean there.

--

Feb 7 2012 Anchor

Ooh! Those are the ones I was hung up about, thanks a bunch again.
What you quoted, I was speaking about the .mc c files. You've cleared that up.
----

An internal error occured within this application.Please contact the developers to help fix this problem and include the dump file which was written to: crashes7Feb2012_150650.dumpException Type : EXCEPTION_ACCESS_VIOLATIONException Address : 0x006999E2Stack Trace: 006999C8 : TEditorObject::CreateObject() 0069D349 : TEditorWindow::UpdateMap() 00758688 : () 00758694 : () 00696BDA : TMapEditor::MainLoop() 00696BAC : TMapEditor::Run()----------------------------------------------------------------

Cannot get past this error message trying to create a weapon.
When I attempt to place the weapon on a map in editor, it crashes instantly when I click to place it. (And does not show it's image in editors object selection.)

Also, the weapon registers fine in the store, and I have successfully tested the basic animations for player 1. However, if I try and shoot the weapon, it crashes the game instantly after. (The weapons stats are not crazy.)

The weapon no longer shares any images or sounds with other weapons, except smoke of course.

The Crash report is from using the sdk.

Thanks a bunch in advance if anyone has any tips!

Edited by: Rubz

Feb 7 2012 Anchor

Bump, if anyone knows how to fix this, it'd be appreciated by me 'n rubz :D

Infinitus
Infinitus Developer
Feb 7 2012 Anchor

(You can't currently add pickups for new weapons - still need to externalise the scripts for pickups, I'll do that soon)

So whatever your doing to make pickups in the editor is probably very very wrong lol.

At the moment weapons you create will only be available via the shop/loadout or through giving them to players via script.

--

Feb 7 2012 Anchor

Thanks again for the help, saves me bonking around in editor wondering if I had messed something up.
I assume I got close, I built every file for it can, and made copies and renames to remove dependancies, added the sprites to "heads" (only player 1 so far) And got all the animation angles syncronized. This is my first time doing any of this, so I am excited! Can't seem to conquer the crash when I attempt to shoot. I'll take a break and hope I have better luck later. Thanks again for your time and help, Very much appreciated.

Infinitus
Infinitus Developer
Feb 7 2012 Anchor

I've got some documentation on the SDK lying around, I'll tidying them up and release them when I get the chance.

Also, just a small warning; Make sure your not working in your desura folder! Otherwise your changes will get wiped when the game updates. Use a standalone copy of the game for playing with the SDK (standalones are available for download on twindrills.com).

Also post your weapon config, I'll tell you if its borked.

--

Feb 7 2012 Anchor

(Thanks for that note about the alternate install.)
Here is the config file;

S000.tinyupload.com

Edited by: Rubz

Infinitus
Infinitus Developer
Feb 7 2012 Anchor

Looks alright. I'm thinking you might have changed the animation file for the avatars image incorrectly, might be that the animation is referencing an invalid frame index.

--

Feb 7 2012 Anchor

Woot! Fired my first shots!
Narrowed the error down to one line, was my custom projectile.
Now im using ; image = pak::Bin\Graphics\Objects\Weapons\magnum\projectile.ini
Works like a charm! Just need to put some time in to fixing recoil, rest of the avatars, and making it pretty!
So happy! Thanks so much.

Edited by: Rubz

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.