Jump to content
主视角中国

Recommended Posts

Posted

请教88:俺在HF=CHIAN.V=战队服务器上看到在一些地图中有从一点瞬间传送到另一点(通过一个爆破筒)。为繁荣《荣誉勋章》事业,不知88能否教一教?

  • 2 weeks later...
Posted

求LIGHTRAY3D1.3.6的破戒文件或1.3.5的也可以!官方下的是DEMO!

只好导入不可导出的!希望斑竹提供下载

  • 1 month later...
  • 2 weeks later...
  • 4 weeks later...
  • 3 weeks later...
  • 3 weeks later...
  • 2 months later...
Posted

是这样

开始点-------->结束点

简化一下

thread top

top:

local.trig = spawn trigger_multiple

local.trig setthread hige

local.trig.origin = ( X Y Z ) // starting point开始点

local.trig setsize ( -20 -20 -5 ) ( 20 20 100 )

end

hige:

local.player = parm.other

local.player tele ( X Y Z ) //end point结束点

end

Posted

资料2

.scr是什么?严格来讲是地图的后缀

每个地图都有这个后缀

C:\Program Files\EA GAMES\MOHAA\main\Pak5.pk3 它存于你安装的硬盘中(这里是C区的路径)

Pak5.pk3 用解压缩类软件打开,所有的图都在这个Pak5.pk3内

.scr它可用系统内建的写字版打开

具体的位置见图

gallery_39_2_11515.jpg

图中加深色的部分即是

它是团队作战模式的7张图

mohdm1.scr

mohdm2.scr

mohdm3.scr

mohdm4.scr

mohdm5.scr

mohdm6.scr

mohdm7.scr

C:\Program Files\EA GAMES\MOHAA\main\maps\dm\这是7张图的位置

任务版的4张是

obj_team1.scr

obj_team2.scr

obj_team3.scr

obj_team4.scr

OBJ的4张图的.scr在C:\Program Files\EA GAMES\MOHAA\main\maps\obj\位置

为什么要研究图的.scr,因为该MOHAA系列的地图外的东东是可编辑的,可模式的!

所以,一些国内也好,国外也好MOHAA爱好者热衷于各模式的编写。。。(本人也不例外。。。呵呵)

  • 1 month later...
Posted

可以使用的.30Cal机枪(SERVER_SIDE)

效果图

使用前

gallery_39_2_230861.jpg

按E键用中

gallery_39_2_39033.jpg

修改方法:(暂时不能上传PK3)

1.在mohaa/main/models/vehicles/会找到一个jeep_30cal.tik

2.将它从压缩软件拖出

3.将它用记事本打开

4.将以下内容全部复制到.tiK内

TIKI
setup
{
scale 1.33 // Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's
path models/vehicles/jeep
skelmodel jeep_30cal.skd
surface weapon shader 30cal
surface mount shader 30calmount
}

init
{
server
{
classname TurretGun
weapontype mg
name "jeep .30 Cal"

// turret settings
idleCheckOffset " -179 0 0"
viewOffset " -29.5 -.1 72.5"
viewjitter 0.90

// Primary fire type info
firetype bullet
// ammotype "MG"
meansofdeath bullet
bulletcount 1
usenoammo 1
firedelay 0.1
bulletrange 4000
bulletdamage 40
bulletspread 35 35
tracerfrequency 2
crosshair 0

// AI animation group info
weapongroup jeep_30cal

// DM Attributes
dmbulletcount 1
dmfiredelay 0.1
dmbulletrange 4000
dmbulletdamage 50
dmbulletspread 35 35
dmcrosshair 0

}
client
{
cache muzsprite.spr
cache models/fx/muzflash.tik
cache models/ammo/rifleshell.tik
}
}

animations
{
idle jeep_30cal.skc
fire jeep_30cal.skc
{
server
{
entry shoot
}
client
{
entry stopaliaschannel jeep_snd_fire
entry sound jeep_snd_fire

// muzzle flash
entry tagspawn tag_barrel
(
spawnrange 4096
scale 0.4
offsetalongaxis 1.5 0 0
count 1
model muzsprite.spr
angles 0 0 crandom 25
life 0.06
)
entry tagspawn tag_barrel
(
spawnrange 4096
count 1
scalemin 1.0
scalemax 1.5
model models/fx/muzflash.tik
randomroll
life 0.03
)

// shell eject
entry commanddelay 0.1 tagspawn tag_eject
(
spawnrange 1024
count 1
model models/ammo/rifleshell.tik
scale 1.0
velocity 70
randvel crandom 10 crandom 10 random 20
emitterangles 0 0 0
avelocity crandom 90 crandom 90 0
accel 0 0 -800
physicsrate 20
life 2.0
fadedelay 1.7
collision
bouncefactor 0.2
bouncesoundonce snd_rifle_shell
)

// smoke puff
entry tagspawn tag_barrel
(
spawnrate 1.00
model vsssource.spr
alpha 0.30
color 1.00 1.00 1.00
scale 0.10
life 1.00
scalerate 10.00
velocity 65.00
randvel range 20 -60 crandom -40 range 20 -60
friction 7.00
fade
randomroll
)
}
}
}

/*QUAKED vehicle_allied_jeep_30cal (0.0 .0 0.0) (-60 -40 0) (60 40 128)
Jeep 30cal
*/[/code] 5.自建一文件夹起名vehicles,将修改后的jeep_30cal.tik保存后放入, 以此类推,.....最后得到的文件夹起名是models(jeep_30cal.tik在models/vehicles/下) 6.有打包软件的打包成Z字打头的PK3,无打包软件的这个models 也可以用,将其放到mohaa/main/下 7.这只是PK3文件的完成,还没有说放在那的方法呐,呵呵.. 8.这是MOHDM3.SCR
[code]// REMAGEN
// ARCHITECTURE: STAGGER
// SCRIPTING: POWZER

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "Remagen"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "mohdm3"

// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread

level waittill prespawn


local.30cal = spawn models/vehicles/jeep_30cal.tik //这是加的30cal
local.30cal.origin = ( 1062 -881.7 -70) //坐标
local.30cal.angles = ( 0 270 0) //方向



//*** Precache Dm Stuff
exec global/DMprecache.scr

level.script = maps/dm/mohdm3.scr
exec global/ambient.scr mohdm3

thread global/door_locked.scr::lock

level waittill spawn

end

//-----------------------------------------------------------------------------

roundbasedthread:

// Can specify different scoreboard messages for round based games here.

level waitTill prespawn

level waittill spawn

// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw

level waittill roundstart

end

9.完毕OK!进图中使用你的杰作.30cal.呵呵!

  • 2 weeks later...
  • 1 month later...
Posted

武器修改

我这里有一篇E文资料供参考

Weapon Modding

The game file you’ll need to open is:

C:\Program Files\EA GAMES\MOHAA\main\Pak0.pk3

The first step is to create these folders:

C:\Program Files\EA GAMES\MOHAA\main\models

C:\Program Files\EA GAMES\MOHAA\main\models\fx

C:\Program Files\EA GAMES\MOHAA\main\models\projectiles

C:\Program Files\EA GAMES\MOHAA\main\models\weapons

Step 1:

Use pakscape to open pak0.pk3, click the + next to the word MODELS, then click on the WEAPONS folder, now copy the following files to the folder C:\Program Files\EA GAMES\MOHAA\main\models\weapons you have created:

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\bar.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\bazooka.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\colt45.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\kar98.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\KAR98sniper.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m1_garand.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m2frag_grenade_base.txt

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m2frag_grenade.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m2frag_grenade_sp.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m2frag_grenade_sp_start.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\mp40.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\mp44.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\p38.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\panzerschreck.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\shotgun.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\silencedpistol.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\springfield.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\static_KAR98.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\steilhandgranate.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\steilhandgranate_base.txt

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\steilhandgranate_start.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\thompsonsmg.tik[/code] gallery_39_2_24439.jpg Your computer should look like this now gallery_39_2_24439.jpg Close pakscape Step 2: Now open notepad and choose to open a file. Go to the folder C:\Program Files\EA GAMES\MOHAA\models\weapons\m1_garand.tik Then open m1_garand.tik, if you don’t see it type *.* into the File Name box and hit enter. Once open the file looks like this. Everything in Blue BOLD I typed for your information Everything in red is the stock file information. TIKI
[code]setup

{

scale 0.52 // Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's

path models/weapons/m1_Garand

skelmodel garand.skd

surface gun1 shader Garand

surface gun2 shader Garand

surface gun3 shader Garand

surface material8 shader m1clip

}



init

{

server

{

surface material8 +nodraw





classname Weapon

weapontype rifle

name "M1 Garand"

rank 210 210



pickupsound m1_snd_pickup

ammopickupsound m1_snd_pickup_ammo

noammosound m1_snd_noammo



// Holstering info

// holstertag "Bip01 Spine2"

// holsteroffset "8.0 -7.75 6.5"

// holsterangles "0 185 -25"

// holsterScale 1.0



// Primary fire type info

firetype bullet //don’t ever change this

ammotype "rifle" //don’t ever change this

meansofdeath bullet //don’t ever change this

semiauto //don’t ever change this on semi auto guns or it wont work

cantpartialreload //Take this out if you want to be able to reload mid clip in Single player only

bulletcount 1 //This is the count of bullets that come out of the gun every shot Single player only.

clipsize 8 //This is how many bullets are in each clip Single player only

startammo 8 //This is the amount of ammo that you start the game with Single player only

ammorequired 1 //If you change this to 0 instead of 1 you can use the gun with out losing any ammo

firedelay 0.15 //This is how long between the bullets firing Single player only



//========================================//

// WEAPON ACCURACY MODELLING //

//========================================//



// M1 Garand: Max Eff. Range is 300 yds with a muzzle velocity of 2800 ft/s. (30-06 Springfield)



bulletrange 4000 //If you change this to 9999 accuracy will be 100%

bulletspread 10 10 60 60 //If you change these smaller the bullets will spread less

bulletdamage 45 //This is how much health each bullet takes from someone when you shoot them

firespreadmult 0.7 0.685 200 0.8 //The longer you hold fire the worse the aim gets…. Delete the line and you wont have this problem

tracerfrequency 2 //adds tracers to bullets… I cant get it to work



crosshair 1 //Simply turns crosshair on or off 1 = on 2 = off

// viewkick -2 -3 -1 1 //This is the amount your gun jumps after evey bullet is fired



// AI animation group info

weapongroup rifle //don’t ever change this



// DM Attributes

dmcantpartialreload //Take this out if you want to be able to reload mid clip in Server side only

dmbulletcount 1 //This is the count of bullets that come out of the gun every shot Server side only.

dmstartammo 200 //This is the amount of ammo that you start the game with

dmammorequired 1 //If you change this to 0 instead of 1 you can use the gun with out losing any ammo

dmfiredelay 0.15 //This is how long between the bullets firing

dmbulletrange 4000 //If you change this to 9999 accuracy will be 100%

dmbulletspread 10 10 80 80 //If you change these smaller the bullets will spread less

// dmbulletdamage 50 //This is how much health each bullet takes from someone when you shoot them

dmbulletdamage 48 //This is how much health each bullet takes from someone when you shoot them

// dmfirespreadmult 0.7 0.685 200 0.8 //The longer you hold fire the worse the aim gets…. Delete the line and you wont have this problem

dmfirespreadmult 0.75 0.6 200 0.8 //The longer you hold fire the worse the aim gets…. Delete the line and you wont have this problem

dmmovementspeed 0.94 //This is percent of normal runspeed that you move with this gun



dmcrosshair 1 //Simply turns crosshair on or off 1 = on 2 = off

zoom 20 //Add this to any weapon to make it have a scope



// this is attached to the player during reload

cache models/ammo/garand_clip_reload.tik

}

client

{

cache tracer.spr //don’t ever change this

cache muzsprite.spr //don’t ever change this

cache vsssource.spr //don’t ever change this

cache models/fx/muzflash.tik //don’t ever change this

cache models/ammo/rifleshell.tik //don’t ever change this

cache models/fx/snipesmoke.tik //don’t ever change this

cache models/ammo/garand_clip_empty.tik //don’t ever change this

}

}

--------------------------------------------------------------------------------

Copyright liu8888 2006

  • 4 weeks later...
Posted

单人图样本

以前上传过,找不到那儿了,在整一个

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "Welcome To"
setcvar "g_obj_alliedtext2" "www.fpschina.com"
setcvar "g_obj_alliedtext3" "singer map"
setcvar "g_obj_axistext1" "88"
setcvar "g_obj_axistext2" "2006.7.23"
setcvar "g_obj_axistext3" ""
setcvar "g_gametypestring" "TDM-mod"
setcvar "g_scoreboardpic" ""

removeclass actor // 移除单人图原有的AI人物
removeclass trigger // 移除门(有白框),也可不要
thread spawns

setcvar "g_gametype" "2" //TDM type)
setcvar "fraglimit" "0"
setcvar "timelimit" "15" //时间

setcvar "g_scoreboardpic" "m2l1"//图标

exec global/DMprecache.scr
exec global/door_locked.scr::lock

level waittill prespawn
level.script = maps/m2L1.scr //这是M2L1名,你可将其替换成你要的图名如M2L2A,这样你就有全部的图!

level waittill spawn

end

spawns:

spawn info_player_allied origin "-3805.14 484.91 8.55" angle 45 // COORD 你要设盟军出生点坐标和方向
spawn info_player_allied origin "X X X " angle 45 // COORD 你要设盟军出生点
spawn info_player_allied origin "X X X " angle 65 // COORD 你要设盟军出生点
spawn info_player_allied origin "X X X" angle 45 // COORD 你要设盟军出生点
spawn info_player_allied origin "X X X " angle 45 // COORD 你要设盟军出生点
spawn info_player_allied origin "X X X " angle 90 // COORD 你要设盟军出生点
spawn info_player_allied origin "X X X " angle 65 // COORD 你要设盟军出生点
spawn info_player_allied origin "X X X" angle 45 // COORD 你要设盟军出生点
spawn info_player_allied origin "X X X " angle 45 // COORD 你要设盟军出生点
spawn info_player_allied origin "X X X " angle 90 // COORD 你要设盟军出生点

spawn info_player_axis origin "4967 1887.13 4.13" angle 90 // COORD 你要设德军出生点
spawn info_player_axis origin "X X X " angle 90 // COORD 你要设德军出生点
spawn info_player_axis origin "X X X " angle 90 // COORD 你要设德军出生点
spawn info_player_axis origin "X X X " angle 90 // COORD 你要设德军出生点
spawn info_player_axis origin "X X X " angle 90 // COORD 你要设德军出生点
spawn info_player_axis origin "X X X " angle 90 // COORD 你要设德军出生点
spawn info_player_axis origin "X X X " angle 90 // COORD 你要设德军出生点
spawn info_player_axis origin "X X X " angle 90 // COORD 你要设德军出生点
spawn info_player_axis origin "X X X " angle 90 // COORD 你要设德军出生点
spawn info_player_axis origin "X X X " angle 90 // COORD 你要设德军出生点

end

/*
坐标测量方法:
将控制台打开后,按COORD得到坐标数据添上即可!详见S_22加V2文章。
*/[/code]

  • 3 weeks later...
  • 2 weeks later...
Posted

bot(机器人)三张单人图pk3

它们是m212a,m213b,m613b,团队作战模式

地图路径在maps/dm/下,不是maps/下!...

它运行需要jv_bot.pk3,若没有的话可找一下俺上传的bot

pk3即可替代!

gallery_39_2_38002.jpg

gallery_39_2_17985.jpg

gallery_39_2_51232.jpg

别忘了把3个图的.bsp文件放到main/maps/dm下

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

登录

Already have an account? Sign in here.

现在登录
×
×
  • 创建新的...