summaryrefslogtreecommitdiff
path: root/src/cgame/cg_particles.c
AgeCommit message (Collapse)Author
2017-03-09allow particles of child particle systems to be launched with (dynamic) normals/dev/humancontroller
new particle script constructs (in particle blocks): {velocityType | accelerationType} {last_normal | opportunistic_normal} the base vector in case of opportunistic_normal is (0,0,0) if the particle is flying, and is a surface normal vector if the particle is in/on a map surface. the base vector in case of last_normal is always a valid direction, though sometimes an arbitrary one (the up direction). in both cases, the initial value of the last/opportunistic normal vector is propagated from the parent particle. the last/opportunistic vector is a new particle system variable, and the original normal vector is not touched, so this change retains backward-compatibility.
2017-03-09allow negative values for initial velocity and acceleration magnitudes of ↵/dev/humancontroller
particles
2014-06-17Various adjustments so it compilesTim Angus
2013-02-16Update copyright noticesTim Angus
2013-01-12Fix a bunch of warningsTim Angus
2013-01-02CG_CopyLine was ignoring array length (9a5f541)M. Kristall
2013-01-03* Refactor some of CG_ParseParticleM. Kristall
* Fix some non sequiturs
2013-01-03* Fix a couple of errors parsing particle scriptsM. Kristall
* Do not bail out of parsing particle script files when a duplicate name is seen
2013-01-03* (bug 4572) Better control over random particle displacementBen Millwood
(in part thanks to Who-[Soup])
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Fix a couple more places where files might not be closed (bug 3554)M. Kristall
* Fix off-by-one errors and some gcc warnings
2013-01-03* First person weapon animationTim Angus
2013-01-03* Lucifer Cannon projectile and bounding box shrunk a little to fit muzzle ↵Michael Levin
box restrictions * Buying a weapon with a number greater than 15 while having a Construction Kit will not give you zero ammo * Human viewheight shrunk to prevent flamer and new Lucifer Cannon shots from exploding inside the ceiling because on account of the muzzle box -- better aligned with the model now too. This should prevent the flamer from burning people in vents. * Some BG functions made more efficient; BG_GetPlayerWeapon should be used to get a Human's weapon because it may be switching * Adv. Dragoon barbs regenerate 10 seconds after being shot, not at regular intervals * Build weapons should no longer need to be in a block in bg_public.h * Tremulous doesn't use multiple weapons but the G_GiveClientMaxAmmo function will properly restore regular ammunition when a energy weapon is selected * MN_H_NOENERGYAMMOHERE obsolete; Changed some text to acknowledge that energy ammo is now available at armoury * Particles can set 'physicsRadius #' to use a fixed bounding box for collisions * Various HUD elements will immediately update to the new weapon when switching weapons Flamer changes: * Bounding box shrunk slightly * Client-side particles now used a static bounding box that matches the server projectile
2013-01-03* Pulse Rifle has a small impact "particle system" to show impact flashMichael Levin
Lucifer Cannon aesthetic changes: * Secondary fire has a blaster-like trail and impact flash * Primary fire missile sprite and impact particles scale their size with charge strength * Other players can hear Humans overcharge
2007-04-14* cg_bounceParticles 0 now takes the extra step of culling particles thatTony J. White
enter solids.
2007-03-21* clearer fix for particle system crashTony J. White
2007-03-21* prevent a crash when the particle system fills upTony J. White
2007-03-02* (bug 3043) adds cg_bounceParticles which defaults to 0 on all but theTony J. White
highest built-in graphic setting. When set to 0, particles don't use bounce off anything and therefore their movement doesn't require trace calls. This gives a significant frame rate boost in many situations.
2006-03-28* Increase Dragoon range slighlyTim Angus
* Disable static_transform particle system warning
2006-03-07* Fix to a crash when cg_depthSortParticles was set to 0Tim Angus
2005-12-11* Added trap_FS_GetFileList to cgame, so it's not longer necessary to hackTim Angus
around it not being there * Removed Q3 console notify code and improved cgame rendered notify area * Sorted out pain blend texture coordinates
2005-12-10* s/Quake III Arena source code/Tremulous/Tim Angus
* De-quaked various bits and pieces * Integrated Tremulous into the ioq3 source * Relicensed Tremulous to be GPL * It compiles!!!!!!!!11111111!!!!1
2005-12-10* Move the game source from mod/src/ to src/Tim Angus
2005-12-10* Moved existing src directory out the way whilst I merge ioq3Tim Angus
2005-12-02* Added target_alien_win and target_human_winTim Angus
* Made the test for particles at rest less strict * Fixed a bug with the game element disabling stuff
2005-11-25* Removal of remaining hard coded effectsTim Angus
* Removal of local entities system * Particle system enhancements to replace functionality lost by removing localents
2005-11-24* 3D particlesTim Angus
* Brass ejections now done via particle system * static_tranform particle move type * thirdPersonOnly particle and trail system property * Trail jitter now done in two dimensions
2005-11-20* Abstract attachment systemTim Angus
* Scriptable trails system * Various other stuff I'm too tired to try and remember now
2005-10-03* Removed jump pad code (and associated media loading)Tim Angus
* Removed loading of some Q3 cruft * Spilled events attached to temporary entities are now reattached to their original entities, fixing the missing flame bug * Fixed "suicide god" bug * Fixed bug where zap ignores armour * Fixed missing particle systems when follow-spectating * Fixed potential bug involving dodgy pointer arithmetic in CG_LoadClientInfo * Cleaned up logic in CG_AddPlayerWeapon * MASK_SHOT traces no longer collide with corpses * Corpses timeout in 20 seconds instead of 60 * Improved robustness of spawn validation, fixing the bug on transit * A crapload of whitespace fixes
2005-09-06* cg_debugParticles >= 1 now prints to the console when particle systems are ↵Tim Angus
parsed and registered
2005-06-27* Fixed all the warnings reported after turning on -WallTim Angus
2005-06-05* Added flashing alien icon if already at maximum classTim Angus
* Improved scanner render and refactored scanner code * Added animated projectiles * Grenade * Changed model names to be human name agnostic * Added sounds for lev1 grab and lev4 charge * Added sound for failed evolution * Added battery pack rendering code * Added functionality to particle system to allow attachment of particle systems to particles (for nice explosions) * Implemented CG_FileExists * Added some code to gracefully handle missing sounds (easier than making the sounds :D) * cg_drawBBOX now draws player BBOXen * Renamed the alien classes (now done in class override scripts) * Implemented Vector4Add * The usual assorted bug fixes
2004-03-25* Fixed particle system infinite loop bug in trem2Tim Angus
* Spawns that are interfered with plats now suicide * Fixed spectator scrolling colour screwup
2004-03-15* Added knockback scalingTim Angus
* Balance tweaks * A load of other stuff I can't remember
2004-01-25* Fixed two serious particle system bugsTim Angus
* Created a general buildable think function * Fixed the post armoury weapon selection for real * Balance tweaks * A pile of other crap
2004-01-22* Particle system should complain less if it can't find a specific systemTim Angus
* Reduced size of misc_particle_system entity in entities.def * Added prebuild sounds for the buildables
2004-01-21* Improved robustness of the particle system, hopefully resulting in fewerTim Angus
floating pointers * Moved adding particles to after adding the player weapon so that the muzzle particle systems match up properly
2004-01-08* Negative angles now allowed in particle rotationsTim Angus
2004-01-04* Rather serious remote client particle system bug fixedTim Angus
* Buildable overrides now actually work * Helmet is now a skin replacement instead of model * Model destinations fixed up in the entities.def file
2003-12-11* Upped *.particle file size limit to 32kbTim Angus
(never thought that would be an issue :) * Added "bounce cull" to particle syntax
2003-10-12* Added misc_particle_system entityTim Angus
* Fixed depth sorting to sort in the correct direction * Particle system PVS garbage collection improved * cent validity is now computed before adding cents to scene
2003-10-03* Added disableIn3rdPerson to weapon.cfg to handle alien weapons more elegantlyTim Angus
* Muzzle effects are attached to tag_weapon where tag_flash is not available * Handle particle effects properly with cg_drawGun 1 * Fixed some serious bugs in particle system that culled particle systems early
2003-10-01* Buildables now have an explosion soundTim Angus
* Added some sanity checks to the particle system * Bug fixes
2003-09-30* Particles are now depth sortedTim Angus
2003-09-30* Human and alien buildable destructions are now particle system poweredTim Angus
* Acid tube effect is now particle system powered * Disabled hitSound * Sound other random tidyups
2003-09-28* Buildable damage effects are now particle system poweredTim Angus
2003-09-28* Jetpack now uses new particle systemTim Angus
2003-09-27* weapon.cfg files changed a bit to include sections for alternate fire modesTim Angus
* Close to zero weapon specific client side code now remains * Poison cloud effect now uses new particle system * Fixed a couple of bugs in the particle system
2003-09-24* Impact and muzzle flashes now use new particle systemTim Angus
* Hitscan weapons now use more generalised impact events * Added functions that are called when an entity leaves and enters the PVS
2003-09-21* Fully generalised scriptable paricle systemTim Angus
* Changes to Makefile and depend file for above * Tweaks to entities.def * Apparently a bunch of other stuff I've forgotten about