我想做一个类似于DNF单机版贰的单机游戏,或者csoldjb那种的单机游戏。。但不想模仿网络游戏。怎么做?
发布网友
发布时间:2022-04-24 05:49
我来回答
共2个回答
热心网友
时间:2023-10-03 03:07
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>
#include <engine>
#include <metahook>
#include <nst_zombie>
#define PLUGIN_NAME "HP AT工具"
#define PLUGIN_VERSION "2.0"
#define PLUGIN_AUTHOR "Why"
enum (+= 100)
{
TASK_COUNT
}
new health_level[32] = 1
new g_attack[32]={100,...}
new g_atlevel[32] = 1
new count
new g_canhp[33]={1,...}
new g_timer[33],g_timerS[33]
new const hud_hp30[] = "hp30"
new const hud_hp100[] = "hp100"
new const hud_respawn[] = "respawn"
new God[33]=1
new round_end
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
register_concmd("hp","up_hp")
register_concmd("at","up_at")
register_concmd("hp30","hp30")
register_concmd("hp100","hp100")
register_concmd("respawn","respawn")
register_event("HLTV", "event_round_start", "a", "1=0", "2=0")
register_logevent("logevent_round_end", 2, "1=Round_End")
register_event("ResetHUD", "newRound", "b")
//register_event("SendAudio", "ter_win", "a", "2=%!MRAD_terwin")
//register_event("SendAudio", "ct_win", "a", "2=%!MRAD_ctwin")
RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn", 1)
register_forward(FM_PlayerPreThink, "fw_PlayerPreThink")
}
能看懂么、、看懂的话就教给你
看不懂就在学几年数学、、
初中好好学习数学、、想做这玩意数学必须好、
热心网友
时间:2023-10-03 03:08
……这个,你首先要有过硬的技术啊,没技术再怎么样也是白搭。(LZ你学过吗?)
其次,可以请教csoldjb本人,他是csoldjb吧吧主。
其他的我帮不了你。总之,一个人只能创造小游戏,一个团队才能创造一个大游戏。
祝你能实现梦想!
热心网友
时间:2023-10-03 03:07
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>
#include <engine>
#include <metahook>
#include <nst_zombie>
#define PLUGIN_NAME "HP AT工具"
#define PLUGIN_VERSION "2.0"
#define PLUGIN_AUTHOR "Why"
enum (+= 100)
{
TASK_COUNT
}
new health_level[32] = 1
new g_attack[32]={100,...}
new g_atlevel[32] = 1
new count
new g_canhp[33]={1,...}
new g_timer[33],g_timerS[33]
new const hud_hp30[] = "hp30"
new const hud_hp100[] = "hp100"
new const hud_respawn[] = "respawn"
new God[33]=1
new round_end
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
register_concmd("hp","up_hp")
register_concmd("at","up_at")
register_concmd("hp30","hp30")
register_concmd("hp100","hp100")
register_concmd("respawn","respawn")
register_event("HLTV", "event_round_start", "a", "1=0", "2=0")
register_logevent("logevent_round_end", 2, "1=Round_End")
register_event("ResetHUD", "newRound", "b")
//register_event("SendAudio", "ter_win", "a", "2=%!MRAD_terwin")
//register_event("SendAudio", "ct_win", "a", "2=%!MRAD_ctwin")
RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn", 1)
register_forward(FM_PlayerPreThink, "fw_PlayerPreThink")
}
能看懂么、、看懂的话就教给你
看不懂就在学几年数学、、
初中好好学习数学、、想做这玩意数学必须好、
热心网友
时间:2023-10-03 03:08
……这个,你首先要有过硬的技术啊,没技术再怎么样也是白搭。(LZ你学过吗?)
其次,可以请教csoldjb本人,他是csoldjb吧吧主。
其他的我帮不了你。总之,一个人只能创造小游戏,一个团队才能创造一个大游戏。
祝你能实现梦想!