]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
12 years agoMerge branch 'master' into mirceakitsune/func_train_beizer_curve
Mircea Kitsune [Mon, 11 Jun 2012 12:18:14 +0000 (15:18 +0300)]
Merge branch 'master' into mirceakitsune/func_train_beizer_curve

12 years agoKill credits to whoever made a vehicle blow up and killing someone else
Jakob MG [Mon, 11 Jun 2012 12:11:13 +0000 (14:11 +0200)]
Kill credits to whoever made a vehicle blow up and killing someone else

12 years agoDamage factors for nex, rifle, uzi & minstanex versus vehicles
Jakob MG [Mon, 11 Jun 2012 11:22:30 +0000 (13:22 +0200)]
Damage factors for nex, rifle, uzi & minstanex versus vehicles

12 years agoFix small bug in antial, possibly fixing vehicles teleporting
Jakob MG [Mon, 11 Jun 2012 11:05:00 +0000 (13:05 +0200)]
Fix small bug in antial, possibly fixing vehicles teleporting

12 years agoMerge branch 'master' of git://nl.git.xonotic.org/xonotic/xonotic-data.pk3dir
Jakob MG [Mon, 11 Jun 2012 10:44:42 +0000 (12:44 +0200)]
Merge branch 'master' of git://nl.git.xonotic.org/xonotic/xonotic-data.pk3dir

12 years agoMore robustly prevent http://dev.xonotic.org/issues/1237
Jakob MG [Mon, 11 Jun 2012 10:44:21 +0000 (12:44 +0200)]
More robustly prevent http://dev.xonotic.org/issues/1237

12 years agochange placeholder weapon name to "AOL CD Thrower"
Rudolf Polzer [Mon, 11 Jun 2012 10:16:49 +0000 (12:16 +0200)]
change placeholder weapon name to "AOL CD Thrower"

12 years agoMerge branch 'master' of git://nl.git.xonotic.org/xonotic/xonotic-data.pk3dir
Jakob MG [Sun, 10 Jun 2012 18:55:56 +0000 (20:55 +0200)]
Merge branch 'master' of git://nl.git.xonotic.org/xonotic/xonotic-data.pk3dir

12 years agoWork arround http://dev.xonotic.org/issues/1237 The real issue still exsists, but...
Jakob MG [Sun, 10 Jun 2012 18:55:38 +0000 (20:55 +0200)]
Work arround http://dev.xonotic.org/issues/1237 The real issue still exsists, but sould no longer crash the client.

12 years agoforcemodels: don't force server's idea if isdemo()
Rudolf Polzer [Sun, 10 Jun 2012 17:14:12 +0000 (19:14 +0200)]
forcemodels: don't force server's idea if isdemo()

12 years agosync dpdefs with DP
Rudolf Polzer [Sun, 10 Jun 2012 16:44:36 +0000 (18:44 +0200)]
sync dpdefs with DP

12 years agoclarify cvar_set() vs autocvars
Rudolf Polzer [Sun, 10 Jun 2012 16:42:46 +0000 (18:42 +0200)]
clarify cvar_set() vs autocvars

12 years agofix invalid use of autocvar (shouldn't change behaviour)
Rudolf Polzer [Sun, 10 Jun 2012 16:32:36 +0000 (18:32 +0200)]
fix invalid use of autocvar (shouldn't change behaviour)

12 years agodocument the expected response format of xonstat (currently not used yet)
Rudolf Polzer [Wed, 6 Jun 2012 13:00:18 +0000 (15:00 +0200)]
document the expected response format of xonstat (currently not used yet)

12 years agocl_staywep_ -> cl_weapon_stay_
Jakob MG [Fri, 1 Jun 2012 20:14:13 +0000 (22:14 +0200)]
cl_staywep_ -> cl_weapon_stay_

12 years agoMerge remote-tracking branch 'origin/master' into tzork/csqc-items
Jakob MG [Fri, 1 Jun 2012 20:10:43 +0000 (22:10 +0200)]
Merge remote-tracking branch 'origin/master' into tzork/csqc-items

12 years agofix stupid typos :P
Rudolf Polzer [Thu, 31 May 2012 10:43:45 +0000 (12:43 +0200)]
fix stupid typos :P

12 years agoa bit simpler
Rudolf Polzer [Tue, 29 May 2012 08:12:33 +0000 (10:12 +0200)]
a bit simpler

12 years agosimpler proof for correctness of Fire_AddDamage
Rudolf Polzer [Tue, 29 May 2012 08:11:14 +0000 (10:11 +0200)]
simpler proof for correctness of Fire_AddDamage

12 years agoMerge branch 'master' into mirceakitsune/func_train_beizer_curve
Mircea Kitsune [Tue, 29 May 2012 00:30:25 +0000 (03:30 +0300)]
Merge branch 'master' into mirceakitsune/func_train_beizer_curve

12 years agofix typo in comment (yes, really)
Rudolf Polzer [Sun, 27 May 2012 17:37:27 +0000 (19:37 +0200)]
fix typo in comment (yes, really)

12 years agoexplain :P
Rudolf Polzer [Sun, 27 May 2012 17:22:52 +0000 (19:22 +0200)]
explain :P

12 years agoMerge branch 'master' of git://de.git.xonotic.org/xonotic/xonotic-data.pk3dir
Rudolf Polzer [Sun, 27 May 2012 17:08:34 +0000 (19:08 +0200)]
Merge branch 'master' of git://de.git.xonotic.org/xonotic/xonotic-data.pk3dir

12 years agoequivalent rewrite of fireball code
Rudolf Polzer [Sun, 27 May 2012 16:41:45 +0000 (18:41 +0200)]
equivalent rewrite of fireball code

12 years agoAdd sys_frametime dependency for avelocity and properly name a float. Also reduce...
Mircea Kitsune [Fri, 25 May 2012 20:45:50 +0000 (23:45 +0300)]
Add sys_frametime dependency for avelocity and properly name a float. Also reduce a duplicated line of code. Still doesn't fix angles not going quite all the way

12 years agoFix a comment that wasn't in the correct location
Mircea Kitsune [Fri, 25 May 2012 20:38:19 +0000 (23:38 +0300)]
Fix a comment that wasn't in the correct location

12 years agoSet .avelocity instead of .angles for bezier curves rotation. For one this might...
Mircea Kitsune [Fri, 25 May 2012 20:28:36 +0000 (23:28 +0300)]
Set .avelocity instead of .angles for bezier curves rotation. For one this might be smoother, but the reason is to fix players falling off trains and becoming stuck entities as they rotate (which happens when changing angles / origin directly on push entities). This does not work right yet, but brings the train almost near its correct anagular destination

12 years agoAlways use SUB_CalcAngleMove, even when instant turning
Mircea Kitsune [Fri, 25 May 2012 13:02:10 +0000 (16:02 +0300)]
Always use SUB_CalcAngleMove, even when instant turning

12 years agoDon't offset with self.mins when the train is rotating. Now trains will center proper...
Mircea Kitsune [Fri, 25 May 2012 10:32:26 +0000 (13:32 +0300)]
Don't offset with self.mins when the train is rotating. Now trains will center properly to each path_corner

12 years agoName angle floats more correctly
Mircea Kitsune [Thu, 24 May 2012 19:32:11 +0000 (22:32 +0300)]
Name angle floats more correctly

12 years agoFlip orientation the same way on bezier movement, it is better
Mircea Kitsune [Thu, 24 May 2012 19:30:29 +0000 (22:30 +0300)]
Flip orientation the same way on bezier movement, it is better

12 years agoProperly flip up / down orientation. Inverting z origin was a horrid thing to do
Mircea Kitsune [Thu, 24 May 2012 19:27:24 +0000 (22:27 +0300)]
Properly flip up / down orientation. Inverting z origin was a horrid thing to do

12 years agoModify rotation origins with self.mins. This commit fixes the last part of the new...
Mircea Kitsune [Thu, 24 May 2012 19:20:37 +0000 (22:20 +0300)]
Modify rotation origins with self.mins. This commit fixes the last part of the new func_train, and gets everything ready and finished :)

12 years agoFix inverted Z angle. I hope it's done the right way
Mircea Kitsune [Thu, 24 May 2012 19:15:49 +0000 (22:15 +0300)]
Fix inverted Z angle. I hope it's done the right way

12 years agoGet the correct formula for the still rotations. Just needs a few adjustments and...
Mircea Kitsune [Thu, 24 May 2012 18:59:26 +0000 (21:59 +0300)]
Get the correct formula for the still rotations. Just needs a few adjustments and angle flipping

12 years agoAdd self.mins there too, still no fix
Mircea Kitsune [Thu, 24 May 2012 15:36:07 +0000 (18:36 +0300)]
Add self.mins there too, still no fix

12 years agoFix a bug in still rotation code, but that doesn't fix the issue of incorrect rotatio...
Mircea Kitsune [Thu, 24 May 2012 15:30:42 +0000 (18:30 +0300)]
Fix a bug in still rotation code, but that doesn't fix the issue of incorrect rotation (still unknown)

12 years agoFix curvetarget rename, and remove useless commented out code of the old platform...
Mircea Kitsune [Thu, 24 May 2012 15:17:16 +0000 (18:17 +0300)]
Fix curvetarget rename, and remove useless commented out code of the old platform movement system

12 years agoRename .curve to .curvetarget as suggested by divVerent
Mircea Kitsune [Thu, 24 May 2012 15:16:05 +0000 (18:16 +0300)]
Rename .curve to .curvetarget as suggested by divVerent

12 years agoRename bezier_turn to platmovetype_turn, because still rotation can now be used witho...
Mircea Kitsune [Thu, 24 May 2012 15:15:10 +0000 (18:15 +0300)]
Rename bezier_turn to platmovetype_turn, because still rotation can now be used without bezier curves too

12 years agoCorrect still turning formula. It should work properly, but for some reason it doesn...
Mircea Kitsune [Thu, 24 May 2012 15:11:00 +0000 (18:11 +0300)]
Correct still turning formula. It should work properly, but for some reason it doesn't...

12 years agoFix some important mistakes in the last commit
Mircea Kitsune [Thu, 24 May 2012 14:53:30 +0000 (17:53 +0300)]
Fix some important mistakes in the last commit

12 years agoModify still turning code to accept rotation toward the next target for both bezier...
Mircea Kitsune [Thu, 24 May 2012 14:43:39 +0000 (17:43 +0300)]
Modify still turning code to accept rotation toward the next target for both bezier and non-bezier movement. This doesn't happen yet, and the turning is still incorrect

12 years agoMake the curve control point a property of the ending path_corner, not the starting one
Mircea Kitsune [Thu, 24 May 2012 14:29:01 +0000 (17:29 +0300)]
Make the curve control point a property of the ending path_corner, not the starting one

12 years agofix control point-less points
Rudolf Polzer [Thu, 24 May 2012 14:14:55 +0000 (16:14 +0200)]
fix control point-less points

12 years agoplatmovetype fixes
Rudolf Polzer [Thu, 24 May 2012 13:41:59 +0000 (15:41 +0200)]
platmovetype fixes

12 years agoOops, forgot to enable cubic movement after testing
Mircea Kitsune [Thu, 24 May 2012 13:03:47 +0000 (16:03 +0300)]
Oops, forgot to enable cubic movement after testing

12 years agoDon't tokenize self.platmovetype on each path_corner, and instead store the train...
Mircea Kitsune [Thu, 24 May 2012 12:50:56 +0000 (15:50 +0300)]
Don't tokenize self.platmovetype on each path_corner, and instead store the train's defaults in values to restore them

12 years agoset_platmovetype: more consistency
Rudolf Polzer [Thu, 24 May 2012 12:38:52 +0000 (14:38 +0200)]
set_platmovetype: more consistency

12 years agoAttempt to get overriding working, needs to be tested. Note that in order to avoid...
Mircea Kitsune [Thu, 24 May 2012 12:31:18 +0000 (15:31 +0300)]
Attempt to get overriding working, needs to be tested. Note that in order to avoid storing extra values for no reason, each path_corner tokenizes self.platmovetype when the train reaches it. It's a more logical implementation, but if it's harmful I'll store two more values for start_default and end_default

12 years agoTurn self.platmovetype into a string so it can accept either two values or one. Partl...
Mircea Kitsune [Thu, 24 May 2012 12:23:13 +0000 (15:23 +0300)]
Turn self.platmovetype into a string so it can accept either two values or one. Partly get path_corner to override train movement this way. Not ready yet.

12 years agoreplace sin/cos/acos based functions by cubic functions, let's see if anyone notices...
Rudolf Polzer [Thu, 24 May 2012 09:55:09 +0000 (11:55 +0200)]
replace sin/cos/acos based functions by cubic functions, let's see if anyone notices the difference :P

12 years agoMerge branch 'master' into mirceakitsune/func_train_beizer_curve
Rudolf Polzer [Thu, 24 May 2012 08:41:01 +0000 (10:41 +0200)]
Merge branch 'master' into mirceakitsune/func_train_beizer_curve

12 years agosupport functions: cubic speed function for "whatever use" :P
Rudolf Polzer [Thu, 24 May 2012 08:38:35 +0000 (10:38 +0200)]
support functions: cubic speed function for "whatever use" :P

12 years agoSimple tactical hud overlay for turrets when in a vehicle
Jakob MG [Wed, 23 May 2012 20:49:51 +0000 (22:49 +0200)]
Simple tactical hud overlay for turrets when in a vehicle

12 years agomake turrets obay cl_nogibs
Jakob MG [Wed, 23 May 2012 19:32:04 +0000 (21:32 +0200)]
make turrets obay cl_nogibs

12 years agocl_vehicles_hudscale & cl_vehicles_hudalpha to defualtXonotic.cfg, remove pointless...
Jakob MG [Wed, 23 May 2012 19:28:45 +0000 (21:28 +0200)]
cl_vehicles_hudscale & cl_vehicles_hudalpha to defualtXonotic.cfg, remove pointless csqc precache_model for wakizashi

12 years agoMerge branch 'master' of git://de.git.xonotic.org/xonotic/xonotic-data.pk3dir
Jakob MG [Wed, 23 May 2012 18:47:45 +0000 (20:47 +0200)]
Merge branch 'master' of git://de.git.xonotic.org/xonotic/xonotic-data.pk3dir

12 years agoDont dodge when dead
Jakob MG [Wed, 23 May 2012 18:47:19 +0000 (20:47 +0200)]
Dont dodge when dead

12 years agoImplement all new platform movetypes. Thanks go to divVerent for the formulas, I...
Mircea Kitsune [Wed, 23 May 2012 13:16:09 +0000 (16:16 +0300)]
Implement all new platform movetypes. Thanks go to divVerent for the formulas, I couldn't understand maths with a rocket launcher to the head

12 years agobulletconstant 0 now means only penentrate objects with density -1; bulletconstant...
Rudolf Polzer [Wed, 23 May 2012 11:00:31 +0000 (13:00 +0200)]
bulletconstant 0 now means only penentrate objects with density -1; bulletconstant -1 doesn't even penetrate these, but works like a regular projectile

12 years agospecial support for object density -1, which is always passed by ballistic bullets...
Rudolf Polzer [Wed, 23 May 2012 10:58:00 +0000 (12:58 +0200)]
special support for object density -1, which is always passed by ballistic bullets (as example of how to mimic the nex beam's behaviour)

12 years agoballistics: small fixes for hitting players who stand directly at a wall
Rudolf Polzer [Wed, 23 May 2012 10:34:32 +0000 (12:34 +0200)]
ballistics: small fixes for hitting players who stand directly at a wall

12 years agocvar: g_projectiles_keep_owner (keep owner when projectile is damaged), was previousl...
Rudolf Polzer [Wed, 23 May 2012 07:45:15 +0000 (09:45 +0200)]
cvar: g_projectiles_keep_owner (keep owner when projectile is damaged), was previously controlled by g_ca for no reason; never allow a projectile's owner to become world or a non-player; fixes #1226

12 years agoFix something I forgot, sine movement is still broken.
Mircea Kitsune [Tue, 22 May 2012 23:06:53 +0000 (02:06 +0300)]
Fix something I forgot, sine movement is still broken.

12 years agoInverted cosine is actually called sine. I should be ashamed of myself :P
Mircea Kitsune [Tue, 22 May 2012 18:28:38 +0000 (21:28 +0300)]
Inverted cosine is actually called sine. I should be ashamed of myself :P

12 years agoImplement inverted cosine movement
Mircea Kitsune [Tue, 22 May 2012 16:11:22 +0000 (19:11 +0300)]
Implement inverted cosine movement

12 years agoAllow each path_corner to override the moving type of the train. 0 doesn't override...
Mircea Kitsune [Tue, 22 May 2012 15:46:09 +0000 (18:46 +0300)]
Allow each path_corner to override the moving type of the train. 0 doesn't override, 1 sets to linear, 2 sets to cosine

12 years agoTry another origin, which I think is more correct but does the same thing...
Mircea Kitsune [Tue, 22 May 2012 15:10:03 +0000 (18:10 +0300)]
Try another origin, which I think is more correct but does the same thing...

12 years agoGet rotation closer to the correct position, but for some reason it still doesn't...
Mircea Kitsune [Tue, 22 May 2012 14:51:10 +0000 (17:51 +0300)]
Get rotation closer to the correct position, but for some reason it still doesn't work (it aims toward the next point but goes slightly under / over the final position sometimes)

12 years agoUse an origin code which is closer to the correct rotation. The train will aim toward...
Mircea Kitsune [Tue, 22 May 2012 14:32:01 +0000 (17:32 +0300)]
Use an origin code which is closer to the correct rotation. The train will aim toward the next point while standing now, but it still doesn't seem to reach full rotation before carrying on

12 years agoUse the proper time offset for turning. The train still won't turn in the right direc...
Mircea Kitsune [Tue, 22 May 2012 14:16:18 +0000 (17:16 +0300)]
Use the proper time offset for turning. The train still won't turn in the right direction while waiting however

12 years agoTrigger targets before checking the waiting and turning, otherwise they would be...
Mircea Kitsune [Tue, 22 May 2012 13:57:58 +0000 (16:57 +0300)]
Trigger targets before checking the waiting and turning, otherwise they would be delayed or never trigger at all

12 years agoDon't risk executing the wait code again after having turned, and skip re-waiting
Mircea Kitsune [Tue, 22 May 2012 13:57:20 +0000 (16:57 +0300)]
Don't risk executing the wait code again after having turned, and skip re-waiting

12 years agoadd lots of TSPEED_ constants and use them :P
Rudolf Polzer [Tue, 22 May 2012 13:37:32 +0000 (15:37 +0200)]
add lots of TSPEED_ constants and use them :P

12 years agoDon't use target2 for the curve point, use another field called curve. This is to...
Mircea Kitsune [Tue, 22 May 2012 13:13:08 +0000 (16:13 +0300)]
Don't use target2 for the curve point, use another field called curve. This is to avoid conflicting or limiting the 4 target triggers, as well as allowing netRadiant later on to draw the bezier curve line in order to preview it

12 years agoMerge remote branch 'origin/master' into tzork/csqc-items
Jakob MG [Tue, 22 May 2012 12:35:05 +0000 (14:35 +0200)]
Merge remote branch 'origin/master' into tzork/csqc-items

12 years agoRemove a mysterios EF_FLAME that did othing
Jakob MG [Tue, 22 May 2012 12:34:57 +0000 (14:34 +0200)]
Remove a mysterios EF_FLAME that did othing

12 years agoInvert z velocity so that the train aims properly
Mircea Kitsune [Tue, 22 May 2012 12:31:35 +0000 (15:31 +0300)]
Invert z velocity so that the train aims properly

12 years agoMerge remote branch 'origin/master' into tzork/csqc-items
Jakob MG [Tue, 22 May 2012 12:09:49 +0000 (14:09 +0200)]
Merge remote branch 'origin/master' into tzork/csqc-items

12 years ago<merlijn> when you switch to simple items in game, it's pretty much random which...
Jakob MG [Tue, 22 May 2012 12:01:36 +0000 (14:01 +0200)]
<merlijn> when you switch to simple items in game, it's pretty much random which items directly go to simple

12 years agoUse a second spawnflag to make the train turn (otherwise it will just move, even...
Mircea Kitsune [Tue, 22 May 2012 11:30:41 +0000 (14:30 +0300)]
Use a second spawnflag to make the train turn (otherwise it will just move, even on bezier curves)

12 years agoMake the train turn in the direction it's facing (still turning stays broken). Note...
Mircea Kitsune [Tue, 22 May 2012 11:13:12 +0000 (14:13 +0300)]
Make the train turn in the direction it's facing (still turning stays broken). Note that this is done by setting self.angles each tick, whereas self.avelocity would be smoother, but I can't figure the maths for that

12 years agoadd a comment
Rudolf Polzer [Tue, 22 May 2012 10:55:01 +0000 (12:55 +0200)]
add a comment

12 years agoTry to make the train turn in the direction it's facing while waiting (no velocity...
Mircea Kitsune [Tue, 22 May 2012 10:50:34 +0000 (13:50 +0300)]
Try to make the train turn in the direction it's facing while waiting (no velocity-based turning yet). Fixed the conflict with the wait function but something still goes wrong

12 years agofix typo
Rudolf Polzer [Tue, 22 May 2012 07:59:19 +0000 (09:59 +0200)]
fix typo

12 years agoadd ability to read/write weapon sets
Rudolf Polzer [Tue, 22 May 2012 07:58:34 +0000 (09:58 +0200)]
add ability to read/write weapon sets

12 years agoActually, don't treat a path_corner without a control point as an error. If you WANT...
Mircea Kitsune [Mon, 21 May 2012 19:44:10 +0000 (22:44 +0300)]
Actually, don't treat a path_corner without a control point as an error. If you WANT a straight path, you can simply not include a control point and save an extra entity

12 years agoSubtract self.mins from the origin of the control point as well. Not sure if this...
Mircea Kitsune [Mon, 21 May 2012 19:41:18 +0000 (22:41 +0300)]
Subtract self.mins from the origin of the control point as well. Not sure if this is needed here too, but it looks more correct to me, and I assume it should be done like for the other origins. Movement is ready and working, now to get the train to rotate in the proper direction

12 years agoDon't spawn an empty entity for fallback origin, that's bad. Use a vector instead...
Mircea Kitsune [Mon, 21 May 2012 19:32:37 +0000 (22:32 +0300)]
Don't spawn an empty entity for fallback origin, that's bad. Use a vector instead and pass it further on

12 years agoPrint the name of the correct beizer curve in debug message
Mircea Kitsune [Mon, 21 May 2012 19:26:30 +0000 (22:26 +0300)]
Print the name of the correct beizer curve in debug message

12 years agoFix fallback origin
Mircea Kitsune [Mon, 21 May 2012 19:23:31 +0000 (22:23 +0300)]
Fix fallback origin

12 years agoInclude the targetname of the problematic path_corner in the debug print
Mircea Kitsune [Mon, 21 May 2012 19:19:10 +0000 (22:19 +0300)]
Include the targetname of the problematic path_corner in the debug print

12 years agoFix fallback code and get it working
Mircea Kitsune [Mon, 21 May 2012 19:13:41 +0000 (22:13 +0300)]
Fix fallback code and get it working

12 years agoExecute fallback code if a path_corner for a beizer curves train doesn't have a contr...
Mircea Kitsune [Mon, 21 May 2012 19:08:24 +0000 (22:08 +0300)]
Execute fallback code if a path_corner for a beizer curves train doesn't have a control point as target2. This includes a warning and assuming a straight line for origin (otherwise the train would go to origin 0 0 0 and back). For some reason this still doesn't work well

12 years agoIntegrate beizer curve movement for func_train (not yet finished). When this system...
Mircea Kitsune [Mon, 21 May 2012 18:55:44 +0000 (21:55 +0300)]
Integrate beizer curve movement for func_train (not yet finished). When this system is used (spawnfunc 1 on the train) each path_corner will require a path_corner or target_position as target2 to specify the control point of the curve. Thanks go to divVerent for the beizer curve code

12 years agoSUB_CalcMove: internal support for bezier paths
Rudolf Polzer [Mon, 21 May 2012 14:09:40 +0000 (16:09 +0200)]
SUB_CalcMove: internal support for bezier paths

12 years agogrml
Jakob MG [Sun, 20 May 2012 17:01:01 +0000 (19:01 +0200)]
grml

12 years agoRacer rockets new slightly predicts target, and have a cvar for ontroling accelerated...
Jakob MG [Sun, 20 May 2012 16:56:53 +0000 (18:56 +0200)]
Racer rockets new slightly predicts target, and have a cvar for ontroling accelerated climb

12 years agoMerge remote branch 'origin/master' into tzork/csqc-items
Jakob MG [Sun, 20 May 2012 13:29:33 +0000 (15:29 +0200)]
Merge remote branch 'origin/master' into tzork/csqc-items