Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: BLuBIN_BoY on December 30, 2015, 12:10:07 PM

Title: Help with custom weapons?
Post by: BLuBIN_BoY on December 30, 2015, 12:10:07 PM
I've been looking around for a tutorial on how to make custom weapons, but I haven't found one. I just want some basic stuff, I'm trying to make a level with laser turrets that target creeper on it, but I haven't found a way to set that up. Help?
Title: Re: Help with custom weapons?
Post by: Builder17 on December 30, 2015, 01:07:49 PM
Look Chimera of Alpha sector. There is something similar.
Title: Re: Help with custom weapons?
Post by: BLuBIN_BoY on December 30, 2015, 06:21:58 PM
Thanks! Also, do you know of a guide anywhere on this topic? I had interest in creating other custom weapons too.
Title: Re: Help with custom weapons?
Post by: Builder17 on December 31, 2015, 03:39:12 AM
Try looking this https://knucklecracker.com/forums/index.php?topic=17879.
It tells you it's some CRPL coding to make something like custom weapon.
Title: Re: Help with custom weapons?
Post by: BLuBIN_BoY on December 31, 2015, 10:55:07 AM
That just kinda led me full circle, but thanks :) I was more referring to friendly weapons though, that thread was talking about creeper controlled weaponry. Also, I haven't quite got that far in the game, and I've noticed that the game locks off the rest of it's files until they are beaten. Is there any way around this, or could you post the crpl?
Title: Re: Help with custom weapons?
Post by: Builder17 on December 31, 2015, 12:30:20 PM
Friendly custom weapons are pretty hard to code , or maybe impossible. Can you explain better how you want it to target creeper?
http://knucklecracker.com/wiki/doku.php?id=crpl:docs:getnearestgroundenemy is maybe at least how it can target enemy.
It fully depends how you want it to work.
Title: Re: Help with custom weapons?
Post by: Builder17 on December 31, 2015, 12:57:34 PM
Chimera gun scripts modified that these target creeper and digitalis.
But you have to do it how you want it to work.
And don't attach the CRBullet script to any CRPL core.
Title: Re: Help with custom weapons?
Post by: BLuBIN_BoY on December 31, 2015, 01:25:05 PM
Thanks!