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.jpg]
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 19,375 09-03-2021, 11:26 PM
Last Post: BuddyFriendGuy
  Making New Weapons Molnija 22 17,544 02-18-2021, 04:39 PM
Last Post: LegendGuard
  Random start weapons Lyberta 0 2,899 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 4,122 04-03-2015, 02:18 PM
Last Post: Penguinum-tea
  [SOLVED] Orienting weapons to bones (CSQC) toneddu2000 3 7,059 03-30-2015, 04:26 PM
Last Post: toneddu2000
  Where can I find the self animated weapons from Nexuiz? MirceaKitsune 14 18,301 11-08-2014, 07:29 PM
Last Post: MirceaKitsune
  ex textures and gpl ...... the post that will probably make everyone hate me .... hutty 16 16,496 11-06-2012, 01:54 PM
Last Post: Mr. Bougo
Brick Weapons defined in text files / de-harding weapons [feature debate] MirceaKitsune 41 47,866 10-10-2012, 03:59 PM
Last Post: hutty
Information Alternatives to removing core weapons MirceaKitsune 6 8,545 09-05-2012, 04:43 PM
Last Post: hutty
  Improving Xonotic packaging and compression to make the download smaller edh 19 26,636 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-