Garry's Mod

Garry's Mod

평점이 부족합니다.
Kekistani Cruise Missile (KCM Mk1) by Dr.n00b
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Dupe
Dupe Tags: Machines
파일 크기
게시일
15.430 KB
2017년 9월 30일 오후 3시 41분
업데이트 노트 1개 (보기)

다운로드 위해 구독하기
Kekistani Cruise Missile (KCM Mk1) by Dr.n00b

*fu* Dr.n00b님의 1 모음집
Kekistani Weapon Tech
아이템 8개
설명
"This missile unleashes fire and fury like the world has never seen, on GMOD"
- God Emperor Trump

A 100% thruster driven cruise missile! - no teleport or applyforce.

...also launches from deep underwater - hide dem missiles from the normies!

Feel free to add it to ships/submarines/planes/tanks/dogs etc

HOW TO USE:

Chat commands (type in either team or global chat) - text is hidden if accepted by the missile, all other chat is displayed as normal - so team chat might be safer if you have trouble spelling!

(Player names need to be precise, but class names can use wildcards):
!fire:1:name:YourTargetPlayerFullName (Copy paste from chat history if annoying spelling) !fire:1:class:npc_gman !fire:1:class:npc* !fire:1:class:player* (<-- shoot a random player - untested - might work!) .. and other classes, props etc!

List of classes:
https://developer.valvesoftware.com/wiki/List_of_entities#NPC_entities

IMPORTANT NOTES:

To stop new missiles from following your commands - type some random stuff in chat to clear the last command!

PRO-TIPS:

The command can also be bound to keys (using the console once) for quick fire.
bind yourkey "say !fire:1:class:npc*"

If more than one target matches, it will randomly select one, so you can spam missiles and they will eventually get them all!

If the target dies by some other means, the missile will fly to a random point and detonate.

Missiles will AutoRepeat (execute the last command) immediately after spawning - if that is the last thing you typed (see impt note above) so you can just "type once - dupe many, whilst running around laughing"

DETAILS:

The command is in 4 parts separated by ":" colons so you can target people with spaces in their names:
Part 1 "!fire" - indicates a missile command in chat Part 2 "1" - missile ID (always 1 for now) Part 3 "name/class/model" - indicates type of "find" command used by the missile Part 4 "TargetPlayerName/npc_gman/RagdollModelName" - specifies actual target

KNOWN ISSUES:

ACF Note: It may spiral out of control on some ACFmod servers, as they have non-standard physics settings to make their ACF engine parts run faster. One possible solution is to weld a 6x1x1 unit "tail" to the missile to make it longer and more rotationally stable - just like a firework rocket has a stick!

"I'm upgrading ya stupid missile but repeated duping causes the wiremod components slide off".
This seems to be a bug when using the standard Duplicator tool with Wiremod. Use the "Advanced Duplicator 2" tool from the workshop to do any repeated duping.

KNOWN BUGS (+workarounds till a Mk2 release):

Issue: There's a normal "trail" attached to the "wire trail" so its permamently on.
Workaround: Clear (Right click) the "trail" off the "wire trail" using the standard "trail" tool - then resave as a private dupe.

Issue: Text appearing after everything I type.
Workaround1: Only spawn missile when needed (Aka the Steve Jobs iPhone fix).
Workaround2: Edit code in E2 (See Post#5 in the "Bugs" discussion forum to move one line of code) - then resave as a private dupe.

Issue: I add it to my ship, and my ship sinks (the launcher base is very heavy to stop it moving).
Workaround1: Use a "weight tool" (get from workshop) to change the launcher weight from 100000kg to something smaller. - then resave as a private dupe.
Workaround2: Remove the "wire weld" from the missile and reattach the missile direct to your ship with a new "wire weld" (Wire it to the E2's "Clamp" output). (Pro-tip: attach a breakable rope to link it to your prop for duping!)

---

Get your own Trump cut out from "JIGSAW's" workshop.
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=523628707
인기 토론 모두 보기(1)
5
2017년 10월 6일 오후 12시 38분
Bugs
*fu* Dr.n00b
댓글 31
*fu* Dr.n00b  [작성자] 2018년 5월 31일 오전 9시 36분 
You can also try and mess around with the (many) "find" functions.

https://github.com/wiremod/wire/wiki/Expression-2#Entity_Discovery

But I recommend testing out the below answer first...
*fu* Dr.n00b  [작성자] 2018년 5월 31일 오전 9시 33분 
Unfortunately, I can't update a published dupe, but you could edit your copy of the "E2 code" to add the extra functionality.

From: https://github.com/wiremod/wire/wiki/Expression-2#Entity

It looks like the "entity(N)" function might be what you want to set "tgtEnt" with, if you know the unique ID number
(e.g. from the Nadmod tool)

I would do it by adding an extra option alongside the "name/class/model" you would have "id"

So (after you edited your E2 chip) your commands could look like:

!fire:1:id:456
fggfhfgdhjgdsf 2018년 5월 31일 오전 6시 47분 
or all props
fggfhfgdhjgdsf 2018년 5월 31일 오전 6시 46분 
I can't really target a specific prop, i try but its an error, i can only target npcs or thrusters etc.
fggfhfgdhjgdsf 2018년 5월 31일 오전 4시 42분 
thanks
*fu* Dr.n00b  [작성자] 2018년 5월 30일 오후 2시 06분 
Its fun if the aircraft is made out of wood!
*fu* Dr.n00b  [작성자] 2018년 5월 30일 오후 2시 05분 
It might actually be called "gmod_thruster" oops

Try:

!fire:1:class:gmod_thruster

against a bog standard non-wiremod "aircraft"
*fu* Dr.n00b  [작성자] 2018년 5월 30일 오후 2시 00분 
If you use the Nadmod Prop Protection system, it gives you a handy overlay/popup that appears when you look at an item.
This shows you the "class/type" that you can use with the "class" based version of the command:
!fire:1:class:your_prop_type

You will need to select a type thats:
A) Unique enough to define / pick out your targets
B) Is not a part of the missile - so it doesnt chase it's tail :)

E.g.
"prop_wire_thruster" may not be a good idea, as the missile has one!
...although the plain old GMod keypad thruster "prop_thruster" may be ok...
and "prop_physics" is basically everything else that moves...

You could weld a unique item to your target if its not already a unique type.

Link to addon for checking names:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=159298542
fggfhfgdhjgdsf 2018년 5월 30일 오전 4시 24분 
Also this is a great SAM. would be cool if someone invented a device to find the exact name of X prop and maybe target it aswell
*fu* Dr.n00b  [작성자] 2018년 5월 29일 오후 2시 06분 
Thanks! You should check out my April Fool toilet missile. :)