Author Topic: removing weapon reload & more  (Read 984 times)

0 Members and 1 Guest are viewing this topic.

muff1n

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
  • Doom Newbie
    • View Profile
removing weapon reload & more
« on: January 13, 2016, 01:58:44 PM »
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

  • Hero Member
  • *****
  • Posts: 1,024
  • Karma: +74/-131
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: removing weapon reload & more
« Reply #1 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.

The Happy Friar

  • Happy Happy Joy Joy
  • Administrator
  • Hero Member
  • *****
  • Posts: 915
  • Karma: +44/-4
  • Semi-Newbie.
    • View Profile
    • EarthQuake
Re: removing weapon reload & more
« Reply #2 on: January 13, 2016, 10:40:40 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

  • Hero Member
  • *****
  • Posts: 1,024
  • Karma: +74/-131
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: removing weapon reload & more
« Reply #3 on: January 13, 2016, 11:30:53 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

  • Happy Happy Joy Joy
  • Administrator
  • Hero Member
  • *****
  • Posts: 915
  • Karma: +44/-4
  • Semi-Newbie.
    • View Profile
    • EarthQuake
Re: removing weapon reload & more
« Reply #4 on: January 14, 2016, 12:05:05 AM »
ahh, i thought meant export new animations.

muff1n

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
  • Doom Newbie
    • View Profile
Re: removing weapon reload & more
« Reply #5 on: January 14, 2016, 12:34:41 PM »
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 ?
« Last Edit: January 14, 2016, 11:33:56 PM by muff1n »