Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make new weapons?

#1
I am trying to program a new weapon. I have made a new .qc file and add it to w_all.qc. Write a w_weaponname() function and add the wepaon with REGISTER_WEAPON(). The weapon do currently nothing and has no model too because i want to bring xonotic first to working with a new weapon. But when i start the game with the new progs.dat the server/game crashes with some errors in the console. So what i must do more to bring the game to working?
Reply

#2
You need to compile the client side code (csprogs.dat) too.
[Image: 230.png]
Reply

#3
csprogs might be the issue, yes.

But really, if you get a crash, there is no general way we can guess why it's happening. Post the crash log and the code.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Making New Weapons Molnija 28 5,679 01-27-2019, 04:04 PM
Last Post: 3agle427
  Standalone Overkill weapons Lyberta 30 8,811 07-11-2018, 09:31 AM
Last Post: Lyberta
  Random start weapons Lyberta 0 1,529 09-23-2017, 09:18 PM
Last Post: Lyberta
  [SOLVED] Correct way to make entity with opacity depending on distance to player Penguinum-tea 2 2,540 04-03-2015, 02:18 PM
Last Post: Penguinum-tea
  [SOLVED] Orienting weapons to bones (CSQC) toneddu2000 3 5,065 03-30-2015, 04:26 PM
Last Post: toneddu2000
  Where can I find the self animated weapons from Nexuiz? MirceaKitsune 14 10,812 11-08-2014, 07:29 PM
Last Post: MirceaKitsune
  ex textures and gpl ...... the post that will probably make everyone hate me .... hutty 16 9,731 11-06-2012, 01:54 PM
Last Post: Mr. Bougo
Brick Weapons defined in text files / de-harding weapons [feature debate] MirceaKitsune 41 29,087 10-10-2012, 03:59 PM
Last Post: hutty
Information Alternatives to removing core weapons MirceaKitsune 6 5,198 09-05-2012, 04:43 PM
Last Post: hutty
  Improving Xonotic packaging and compression to make the download smaller edh 19 18,250 08-25-2012, 04:47 PM
Last Post: edh

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-