Commit Graph
214 Commits
Author SHA1 Message Date
ac-stef 3e84f11630 cleanup 2015-05-17 00:24:38 +02:00
ac-stef 47f71f1288 allow symbolic arguments for some commands
* new command "listoptions" lists the argument options for several
  argument types like entities, weapons and teamnames
* "burstshots", "weapon", "magcontent", "magreserve", "fragmessage" and
  "gibmessage" now allow guns to be specified by name
* "addpunct" allows plaintext arguments like "brackets" and "quotes"
* the "team" command now understands numeric teams
* entity types can now be specified by type index number
* removed some lists from the config files (now provided by listoptions)
* added argument completion for several commands
* change nextprimary from integer to string variable

DOCREF listoptions burstshots weapon addpunct
DOCREF fragmessage gibmessage magcontent magreserve
DOCREF nextprimary
2015-02-23 18:52:04 +01:00
aurhat 795fad52b6 Fix spectating after disconnection of spectated player
Before if you watched player from the first spectating position
(SM_FOLLOW1ST), and that player disconnected, then you switched
automatically to another player, but also to second spectating position
(SM_FOLLOW3RD), instead of stay in SM_FOLLOW1ST - this commit fixes that.
2014-12-02 21:01:16 +01:00
ac-stef e2ac8efadd remove restrictions on mapmodel rotation
Until now, the angles of mapmodels (and ctf-flags) were rounded to the
nearest 15-degree-step during rendering. This patch moves the rounding
to the time of placement of the model. Now the angle can be changed freely
after the model has been placed.

This commit also changes the angle resolution to 0.25 degree.

When changing the angle (press "1" + scrollwheel), additionally pressing
editmeta (a.k.a. LCTRL) changes the increments of the wheel from 1 to 10.

During a savemap with format 9, the angle resolution is reduced again, to
keep compatibility. Therefore, this features is only for testing right now.
It won't be preserved during a save (at least, as long as format 9 is used)
2014-10-22 12:08:42 +02:00
aurhat 5a88f9c323 Fix bugs in spectator mode and removed unused FPCNs
First fix - now togglespect lets to return automatically to previously
spectated player, after spectating him, switching to "fly spectate" mode
and again to spectating players.
Second fix - now player doesn't land and stuck outside of new map,
when during spectating somebody map changed.
FCPNs are removed, because currently they aren't used.
2014-06-20 22:13:18 +02:00
ac-stef eb60302e67 cleanup
- fix possible crash in conc (but it's still an ugly hack)
- fix noob usage of strcmp
- flag some memory leaks (it would be nice, if the author(s) would clean
   up the mess himself)
- fix crash in substr
- whitespace cleanup

there are plenty more memory leaks in command.cpp - for example, every
goto in cubescript does not clean up anything
2014-05-14 22:54:37 +02:00
Lucas GAUTHERON 3bbb581450 don't require libcurl headers in STANDALONE
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7498 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-06-23 17:45:09 +00:00
Lucas GAUTHERON 63e5844722 sortpckservers: detect the best server to download content from
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7482 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-05-12 12:43:47 +00:00
Lucas GAUTHERON e25bf23db7 display overall download progress while downloading packages
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7466 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-04-26 22:49:09 +00:00
Bukz 810d14d258 temporary double jump fix/typo fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7393 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-23 12:54:58 +00:00
Lucas GAUTHERON a7a1e46bcc merged branch
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7382 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-22 19:49:21 +00:00
Ronald Reagan 3b5d000c78 Added comments and fully commented out drawsgpat
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7041 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-07 18:16:13 +00:00
Lucas GAUTHERON 251e9f10b3 shotgun: damage bug fix, constants moved
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7016 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-31 00:19:15 +00:00
Ronald Reagan 1c4567f1fe Changelog updated (added changes between 6862 and now), armourignore -> piercing, carbine piercing 50->55
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6947 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-05 07:07:46 +00:00
Ronald Reagan cc2ccf26c7 Added guninfo armourignore which is a percentage of reduced damage from armour to ignore. Knife is unchanged, it ignores all of it, carbine ignores half of it
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6937 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-11-24 00:05:56 +00:00
sireus b4385a4897 armor no longer affects knife damage
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6887 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-09-23 16:58:55 +00:00
sireus 473f58c7de flag collision fixes
* extend pickup collision radius over full height
* make flags collide with plclips

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6883 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-09-21 23:14:34 +00:00
sireus 74b873ddba various whois-related cleanups and fixes (fixes demos again)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6865 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-08-24 19:55:42 +00:00
Lucas GAUTHERON 629d7346c3 retrieve IP addresses when players join and allow cubescript to fetch these IPs
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6859 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-08-23 10:43:25 +00:00
Lucas GAUTHERON 792fa3b58a weapon changes (sg damage, higher sniper damage, lower (and static) smg damage , lower AR magsize) + win32 binaries
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6744 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-12-31 13:38:32 +00:00
aerkefiende 06f73f4627 Replaced Tabs with 4 spaces in every source file
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6561 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-07-31 15:44:57 +00:00
Lucas GAUTHERON e17e881162 PF back to non-arena mode
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6502 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-05 13:54:44 +00:00
Lucas GAUTHERON f29168a800 bretts says: only pistol clips in PF (!testing!)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6482 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-30 18:46:44 +00:00
Lucas GAUTHERON 2e399ed8cc pf / team pf arena modes ? (!testing!)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6480 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-30 18:28:42 +00:00
Lucas GAUTHERON cd7ad94fa4 hitsound when following (spectating) a player
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6457 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-22 10:54:42 +00:00
Lucas GAUTHERON 2fffcb6f1a killmessage simplification.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6453 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-21 08:21:48 +00:00
Lucas GAUTHERON d3c8df87bf map overview spectate mode ?
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6425 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-14 12:12:28 +00:00
Bukz 4847ff00ff onVoteEnd, curautoteam, addpunct, curplayers, delmenu, votepending, and a new test kick/ban menu :)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6422 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-13 11:55:57 +00:00
sireus f9a2e7c52d rifle -> carbine
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6351 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-26 00:13:42 +00:00
Lee Salzman a4b83ef2ba warning fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6248 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-14 15:24:11 +00:00
Lucas GAUTHERON 9e9c62bcc3 warning fix for killmessage, removing gibmessage
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6239 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-12 20:47:16 +00:00
Lucas GAUTHERON 0f06b8add3 allow to get current kill message from cube script + more checks
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6231 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-09 10:52:48 +00:00
Lucas GAUTHERON 8fc68ac5ac bug fixes (again)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6219 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-06 14:06:06 +00:00
Lucas GAUTHERON aee1d4f1f2 adding custom kill messages support
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6215 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-06 12:21:18 +00:00
flowtron 309302827a CubeScript: strlen, l0 (leading zero) and updated curserver
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6060 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-05 09:47:53 +00:00
RandumKiwi 7bdc5704af add comment to remind
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6051 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-01-26 05:59:45 +00:00
flowtron 381a6de134 further weaponry tweaking - comment clean-up
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6042 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-01-24 17:27:12 +00:00
flowtron 4ed2866806 "headshot" => "sniped"
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6024 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-01-18 06:01:12 +00:00
flowtron 0b63d7d07e new shotgun behaviour
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6012 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-01-17 18:27:53 +00:00
flowtron 8ba5fe2315 fix pistol initial ammo calculation & akimbo dependencies
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5907 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-19 22:44:53 +00:00
flowtron b2ee03ca11 did you miss me, asks the ;
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5898 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-19 18:52:33 +00:00
flowtron e628aef1b8 changed spawnstate in LMS ([t]survivor]
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5896 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-19 18:47:49 +00:00
Rafael Barreto 10d1cefd05 global ban time switch, and fix previous weapon in camera mode (related to nades).
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5773 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-19 18:50:44 +00:00
Rafael Barreto 29bea67da1 making the map quality requisites more transparent: 1) "MAP CHECK FAIL" messages in the server logs; 2) console messages to the client (WiP).
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5769 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-19 12:28:17 +00:00
RandumKiwi 2efa533361 Change of the "you were fragged by %s" messages.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5758 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-15 22:09:05 +00:00
flowtron c1f7286b86 nade-in-hand explodes => suicide & some minor other stuff
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5730 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-09 20:05:43 +00:00
Rafael Barreto d78954f068 pf without nades (replaced by pistol clips) and lss with 2 nades
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5729 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-09 19:55:13 +00:00
Rafael Barreto f6a8cdadb0 putting the armor values back to 41, 37, 33, 16 as makke requested...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5724 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-07 17:12:05 +00:00
Rafael Barreto cfa3d90992 changing the armor values to force suicide even at 100/100 when it explodes in hand or in foot... so the max armor absorption cannot be greater than 36%, otherwise we would need to change the nade damage, and it would affect the game/weapon balance (lets think about this only after the next release)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5722 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-07 00:48:44 +00:00
Lee Salzman 9a6ea9db04 fix suicides not killing people
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5714 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-06 18:26:04 +00:00