Commit graph

81 commits

Author SHA1 Message Date
Balgus
9218ea6768 git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@330 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-08-18 17:43:52 +00:00
tankefugl
62a773737b git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@287 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-15 22:06:49 +00:00
tankefugl
d7194eb748 git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@286 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-15 21:58:50 +00:00
tankefugl
8fd7e2a1be git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@284 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-15 14:20:59 +00:00
tankefugl
d995257c31 Initial script engine implementation.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@282 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 18:26:04 +00:00
puzl
99e6a5510e Changed curl include to be relative
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@270 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 14:30:14 +00:00
puzl
c19bf89e2b Mantis: 983
o Releasing left, right or middle mouse button closes the popupmenu ( and selects the currently highlighted upgrade )



git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@268 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 00:05:38 +00:00
tankefugl
b99c007276 Mantis 0000957:
o Fixed bug where some items in the marine popupmenu ("Start", "Weapon", "Orders", "Comms", etc) would be disabled after exiting the command chair.

The MESSAGE_NULL associated tech was marked as unresearchable, disabling it when the player entered the commandchair.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@263 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-12 13:21:43 +00:00
tankefugl
877b337309 Mantis 0001075:
o Fixed bug that made items on the popupmenu be disabled for aliens in classic games

The bug was in AvHPlayer::UpdateTechNodes(), where the techs would not be set to researchable once flagged as unresearchable, causing them all to be unresearchable from the start of the game, and disallowing lifeforms after gestating to them.

I also added a check so that the menu states won't be updated every frame for the client unless the menu is active.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@262 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-12 12:31:21 +00:00
tankefugl
c01812d4b0 Mantis 0001078:
o Mines and hand grenades moved to weapon slot 5

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@261 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-11 18:01:52 +00:00
tankefugl
505ab77679 Mantis 0001077:
o Reduced the handgrenade research coost: 20 -> 10
o Reduce the time from throw till detonation: 2.0s -> 0.75s.
o Grenades can now be thrown before the prime grenade animation has finished, allowing faster throws
o Number of handgrenades equipped upon spawn has been increased: 1 -> 2

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@260 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-11 17:40:13 +00:00
tankefugl
14b10493b3 Mantis 0001010:
o Fixed a bug where "switch" in console (sv_cheats 1) no longer makes the player stuck when going from alien to marine.

Had committed the change to the wrong branch in build 225 ...

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@259 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-11 13:29:15 +00:00
puzl
39716e42db build 252
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@252 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-08 10:43:40 +00:00
puzl
6399c545a8 git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@251 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-08 03:45:15 +00:00
puzl
f006aade0d Mantis: 1073
o Old authentication code.


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@250 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-08 03:00:16 +00:00
tankefugl
58ec211b68 Ported performance changes from SVN revision 224, 229, 231 and 233, 3.0.5 performance branch.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@242 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-06 00:43:42 +00:00
tankefugl
c2ae858b37 Ported performance changes from SVN revision 223, 3.0.5 performance branch.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@241 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-06 00:10:28 +00:00
tankefugl
f5cdfe00ad Ported performance changes from SVN revision 222, 3.0.5 performance branch.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@240 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-06 00:08:14 +00:00
tankefugl
dc94d3525d Mantis 0001042:
o Fixed bug where a player could not switch teams after the game had started

Commented out the lines in AvHPlayer::GetIsAuthorized that prevented it. To be replaced by Nexus.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@237 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-05 01:55:12 +00:00
tankefugl
a4fcaa728b Mantis 73:
o Fixed bug where the commander UI buttons would not function (select all, go to requests, etc)

AvHTechTree::GetIsMessageAvailable would not return true because no tech tree nodes would be found for these messages. I inserted a check to bypass the node checking for these messages. It's a hack, but since they're already hacked into the TechNode code, it should do for now.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@235 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-05 01:21:43 +00:00
tankefugl
27ced477a6 Mantis 0000892:
o Fixed a bug where a crouching player on an IP would not be killed.

Extended the range the spawn damage is applied for, roughly 10 units downwards.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@217 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-27 16:52:33 +00:00
tankefugl
3f0bf58255 Mantis 0000971:
o Added directional arrows to the order popup notification

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@216 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-27 02:31:49 +00:00
puzl
847913b46c Mantis: 225
o Mines can't be placed within 15 units of each other

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@210 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-23 17:55:30 +00:00
tankefugl
d3850ba1a3 Mantis 0000733:
o Fixed bug where all players on the map would face easward if outside the viewing player's PVS

The angles divided by 22.5 on write were not multiplied back upon read, resulting in really low angles -- almost not visible.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@209 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-23 15:22:27 +00:00
tankefugl
8769b0175c Mantis 0000484:
o The shotgun now properly fires an empty click sound when under water and emptied

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@208 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-22 21:52:30 +00:00
tankefugl
7652448e28 Mantis 0001070:
o Added new option to the Advanced menu: "Enable gamma ramp". The cvar for it is cl_gammaramp which defaults to 1. Setting it to 0 will disable the forced gamma ramp changes.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@206 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-22 12:27:50 +00:00
puzl
ad8010a47b Mantis: 1066
o Minimap now reloads upon map change

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@204 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-21 12:26:08 +00:00
tankefugl
000bb021c3 Mantis 0000941:
o Added check to remove testing of spectators in the hitreg code

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@182 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-12 12:39:32 +00:00
tankefugl
70c0bab675 Mantis 0001057:
o Fixed bug where the buildminimap command would not work

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@181 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-12 12:32:15 +00:00
puzl
72b49a52e0 Mantis: 1060
o Balance changes from 3.0.x
- Jetpack Research Time 50->60
- HA Upgrade Time 100->110
- Alien upgrade evolution time 2->3
- AA Research Time 180->160
- Obs Cost 20->15
- Marine Starting LMG Ammo 50->100
- Marine Starting Pistol Ammo 10->20
- Armslab cost 25->20
- Siege Damage 380->400
- Phasegate Delay 0.8->0.5



git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@173 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-09 19:51:26 +00:00
puzl
273582533a Mantis: 1061
o Set alien base cloaking opacity from 10 to 0 ( aka 100% Cloaking )

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@166 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-08 01:13:12 +00:00
puzl
e50079c075 Mantis: 1064
o Added new setting to advanced multiplayer options.  Default value is 'on'
o cvar is cl_labelmaps ( default 1 )
o If the cvar is changed the map sprite will dynamically update.
o If no labelled minimap exists the default one is displayed
o We always write a generated minimap to the normal file

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@165 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-08 00:43:30 +00:00
tankefugl
af75bded0e Mantis 0001021:
o The onos is now properly uncloaked while charging

Added a check in AvHPlayer::InternalAlienThink to trigger the uncloak if charge is active.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@159 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-02 11:10:12 +00:00
tankefugl
12f4be06be Removed the glow from the infantry portal.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@158 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-01 20:54:28 +00:00
tankefugl
dcf57ac40e Mantis 0001016:
o End game notifications now display in the center of the screen for 10 seconds + 2 seconds fadeout. The text has been reworked to "The TSA Marines have exterminated the alien infestation" and "The alien Kharaa have eradicated the human presence".

I did some changes to AvHPlayer::SendMessage to allow a message to be sent either as a tooltip or a centered message.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@157 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-01 20:50:02 +00:00
tankefugl
86d4f4b184 Mantis 0000991:
o Fixed bug where health rings would incorrectly display.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@156 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-01 13:40:35 +00:00
tankefugl
f042408387 Mantis 0001054:
o Fixed bug where the order popup would display upon order completion.

Added a check to inOrder.GetOrderActive() so that the order would only be displayed when flagged active, not upon completion.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@155 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-01 11:51:47 +00:00
puzl
b69e490956 Mantis: 1050
o Adding missing checkins

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@152 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-31 11:33:22 +00:00
puzl
5b2b31d228 Mantis: 1050
o Orders dissapear upon completion

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@140 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-27 18:47:32 +00:00
puzl
b58c4910ef Mantis: 1041
o Players can now join teams properly before latejointime has expired

Added back in steamid based authids so the server player detail lookups work correctly without nexus.


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@137 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-26 01:20:42 +00:00
puzl
d5b42e9508 Mantis: 1050
o An essential byte was being ignored by the SetOrder message handler.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@136 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-25 20:29:55 +00:00
tankefugl
58c50b1399 Mantis 0001052:
o Fixed bug where order notifications sometimes would display for a commander exiting the CC. Added a check so that a commander will never display nor queue order notifications.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@134 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-25 19:29:41 +00:00
tankefugl
4913786c3a Mantis 0000971:
o Made the waypoint and order notification smaller (0.1 of screen width -> 0.6)

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@133 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-25 19:13:28 +00:00
tankefugl
4de2903d84 Rolled out a CLIENT_WEAPONS defined part of the weapon code that would disable firing while drawing the weapon, reloading and using objects.
Removed check for reload in AvHBasePlayerWeapon::ProcessValidAttack, as it is redundant.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@131 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-24 19:38:27 +00:00
tankefugl
9d01ef9484 Mantis 1047:
o Fixed a bug that caused the commander and gorge drop icons to disappear.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@124 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-19 17:29:21 +00:00
tankefugl
848e73f17b Mantis 0000989:
o Moved text chat a bit up to allow commanders to see the text.
o Resource label is no longer obfuscated by the text chat.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@123 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-19 17:13:08 +00:00
puzl
d395747976 Mantis: 981
o Mines cannot be placed on players or structures

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@122 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-19 15:27:18 +00:00
tankefugl
f248e509e6 o Fixed bug that made particle systems behave weirdly. All particles should display normally now.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@119 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-16 13:50:06 +00:00
tankefugl
3a95b692e7 o Fixed bug in AvHNetworkMessages.cpp where the particle templates would send COORD but read LONG, causing the particle systems to never be deleted, drowning the client's FPS.
o Initialized long_data = 0 in NetMsg_UpdateEntityHierarchy to prevent usage of an uninitialized int.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@116 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-15 18:49:58 +00:00
puzl
ed8ea7c662 Mantis 980
o buildings produce less smoke and more sparks when recycled 

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@115 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-14 18:02:46 +00:00