News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

removing weapon reload & more

Started by muff1n, January 13, 2016, 01:58:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

muff1n

Hi im a novice/beginner in coding, mostly stayed to mapping. I just want to make a simple mod and make my own maps to it.
So i would like to know how to disable reload in game, how to speed up anim or time between shots and can i resize models in the code? i saw that i could in the .def files for shotgun for example, but only when you see it in 1st person view.
where and how to make projectiles longer before fall off, like keeping it flying straight longer before it goes down.
also disabling the weapons from moving so weirdly when u move the mouse, i would like them to stay at the same place even when rotating 360 with the mouse. Now they lag behind the mouse movement if you know what i mean. My aim is to make the game faster, more solid.
Also i want to remove the hide behind cover for soldiers heh.

Thnx!

motorsep

You can not speed up animation via code/script. You would have to open model/anim file and change frame rate there.

Weapon lag is in C++ code. Reloading is in scripts.

The Happy Friar

Quote from: motorsep on January 13, 2016, 02:07:08 PM
You can not speed up animation via code/script. You would have to open model/anim file and change frame rate there.

Weapon lag is in C++ code. Reloading is in scripts.


changing the framerate in the md5anim would speed things up, also most weapon def's have the firerate variable.  he could open the anim files in notepad.

motorsep

Quote from: The Happy Friar on January 13, 2016, 10:40:40 PM
Quote from: motorsep on January 13, 2016, 02:07:08 PM
You can not speed up animation via code/script. You would have to open model/anim file and change frame rate there.

Weapon lag is in C++ code. Reloading is in scripts.


changing the framerate in the md5anim would speed things up, also most weapon def's have the firerate variable.  he could open the anim files in notepad.

That's what I said :) Can't speed up / slow down animation from script/def, only by editing md5.

The Happy Friar

ahh, i thought meant export new animations.

muff1n

#5
Ok nice, so i found alot of stuff to remove or tweak in the .def and script files.

i managed to change the rate of fire of the shotgun in the script files.

can i add light to models in .def files or do i have to code it in ? i have tried to copy the imp fireball settings, aka the color one to item types, ammo armor etc and i cant get it to work.
Seems you can only add color to projectiles ?

or can you add light to a texture surface ?