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
  Standalone Overkill weapons Lyberta 16 12,631 09-03-2021, 11:26 PM
Last Post: BuddyFriendGuy
  Making New Weapons Molnija 22 8,979 02-18-2021, 04:39 PM
Last Post: LegendGuard
  Random start weapons Lyberta 0 1,924 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,928 04-03-2015, 02:18 PM
Last Post: Penguinum-tea
  [SOLVED] Orienting weapons to bones (CSQC) toneddu2000 3 5,583 03-30-2015, 04:26 PM
Last Post: toneddu2000
  Where can I find the self animated weapons from Nexuiz? MirceaKitsune 14 12,475 11-08-2014, 07:29 PM
Last Post: MirceaKitsune
  ex textures and gpl ...... the post that will probably make everyone hate me .... hutty 16 11,156 11-06-2012, 01:54 PM
Last Post: Mr. Bougo
Brick Weapons defined in text files / de-harding weapons [feature debate] MirceaKitsune 41 33,009 10-10-2012, 03:59 PM
Last Post: hutty
Information Alternatives to removing core weapons MirceaKitsune 6 5,984 09-05-2012, 04:43 PM
Last Post: hutty
  Improving Xonotic packaging and compression to make the download smaller edh 19 20,120 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-