Skip to content
View in the app

A better way to browse. Learn more.

主视角中国

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[工具] CPMA HUD编辑2.0版本

Featured Replies

文件名称: CPMA HUD编辑2.0版本

上传会员: 钢管猫

上传时间: 17 Mar 2007

存放位置: 游戏工具 Game Tools

Full ChangeLog.

2007-01-04 release: 0.2.0

* add: fully 1.40 compatible now.

* add: load and store MODEL / ANGLES / OFFSET / DRAW3D with integration into

gui.

* add: add copy&paste possibility, rightclick in hudelement list: 'Paste w/o

position' means we copy everything but the position.

* add: drag&drop in elementlist

* chg: re-layouted element properties dialog and added keyshortcuts for

quick change to tabs (ctrl+1 to ctrl+5)

* chg: display element 'position x size' in statusbar on selection.

* chg: native renderer is no longer available, opengl only now (but you

still can compile w/o opengl)

* chg: updated to wxWidgets 2.8 (but should still compile with at least

2.6.3)

* fix: hudview drag&drop misbehaviour.

* fix: rightclick on element in Hudelements dialog opens popup correctly.

* fix: reading color from file, then write won't lose precision anymore :o

* fix: auto-try file extension .tga if image is not found.

* fix: set modified flag upon preset applying.

* fix: changing properties in !DEFAULT refreshes whole hud.

2006-12-20 norelease: 0.1.0

* fix: on startup, if any window is outside the screen (not visible) then we

reset to default location.

* add: hudspecs file updated to cpma 1.40 (+AttackerIcon +AttackerName

+!PreDecorate5-8 +_PostDecorate5-8 +Console)

* chg: toggling Hud Elements Dialog now with F8 (was F10)

* fix: renamed Teamoverlay presets to correct name Teamchat.

2006-09-15 release: 0.1.0_beta1

* add: press ctrl while moving an element with the mouse and it snaps

to the starting X/Y axis.

* add: displaying font preview on elements.

* add: image loading on elements.

* add: tga loader supporting uncompressed/rle and rgb/rgba files (if anyone

needs indexed/palette support, tell me).

* add: pk3 files reading and (optional) index caching.

* add: added option to enable caching (default disabled). caching isn't

really worth the speed gain while loading from pk3s though.

* add: option for backing up hudfile before saving.

* add: displaying default textures for those failed to load.

(a reason for failure could be that the image specified is in a pk3 which

is not looked at by q3cpmahudeditor.

By default we look in all baseq3/pak*.pk3 and baseq3/map_cpm*.pk3 and

cpma/z-cpma-pak*.pk3 files which are supposed to be available on all

cpma servers. If you make use of other images you might cannot use them

on certain servers.)

* add: optional message dialogs.

* add: investigated a bit more ingame how the cpma superhud works...

(see hudspecs/README.superhud)

* add: fullscreen mode. (experimental, feedback appreciated)

* add: disable (in GUI) those element properties which do not affect the

rendering in cpma anyway.

* add: presets.

* add: change selected/not selected helper background and outline colors in

preferences.

* add: filedialogs always go to previous directory.

* add: automatically check for new version on startup.

* chg: [win32] switched to wxWidgets 2.7 on windows (fixed bug with font threewave

not registering).

* chg: removed 'hud successfully written to' popup.

* chg: renamed Dummy to Text renderer.

* fix: [linux] autoconf version requirement removed.

* fix: 'fade' property now correctly written to hudfile.

* fix: dummyrenderer updates on every change.

* fix: 'threewave' selection in font dropdown now always registered.

* fix: reading 'color T' and 'color E' now correctly from hudfile.

* fix: moving elements up/down in hud elements dialog now does refresh them

if one of the swapped element is !DEFAULT

(-> as inherited properties could have been changed)

* fix: [linux] compilation was broken, linked against inexistant opengl toolkit

library.

* fix: no longer weird drag&drop behaviour with middle/right mousebutton.

* fix: ask for saving changes upon File->Open if current is modified.

* fix: save doublebar command to hudfile

* fix: after File->New and File->Open, hud is now redrawn automatically.

2006-08-18 release: 0.1.0_alpha2

* chg: switched to unicode build.

* fix: no longer redraw twice if user clicks with mouse on

element (wxWidgets).

* add: compiles and runs on linux.

* add: gentoo ebuild.

* add: dummy text renderer - observe realtime hud text preview (how it

will be saved on disk).

* chg: made opengl optional for linux build (use ./configure

--disable-opengl). useful if wxWidgets is not built with opengl.

2006-08-16

* add: preferences dialog.

* add: config variables for several colors: outline and background (unless

the element has a real bg color) both for selected and not selected.

* add: option to always/never/fill background of elements to better spot

overlapping elements (fill = if element has FILL property).

NOTE: 'always' might perform very poorly with the native renderer, use

opengl or switch to 'fill'.

* add: opengl graphical renderer - performs way better than native.

* fix: WeaponList had wrong number of items, now with correct width/height

drawn on graphical renderers.

* fix: in colorpicker dialogs, current color is now preselected.

* fix: entering digits directly in spin controls is now registered.

* add: statusbar with mouse coords / element rectangle while drag&drop.

* add/fix: support for non 640x480 resolutions with correct scaling.

2006-08-13 initial release 0.1.0_alpha1 (win32 only)

Compatible with CPMA 1.40 兼容CPMA1.40版本

Drag&Drop in elementlist 可以拖拽元素列表

Copy&Paste in elementlist (use rightmouseclick) 可以复制粘贴元素列表(用鼠标右键点击)

New layout for element properties dialog 新的元素列表对话框布局

点击这里下载文件

  • 作者

我编辑的HUD样本

WeaponList
{
rect 5 126 60 16
font id
color 0 0 1 0.3
fill
}


TargetName
{
rect 0 256 640 12
time 500
textalign C
}


TargetStatus
{
rect 0 268 640 12
time 500
textalign C
color 0.498 1 1 1
}

Chat1 { rect 5 370 620 12; time 5000; fontsize 12; fade 0 0 0 0; }
Chat2 { rect 5 358 620 12; time 3500; fontsize 12; fade 0 0 0 0; }
Chat3 { rect 5 346 620 12; time 1500; fontsize 12; fade 0 0 0 0; }
Chat4 { rect 5 334 620 12; time 900; fontsize 12; fade 0 0 0 0; }
Chat5 { rect 5 322 620 12; time 800; fontsize 12; fade 0 0 0 0; }
PowerUp1_Icon { rect 608 264 32 32; }
PowerUp1_Time { rect 544 264 64 32; fontsize 32; textalign R; }
PowerUp2_Icon { rect 608 232 32 32; }
PowerUp2_Time { rect 544 232 64 32; fontsize 32; textalign R; }
PowerUp3_Icon { rect 608 200 32 32; }
PowerUp3_Time { rect 544 200 64 32; fontsize 32; textalign R; }
PowerUp4_Icon { rect 608 168 32 32; }
PowerUp4_Time { rect 544 168 64 32; fontsize 32; textalign R; }
Team1 { rect 0 390 640 10; font id; fontsize 8; monospace; textalign R; bgcolor 0 0 0 0.1; }
Team2 { rect 0 380 640 10; font id; fontsize 8; monospace; textalign R; bgcolor 0 0 0 0.1; }
Team3 { rect 0 370 640 10; font id; fontsize 8; monospace; textalign R; bgcolor 0 0 0 0.1; }
Team4 { rect 0 360 640 10; font id; fontsize 8; monospace; textalign R; bgcolor 0 0 0 0.1; }
Team5 { rect 0 350 640 10; font id; fontsize 8; monospace; textalign R; bgcolor 0 0 0 0.1; }
Team6 { rect 0 340 640 10; font id; fontsize 8; monospace; textalign R; bgcolor 0 0 0 0.1; }
Team7 { rect 0 330 640 10; font id; fontsize 8; monospace; textalign R; bgcolor 0 0 0 0.1; }
Team8 { rect 0 320 640 10; font id; fontsize 8; monospace; textalign R; bgcolor 0 0 0 0.1; }

FPS
{
rect 600 0 40 12
textalign R
}


PlayerSpeed
{
rect 76 234 50 12
textalign R
color 1 1 1 0.5
}


NetGraphPing
{
rect 560 0 40 12
textalign R
}


NetGraph
{
rect 550 0 10 10
bgcolor 0.247 0.247 0.247 0.25
fill
}


Console
{
rect 2 0 280 45
font threewave
time 3000
fontsize 6 10
monospace
textalign L
}


!PreDecorate1
{
rect 319 444 2 16
bgcolor 1 1 1 1
fill
}


_PostDecorate1
{
rect 75 459 200 2
bgcolor 1 1 1 1
fill
}


_PostDecorate2
{
rect 365 459 200 2
bgcolor 1 1 1 1
fill
}


StatusBar_HealthCount
{
rect 277 444 40 16
font idblock
fontsize 12 16
textalign C
}


StatusBar_HealthBar
{
rect 75 444 200 32
textalign R
color 0 0 0 0
doublebar
}


StatusBar_ArmorCount
{
rect 323 444 40 16
font idblock
fontsize 12 16
textalign C
}


StatusBar_ArmorBar
{
rect 365 444 200 32
textalign L
color 0 0 0 0
doublebar
}


StatusBar_ArmorIcon
{
rect 551 462 14 14
}


GameType
{
rect 0 16 640 24
fontsize 24
textalign C
color 1 1 0.498 1
}


GameTime
{
rect 290 3 60 17
font threewave
fontsize 12 16
monospace
textalign C
}

Score_OWN { rect 605 12 35 17; font threewave; fontsize 12 16; monospace; textalign C; color T; bgcolor 1 0 1 0.6; fill; }
Score_NME { rect 605 29 35 17; font threewave; fontsize 12 16; monospace; textalign C; color E; bgcolor 0 1 0 0.6; fill; }
Score_Limit { rect 605 463 35 17; font id; fontsize 12 16; monospace; textalign C; bgcolor 0 0 0 0.3; fill; }
TeamCount_OWN { rect 605 126 35 17; font threewave; fontsize 12 16; monospace; textalign C; color T; fill; }
TeamCount_NME { rect 605 143 35 17; font threewave; fontsize 12 16; monospace; textalign C; color E; fill; }
FlagStatus_OWN { rect 588 12 17 17; color T; bgcolor 1 1 1 1; }
FlagStatus_NME { rect 588 29 17 17; color E; bgcolor 1 1 1 1; }

VoteMessageArena
{
rect 0 60 640 16
fontsize 16
textalign C
}


VoteMessageWorld
{
rect 0 76 640 16
fontsize 16
textalign C
color 1 1 0 1
}


WarmupInfo
{
rect 0 60 640 24
fontsize 16
textalign C
}


FollowMessage
{
rect 0 40 640 12
textalign C
}


SpecMessage
{
rect 0 40 640 12
fontsize 12
textalign C
}


FragMessage
{
rect 0 110 640 16
time 3000
fontsize 16
textalign C
color 1 1 1 0.8
fade 0 0 0 0
}


RankMessage
{
rect 0 96 640 12
time 1500
textalign C
fade 1 1 1 0.5
}[/code]

Create an account or sign in to comment

Account

Navigation

搜索

搜索

设置浏览器推送通知

Chrome(安卓)
  1. 点击地址栏旁边的锁形图标。
  2. 点击 权限 → 通知
  3. 根据需要调整通知设置。
Chrome(桌面)
  1. 点击地址栏中的锁形图标。
  2. 选择 网站设置
  3. 找到 通知,然后根据需要调整设置。