Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: delaying spawn of BulletEntitySpawn  (Read 1091 times)

0 Members and 1 Guest are viewing this topic.

Offline Pepsifan04

  • *
  • *
  • +12% chance to make useful post
  • Pepsifan04 might someday be someone...Pepsifan04 might someday be someone...Pepsifan04 might someday be someone...Pepsifan04 might someday be someone...
    • Smod: CryLife
delaying spawn of BulletEntitySpawn
« on: October 17, 2013, 11:20:33 PM »
Is it possible to delay spawn of entity in "BulletEntitySpawn"?
if yes how?

I'm spawning it with "AttachedGL" using secondary fire,
as way of spawning it is not that important, is vital to me to have it as secondary
DROP DATABASE bsnooch

Offline gpgpgpgp

  • *
  • +2% chance to make useful post
  • gpgpgpgp has no influence.
Re: delaying spawn of BulletEntitySpawn
« Reply #1 on: October 19, 2013, 07:00:25 AM »
No idea. But what you descirbe is akin to AR2 rifle. A delayed secondary fire... Maybe you should ask Valve. :P
Guess it's not possible to create such a weapon without adding/editing some source codes of the smod itself.

Offline gpgpgpgp

  • *
  • +2% chance to make useful post
  • gpgpgpgp has no influence.
Re: delaying spawn of BulletEntitySpawn
« Reply #2 on: November 09, 2013, 03:12:55 PM »
After reading some of this, start from line 202.

http://hg.alliedmods.net/hl2sdks/hl2sdk/file/a9e6b3ed698a/dlls/hl2_dll/weapon_ar2.cpp

To cut it short. No way to do it without modifying source codes.
So... if you want this delay feature badly... and you don't need the default AR2 weapon...

Maybe you can try replacing "combine_ball" (don't clearly remember the name) with the desired Bullet Entity in override_class.txt
Wonder if it'll work...

Offline Comrade

  • *
  • *
  • +11% chance to make useful post
  • Comrade might someday be someone...Comrade might someday be someone...Comrade might someday be someone...Comrade might someday be someone...
Re: delaying spawn of BulletEntitySpawn
« Reply #3 on: November 09, 2013, 07:15:02 PM »
Is it possible to delay spawn of entity in "BulletEntitySpawn"?
if yes how?

I'm spawning it with "AttachedGL" using secondary fire,
as way of spawning it is not that important, is vital to me to have it as secondary

Nope, there is no way.
Another reason to wait until SMMOD gets released. Then Crylife will be supreme.