
標題: 有冇插件可以增加Tank or Witch 既出現率? [打印本頁]
作者: starjeff 時間: 2009-12-13 18:17 標題: 有冇插件可以增加Tank or Witch 既出現率?
即係一關有3-4 隻Tank or 6-7 Witch ? Thanks~
作者: 辰夜 時間: 2009-12-13 18:25
插件都唔洗
打個指令就得
作者: starjeff 時間: 2009-12-13 18:33
引用:
原帖由 辰夜 於 2009-12-13 18:25 發表 
插件都唔洗
打個指令就得
要開sv cheat...? 我想有插件增加ramdom 出tank 既概率... thanks.
作者: 天羽‧耀洋 時間: 2009-12-25 04:36
點隨機出tank既慨率呢- -?? tank就tank出幾多次就有 隨機出幾多次就冇啦 重有你想點慨率法
?
作者: YSH=] 時間: 2009-12-26 13:21
複製內容到剪貼板
代碼:
#include <sourcemod>
#include <sdktools>
#define PLUGIN_VERSION "0.0.0.1"
public Plugin:myinfo =
{
name = "定時 ",
author = "YSH=]",
description = "簡單的定時出Tank插件",
version = PLUGIN_VERSION,
url = "http://ysh021003.no-ip.org/"
}
public OnPluginStart()
{
CreateConVar("sm_tank_version", PLUGIN_VERSION, "插件版本", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY);
CreateTimer(150.0, Tank, _, TIMER_REPEAT); //預設150秒出一次Tank
}
public Action:Tank(Handle:timer)
{
new flags = GetCommandFlags("z_spawn");
SetCommandFlags("z_spawn", flags & ~FCVAR_CHEAT);
ServerCommand("z_spawn","tank","auto");
SetCommandFlags("z_spawn", flags);
}
做唔到隨機
但整左定時(150秒)
[ 本帖最後由 YSH=] 於 2009-12-29 17:30 編輯 ]
作者: zimber007 時間: 2009-12-26 13:52
嘩- -
你打左幾耐- -?
佢意思 =
每關正常都會出一隻tank, [[[當然有陣時冇
佢想每次出tank 既時侯,都係random,
可能一隻可能幾隻~
作者: tom1314 時間: 2009-12-26 13:55
引用:
原帖由 zimber007 於 2009-12-26 13:52 發表 
嘩- -
你打左幾耐- -?
佢意思 =
每關正常都會出一隻tank, [[[當然有陣時冇
佢想每次出tank 既時侯,都係random,
可能一隻可能幾隻~
This just is a Easy code,only 1~2 minutes can be done.
作者: YSH=] 時間: 2009-12-26 15:16
引用:
原帖由 tom1314 於 2009-12-26 13:55 發表 
This just is a Easy code,only 1~2 minutes can be done.
差唔多啦
作者: starjeff 時間: 2009-12-29 16:34
Dead Link, can you post the link again please, thanks.
作者: YSH=] 時間: 2009-12-29 17:30
引用:
原帖由 starjeff 於 2009-12-29 16:34 發表 
Dead Link, can you post the link again please, thanks.
我原碼都放左你唔用?
作者: starjeff 時間: 2009-12-29 18:39
係唔係就咁create smx file, then paste d code 上去? thanks
作者: jack07161 時間: 2009-12-29 19:15
有出Tank 冇witch 可以set出Tank 後出witch
作者: tom1314 時間: 2009-12-29 22:24
here is the smx:
http://www.sourcemod.net/compiler.php?go=dl&id=121913
作者: starjeff 時間: 2009-12-30 00:59
用左, 不過好似冇反應- -, tank 都係得0-1 隻 per map, please help
作者: kk487 時間: 2009-12-31 13:08
好易= = 用左無限屍之後開個sever.cfg得啦
我等等比我個sever.cfg你啦
歡迎光臨 IPvE vLan 遊戲平台|網吧系統 (https://ipve.com/bbs/) |
Powered by Discuz! 6.0.0 |