PDA

View Full Version : Cod2 zombie mod - Vote for difficulty



Mariusz
28th September 2017, 18:12
Hello, I have zombie mod and I would like to change vote difficulty by deleting easy, normal and hard diff and leave with impo and hell.
I wanted to change vote.menu on .iwd package but now I'm thinking about doing it with script files menus.gsc, bzmod.gsc or main.gsc.
Unfortunately, I'm not sure what to do.
My attachments from menus, bzmod main and vote.

---
There must be some kind of missunderstanding. It's prbably my fault. Very sorry.
This time I attached screen from vote. I would like to delete Easy, Normal and Hard with those oval items on the left.
Really I do appraciate your help. My question is where and how do these change?

kung foo man
29th September 2017, 05:45
You either make your own clienthudelems via gsc or you gotta change the .menu and rezip the .iwd

No clue whats your actual problem, missing code examples or so?

https://github.com/kungfooman/cod2_std/blob/master/ad.gsc (or rather extract all *.iwd's and use Notepad++ File Search with search queries like "hudelem")
https://www.youtube.com/watch?v=--chMi15m9k
Also install Notepad++: https://notepad-plus-plus.org/

Best use this for hudelems for being "dynamic": https://killtube.org/showthread.php?2087-Tutorial-settext()-without-precaching

If you just don't know whats best, I would suggest "do it with code". A lot of stuff doesn't need a changed mod at all, if you integrate it nicely into the 3d environment. Like weapons on walls to buy with use-key. Selecting difficulty can be done a standing near one of three points in world etc. like in Quake:

1366

Mariusz
29th September 2017, 12:32
See edited post up.