Garry's Mod

Garry's Mod

Kekistani Cruise Missile (KCM Mk1) by Dr.n00b
*fu* Dr.n00b  [developer] 1 Oct, 2017 @ 9:46am
Bugs
Report bugs here. :cunningpepe:
Last edited by *fu* Dr.n00b; 1 Oct, 2017 @ 9:52am
< >
Showing 1-5 of 5 comments
*fu* Dr.n00b  [developer] 1 Oct, 2017 @ 9:47am 
You attached a normal "LOL trail" on the "wire trail" item...
Last edited by *fu* Dr.n00b; 1 Oct, 2017 @ 9:48am
*fu* Dr.n00b  [developer] 1 Oct, 2017 @ 9:48am 
... Feck, Valve doesn't let me update dupes, so ill have to fix it in Mk2 with some other stuff (when I get enough bug reports), until then just clear the normal trail and redupe it yourself.
Last edited by *fu* Dr.n00b; 1 Oct, 2017 @ 12:47pm
For some reason it doesnt seem to work for me when I type in the fire commands. Ive tried multiple times when I noticed something odd. When you spawn in the dupe it gives you a message which is pretty obviously intentional but the last line is what I find strange.

*fu* Dr. n00b's cruise missile.
Usage:
type in chat '!fire:1:name:YourTargetName' to fire at a player
type in chat '!fire:1:class:npc*' to fire at a random npc
... you can bind the chat to keys to save typing.
State = STATE_WAITING
Message for missile ID find of type

I looked through the screenshots for clues as to what Im missing and I noticed on two images it seems to show that same last line except when I do it its missing a few words. So Im wondering if for whatever reason its just not working for me because of a glitch
*fu* Dr.n00b  [developer] 6 Oct, 2017 @ 12:22pm 
Sorry for the late reply

I think its a normal message for first time deployment of the dupe, and is a side effect of the "AutoRepeat" feature looking for a command.

Basically it tries to read the last typed command in order to fire again without retyping the command (just by duping!) and if the command is missing or invalid it inserts blanks into the message - I should really check for blanks and suppress the message...

When the missile fires properly you will see what its supposed to look like.

---

BUT this message can appear if "!fire" is typed - specifically I tried:
!fire 1 class npc* <--- incorrect !fire;1;class;npc* <--- incorrect !fire:1:class:npc* <--- correct

So im guessing you might be using semicolons (;) or spaces --- its actually uses colons (:) as separators (hopefully these are on everyones keyboard)

The colons are there to allow the command to be "split up" and processed but still allow "spaces" to be interpreted as part of a target's name (such as my own which has a space in front of Dr.)

Try a copy paste of this:
!fire:1:class:npc*
(Make sure you have an npc in the map! Gman or Father Gregory can take a lot of punishment!)
Last edited by *fu* Dr.n00b; 6 Oct, 2017 @ 1:51pm
*fu* Dr.n00b  [developer] 6 Oct, 2017 @ 12:38pm 
[OPTIONAL] FIX FOR "BLUE TEXT EVERYTIME I CHAT" BUG

If you want to stop the message displaying after EVERYTHING you type, go into the E2 chip.

and move this line

print("Message for missile ID " + CmdOwnID + " find " + CmdTgtID + " of type " + CmdIDType)

inside the if statement so its just above

hideChat(1)

So it looks like

RemoteFire = (CmdOwnID == OwnID) & (Cmd=="!fire") if (RemoteFire==1) { print("Missile ID " + CmdOwnID + " find " + CmdTgtID + " of type " + CmdIDType) hideChat(1)

Then save the new dupe for yourself!

(Damn you steam, the forum not wide enough to show on one line... changed the text a bit)
Last edited by *fu* Dr.n00b; 6 Oct, 2017 @ 1:48pm
< >
Showing 1-5 of 5 comments
Per page: 1530 50