安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






https://github.com/wiremod/wire/wiki/Expression-2#Entity_Discovery
But I recommend testing out the below answer first...
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
Try:
!fire:1:class:gmod_thruster
against a bog standard non-wiremod "aircraft"
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=159298542
HaVe A gOoD dAy
https://developer.valvesoftware.com/wiki/List_of_entities#NPC_entities
PS: The chopper can't be killed with explosives!
-- you can also use wildcards (*)
To shoot any random NPC...
!fire:1:class:npc*
And this is the command to shoot yourself :) just click & spawn new missiles far away.
is a complete command to go and attack a basic NPC
They are used to tell the missile to search for a player name OR a class of gmod object.
E.g a player could have the name "npc_gman"
If they missile accepts the command it hides the chat from others so you are not spamming the server.
If you misspell it or if the missile is not spawned, then it will go to normal chat - so team chat may be safer than global.
If you are extra paranoid, you could change the "!fire" command to "!love" in the E2 chip. :)
Dont forget the "1" as its the default ID of the missile (Still to implement setting of IDs)
I've added some text in the main description to describe the breakdown of the message.