Commit graph

115 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
9ae2165c8f Updated project files
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@283 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 18:48:34 +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
tankefugl
dcdc87d7e0 Updated client with the correct MAX_WEAPON_SLOTS 5 in cdll_dll.h
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@275 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 17:33:03 +00:00
puzl
c3efe644ea git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@272 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-14 15:03:16 +00:00
puzl
15410d7ec3 git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@271 67975925-1194-0748-b3d5-c16f83f1a3a1 2005-07-14 14:53:32 +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
tankefugl
b993a0c80d Updated linux makefile
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@269 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 13:49:30 +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
eb6d9f2d02 Mantis 0001051:
o Fixed bug where chat text would turn white when a player joined a team

An uncapped strcpy overwrote the color array.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@264 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-12 14:49:58 +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
tankefugl
c25d30a845 Made the backwards lerk flap as powerful as the forward one for a PT test.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@258 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-10 23:38:56 +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
49a6f0a6e7 Fixed code typo. Oops.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@243 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-06 00:48:38 +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
241a3b0282 Ported performance changes from SVN revision 221, 3.0.5 performance branch.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@239 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-05 23:59:07 +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
36e38984a2 Removed some debug print-outs from void IN_Impulse (void).
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@236 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-05 01:22:56 +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
577727d9a5 Mantis 994:
o Fixed bug where the voice comm icon would not be displayed while using a mic

The new MemoryInputStream class either contains a bug or doesn't match what the vgui::BitmapTGA class expects. I've inserted the old code to get this working till Karl can take a look at it, as it's a bit painstaking to sort it out when I don't even know what method(s) it fails in.

I also fixed a bug in the constructor for the new MemoryInputStream where the length parameter would not be applied to the length member.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@232 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-04 21:22:39 +00:00
puzl
410d1ea62f Mantis: 1072
o Added some client side consistency checks.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@218 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-27 17:06:46 +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
puzl
2581c48cfc Mantis: 1071
o Fixed client command crash 


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@197 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-19 01:25:37 +00:00
tankefugl
6f80af0426 Mantis 0001065:
- Implemented a hybrid wallwalk -- the skulk now only "sticks" if +speed is held down
- Added an IN_WALK flag, syncronized with the server state that can be used in the application to check whether a player is walking
- Walljump is reverted to only jump in the direction the player is looking again, since a running player jumping from a wall usually wants to strafe inwards to stay on the wall

Untickeded bug:
- Fixed bug that caused leap to not behave properly from shallow water

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@191 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-16 19:22: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
tankefugl
8732dc6b75 Mantis 0000972:
o Removed the ability to walljump off the ground in some special cases.

Added a check to disable wallwalk if something is found 10 units below the player.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@170 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-08 18:57:37 +00:00
puzl
3dd6af1052 Mantis: 1027
o Players can now walk up ladders without having to face up or jump on to them

Change the threshold for detecting we are on a ladder to suit the NS ladder speed. 
( actual value 110 )

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@167 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-08 02:14:14 +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
84a021a51a o Reverted the wallwalk to the previous mode where duck = release from wall.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@160 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-02 17:07:23 +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