Posts
1,191
Respect
168Add +1
Forum Rank
Zombie Colossus
Primary Group
UGX Site Moderator
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
4. Some weapons that I assign 2,3, or 4 round burst become full auto. I thought this may have to do with Rate of Fire, but I made a burst weapon that shot really fast as a test (0.00000000009 firetime lol) but it worked perfectly. ???
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
If you are referring to the burst weapons becoming full auto/having a slow fire rate in the final set of bullets in the mag, the lastfiretime must be set to 0 and then fireTime is whatever the fire rate is for your gun (for example, the M16 from BO1 uses 0.064 for the fireTime).
If you are referring to the burst weapons becoming full auto/having a slow fire rate in the final set of bullets in the mag, the lastfiretime must be set to 0 and then fireTime is whatever the fire rate is for your gun (for example, the M16 from BO1 uses 0.064 for the fireTime).
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
Regarding 1 & 2, it sounds like you don't have the weapons precached - Usually you can't give a weapon or set a model without it being precached before load or atleast if you ran your map in developer it would complain about it not being precached.
Do all the weapons need to be precached or just ones that are messed up? Where exactly do I precache?
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
yes. you precache by putting the in your map csv
Do all the weapons need to be precached or just ones that are messed up? Where exactly do I precache?
yes. you precache by putting the in your map csv
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Any weapon added to _zombiemode_weapons.gsc is automatically precached. However, just for the sake of testing try adding this to the top of you mapname.gsc in main():
That is NOT how you precache a weapon. All that does is tell the compiler to grab all of the weapons assets(models, anims, fx, etc) instead of having to include them individually. Precaching is done by script.
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
Any weapon added to _zombiemode_weapons.gsc is automatically precached. However, just for the sake of testing try adding this to the top of you mapname.gsc in main():
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Where exactly in main should I precache it? Top of main? Bottom of main? somewhere in between?
Use the function add_zombie_weapon instead of manually precaching it. By doing add_zombie_weapon you'll be able to use include_weapon so it can be added into the box. It'll also give less errors when you actually try to use it in game.
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |