Quote:
I've heard Doom 3 requires a ton of scripting just to get simple things done).
Doom 3 doesn't require really any scripting(aside from entity defs, materials and sound shaders), you can make a new game without ANY scripting at all. Were the D3 scripts really work well is with scripted level events.
Quote:
increase movement speed of the player
Look in syscvar.cpp and find pm_walkspeed/pm_runspeed and in player.def, change to whatever you want.
Quote:
new map with 1 weapon (new, not existing one)
Look in player.def find the "weapon" key and change the value to whatever you want.
Quote:
What's need to be written in C++
Any new mechanics/scripted events/etc.
Quote:
Change projections of the pistol
Look at weapon_pistol.script and find the "weapon_pistol::Fire" function and compare it to the plasmagun, you will also need to copy over some of the keys in the weapon def files, but thats it.
Quote:
I want to make a new menu (New game and Exit),
If you want a basic menu template, heres mine from idTech 4 cdk its basic and provides what you need(save to mainmenu.gui)
Code:
windowDef Desktop
{
rect 0 ,0 ,1280 ,720
backcolor 0, 0, 0, 0
menugui 1
float doomme 1
onESC {
if ("desktop::doomme" == 0) {
showcursor "1" ;
set "idlogo::rect" "0 0 0 0" ;
set "demoEnd::rect" "0 0 0 0" ;
resetTime "SoundrunMenu" "0" ;
set "desktop::doomme" "1" ;
set "cmd" "play """ ;
}
set "cmd" "close" ;
if ("desktop::doomme" == 666) {
set "cmd" "quit" ;
}
}
windowDef unnamed5
{
rect 0,0,1280,720
visible 1
background "guis/assets/mainmenu/mainmenu"
matcolor 1,1,1,1
}
windowDef unnamed1
{
rect 1069,609,180,38
visible 1
forecolor 0.6, 1, 1, 1
text "Play Game"
textscale 0.5
textalign 2
textalignx -10
textaligny 4
backcolor 0,0,0,1
onMouseEnter {
transition "forecolor" "0.6 1 1 1" "1 1 1 1" "250" ;
}
onMouseExit {
transition "forecolor" "1 1 1 1" "0.6 1 1 1" "250" ;
}
onAction {
set "cmd" "startGame" ;
}
}
windowDef unnamed1111
{
rect 1102,656,141,36
visible 1
forecolor 0.6, 1, 1, 1
text "Quit"
textscale 0.5
textalign 2
textalignx -10
textaligny 4
backcolor 0,0,0,1
onMouseEnter {
transition "forecolor" "0.6 1 1 1" "1 1 1 1" "250" ;
}
onMouseExit {
transition "forecolor" "1 1 1 1" "0.6 1 1 1" "250" ;
}
onAction {
set "cmd" "quit" ;
}
}
}