Task #1487
Nuclear Dawn
| Status: | Resolved | Start date: | 01/24/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | GameSupport | |||
| Target version: | 1.6.16 | |||
| Blocking Target Version: | No |
Description
- HeatMaps images
- Changed Perl scripts
- Changed SourceMod script
- MySQL file
- Game image
- Daily Awards images (not all)
- Global Awards images (not all)
- Maps images
- Ribbons images (not all)
- Roles images
- Signatures images
- Wepons images (not all)
- hlstats_Actions (not all)
- hlstats_Games
- hlstats_Games_Defaults
- hlstats_Games_Supported
- hlstats_Roles
- hlstats_Teams
- hlstats_Weapons
- hlstats_Awards
- hlstats_Ribbons
- hlstats_Heatmap_Config
- Statsme MySQL tables is empty
To do 1:
Make images for "Blaster", "P-900" and "R.E.D." Daily Awards
Make images for "Blaster", "P-900" and "R.E.D." Global Awards
Make images for "Blaster", "P-900" and "R.E.D." Ribbons
- Add team action "Consortium Command Bunker Destroyed"
L */*/* - *:*:*: Team "EMPIRE" triggered "Destroyed Bunker" (CONSORTIUM "*") (EMPIRE "*") L */*/* - *:*:*: Team "CONSORTIUM" scored "*" with "*" players L */*/* - *:*:*: Team "EMPIRE" scored "*" with "*" players L */*/* - *:*:*: World triggered "Round_Win"
- Add team action "Empire Command Bunker Destroyed"
L */*/* - *:*:*: Team "CONSORTIUM" triggered "Destroyed Bunker" (CONSORTIUM "*") (EMPIRE "*") L */*/* - *:*:*: Team "CONSORTIUM" scored "*" with "*" players L */*/* - *:*:*: Team "EMPIRE" scored "*" with "*" players L */*/* - *:*:*: World triggered "Round_Win"
- Add team action "Consortium Eliminated"
L */*/* - *:*:*: Team "EMPIRE" triggered "Eliminated Team" (CONSORTIUM "*") (EMPIRE "*") L */*/* - *:*:*: Team "CONSORTIUM" scored "*" with "*" players L */*/* - *:*:*: Team "EMPIRE" scored "*" with "*" players L */*/* - *:*:*: World triggered "Round_Win"
- Add team action "Empire Eliminated"
L */*/* - *:*:*: Team "CONSORTIUM" triggered "Eliminated Team" (CONSORTIUM "*") (EMPIRE "*") L */*/* - *:*:*: Team "CONSORTIUM" scored "*" with "*" players L */*/* - *:*:*: Team "EMPIRE" scored "*" with "*" players L */*/* - *:*:*: World triggered "Round_Win"
- Add team action "Consortium Surrendered"
L */*/* - *:*:*: Team "EMPIRE" triggered "Surrendered" (CONSORTIUM "*") (EMPIRE "*") L */*/* - *:*:*: Team "CONSORTIUM" scored "*" with "*" players L */*/* - *:*:*: Team "EMPIRE" scored "*" with "*" players L */*/* - *:*:*: World triggered "Round_Win"
- Add team action "Empire Surrendered"
L */*/* - *:*:*: Team "CONSORTIUM" triggered "Surrendered" (CONSORTIUM "*") (EMPIRE "*") L */*/* - *:*:*: Team "CONSORTIUM" scored "*" with "*" players L */*/* - *:*:*: Team "EMPIRE" scored "*" with "*" players L */*/* - *:*:*: World triggered "Round_Win"
- Add player action "Destroyed Armory"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_armoury") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_armoury")
- Add player action "Destroyed Artillery"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_artillery_explosion") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_artillery_explosion")
- Add player action "Destroyed Assembler"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_assembler") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_assembler")
- Add player action "Destroyed Command Bunker"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_command_bunker") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_command_bunker")
- Add player action "Destroyed Empire Flamethrower Turret"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_flamethrower_turret")
- Add player action "Destroyed Consortium Wireless Repeater"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_fusion_reactor")
- Add player action "Destroyed Machine-gun Turret"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_machinegun_turret") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_machinegun_turret")
- Add player action "Destroyed Power Station"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_power_station") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_power_station")
- Add player action "Destroyed Radar Station"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_radar") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_radar")
- Add player action "Destroyed Empire Relay Tower"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_power_relay")
- Add player action "Destroyed Rocket Turret"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_rocket_turret") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_rocket_turret")
- Add player action "Destroyed Consortium Sonic Turret"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_sonic_turret")
- Add player action "Destroyed Supply Station"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_support_station") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_support_station")
- Add player action "Destroyed Transport Gate"
L */*/* - *:*:*: "Player<*><STEAM_*:*:*><CONSORTIUM>" triggered "structure_kill" (structure "struct_transport_gate") L */*/* - *:*:*: "Player<*><STEAM_*:*:*><EMPIRE>" triggered "structure_kill" (structure "struct_transport_gate")
- Create Daily Awards for added actions
- Create Global Awards for added actions
- Create Ribbons for added actions
- Make images for created Daily Awards
- Make images for created Global Awards
- Make images for created Ribbons
Associated revisions
GameSupport: Added support for Nuclear Dawn
diff -r d26b244adcdc -r ee967d46715b heatmaps/src/nd/clocktower.jpg
Binary file heatmaps/src/nd/clocktower.jpg has changed
diff -r d26b244adcdc -r ee967d46715b heatmaps/src/nd/downtown.jpg
Binary file heatmaps/src/nd/downtown.jpg has changed
diff -r d26b244adcdc -r ee967d46715b heatmaps/src/nd/hydro.jpg
Binary file heatmaps/src/nd/hydro.jpg has changed
diff -r d26b244adcdc -r ee967d46715b heatmaps/src/nd/metro.jpg
Binary file heatmaps/src/nd/metro.jpg has changed
diff -r d26b244adcdc -r ee967d46715b heatmaps/src/nd/oasis.jpg
Binary file heatmaps/src/nd/oasis.jpg has changed
diff -r d26b244adcdc -r ee967d46715b heatmaps/src/nd/oilfield_beta.jpg
Binary file heatmaps/src/nd/oilfield_beta.jpg has changed
diff -r d26b244adcdc -r ee967d46715b heatmaps/src/nd/silo.jpg
Binary file heatmaps/src/nd/silo.jpg has changed
Added more actions for destroyed stuctures
Renamed roles to translated phrases changed in gameupdate
Added unSKAred's images and sql updates for ND support.
History
#1
Updated by Peace-Maker 3 months ago
- File p900.png added
Oh, good. I wanted to submit nuclear dawn support either:)
I don't have any images except the heatmaps though.
Looking at the sourcemod plugin:
Nuclear Dawn is going to support MOTD windows in the next update. Don't forget to change line 195 again after that.
Line 1362:if (gamemod == Game_L4D || Game_ND)
That is not going to work as intended and not needed, since ND does support PrintCenterText.
I've also got a SuperLogs: Nuclear Dawn plugin, which logs extra info + weapon stats. Some of the additional logging might get obsolete after the next ND update, so i'll wait and post it then.
The commander ability is split up into the 2 real ones, so would be great if you could create different images for the commander_poison and commander_damage "weapons" :)
#2
Updated by Peace-Maker 3 months ago
Can't upload the weapon screenshots here..
http://dl.dropbox.com/u/38578492/nd_weapon_screens.zip
#3
Updated by calystos 3 months ago
Confirmed, motd status (albeit a bit rubbish since you can't change it an it only shows atm "Welcome to Nuclear Dawn." lol) is now enabled. So yeah line 195 def needs changing.
Also theres the new map "oilfield_beta" which is probably gonna get changed somewhat, an of course will be renamed to "oilfield" when finished.
An look forward to SuperLogs: Nuclear Dawn, sounds like it'll be really handy, :-)
#4
Updated by unSKAred 3 months ago
- File oilfield_beta.jpg added
Heatmaps update:
INSERT INTO `hlstats_Heatmap_Config` (`map`, `game`, `xoffset`, `yoffset`, `flipx`, `flipy`, `days`, `brush`, `scale`, `font`, `thumbw`, `thumbh`, `cropx1`, `cropy1`, `cropx2`, `cropy2`) VALUES
('silo', 'nd', 10659, 11345, 0, 1, 30, 'small', 22.00, 10, 0.170312, 0.170312, 0, 0, 0, 0);
#5
Updated by unSKAred 3 months ago
Sorry for mistake in previous message.
INSERT INTO `hlstats_Heatmap_Config` (`map`, `game`, `xoffset`, `yoffset`, `flipx`, `flipy`, `days`, `brush`, `scale`, `font`, `thumbw`, `thumbh`, `cropx1`, `cropy1`, `cropx2`, `cropy2`) VALUES
('oilfield_beta', 'nd', 10659, 11345, 0, 1, 30, 'small', 22.00, 10, 0.170312, 0.170312, 0, 0, 0, 0);
#7
Updated by unSKAred 3 months ago
- File p900.png added
- File R.E.D..png added
Small weapons update.
In "hlstats_Weapons table", сhange:
('nd', 'R.E.D.', 'R.E.D', 2.00),
to:
('nd', 'R.E.D.', 'R.E.D.', 2.00),
#8
Updated by unSKAred 3 months ago
calystos wrote:
Erm don't ya mean "oilfield_beta" not "silo" ;-)
Yes
#9
Updated by calystos 3 months ago
Oooh, nice work, keep it up, an ya beat me to the map thing. I was on doing it myself.
I've also got the files for a few of the custom maps that are released (eg abandoned mine, refinery, etc) should I see about uploading them sometime this weekend?
#11
Updated by Packhead 3 months ago
- Status changed from New to Assigned
- Target version set to 1.7.0
#12
Updated by Peace-Maker 3 months ago
Why did you add "env_explosion" and "world" as weapons?
#13
Updated by Peace-Maker 3 months ago
Put it all in a patch file to be imported into the hg.
Still missing ribbons for the newly added structure destroyed actions.
SuperLogs: Nuclear Dawn logs weaponstats and splits the "commander ability" into "commander damage" and "commander poison" and logs
playerevents:
killed_commander - player killed enemy commander
headshot - Player killed another one with an headshot
promoted_to_commander - Player has been promoted to commander
armoury_destroyed
artillery_destroyed
assembler_destroyed
flamethrowerturret_destroyed
wirelessrepeater_destroyed
powerstation_destroyed
radar_destroyed
powerrelay_destroyed
rocketturret_destroyed
sonicturret_destroyed
supply_destroyed
transportgate_destroyed
machineguneturret_destroyed
teamevents:
round_win - Team won
round_lose - Team lose (both logged on round end)
resource_captured - A resourcepoint now belongs to that team
damaged_opposite_bunker - Team managed to damage the enemy bunker with 1000dmg (adjustable in 100er steps)
#14
Updated by Peace-Maker 3 months ago
Here's SuperLogs: Nuclear Dawn
https://forums.alliedmods.net/showthread.php?t=178690
#15
Updated by calystos 3 months ago
For some reason the change role info has stopped working right. I think the last patch update might have changed something.
The logs no longer show "#ND_Consortium_Assault" for example, instead they're just showing "ASSAULT".
Any ideas if this is something I've changed or what?
#16
Updated by calystos 3 months ago
Peace-Maker wrote:
Why did you add "env_explosion" and "world" as weapons?
I've a plugin that uses env_explosion, so others may do too. So might be useful for stats info perhaps?
Am going to release a laser tripmine plugin based on an old one but brought up to date an added new features plus works on ND. It currently uses "env_explosion" and/or "env_beam" when killing someone.
As for world, not sure, I know suicide sometimes logs as world. Also perhaps plugins may use it.
#17
Updated by calystos 3 months ago
FYI: Upcoming patch 6 (sometime this week!) will add a new Commander ability. "artillery strike".
[quote]
Added artillery strike calls
- Commanders may now enable artillery strike calls on artillery structures.
- Players may call own artillery strikes from radial menu.
- First in-range artillery that is enabled for calls and ready to fire will attack area designated by caller.
[/quote]
So might wanna update the info accordingly for when thats out.
#18
Updated by Peace-Maker 3 months ago
calystos wrote:
FYI: Upcoming patch 6 (sometime this week!) will add a new Commander ability. "artillery strike".
I don't know if that's anything to be logged, right? The commander is only able to set the artillery free-to-use for all footmen, so they can use the radiomenu to call for an attack for a near-by free artillery.
Maybe logging artillery kills as kills by the player who actually called the artillery instead of by the commander would be an idea, if the game doesn't do that already ;)
#19
Updated by calystos 3 months ago
Yeah an unfortunately most commanders either ignore the option to set them or don't know about it to begin with, lol. Still get loads of people coming on our servers an asking if stuff thats on are server mods or updates cos they don't read the news, hehehe.
But yeah, I like the idea of the kill calls being logged. Not sure if it does it already but if not might be a good one to have. Maybe even add a sorta daily/etc achievement thing for it too.
#20
Updated by Peace-Maker 3 months ago
- File 765.patch
added
Here's a patch to fix the new role names. They are named the same for both teams. So #ND_Consortium_Assault and #ND_Empire_Assault now is just ASSAULT.
Did you test if the artillery kills are rewarded to the first-person player who called for it or the commander?
#21
Updated by calystos 2 months ago
Hiya, sorry not had chance been so busy this week with a server move and other things. Will look into it this weekend.
Btw folks ND updated and Oilfield_beta is now just Oilfield. They've updated and added some stuff to it including 4 new tert cp's.
#22
Updated by calystos 2 months ago
Oh man almost forgot. In ref to the roles thing, I was wondering if it were possible to still use Consortium/Empire factions in the system since when a kill/etc is logged it does actually log the killer & killed players info which included faction didn't it? So is it possible to put in some hook to retrieve that data too and then use it to show factions in the rolls system too?
If so we can use this in other games that have the same faction thing, such as TF2 etc right?
#23
Updated by unSKAred 2 months ago
- File nd_6.1.7z added
All files were altered.
Also added all necessary SourceMod plugins.
Preview: http://fps.psychoid.ru/hlstats.php
#24
Updated by Peace-Maker 2 months ago
What did you add exactly except packing it all into one archive / What images/stuff is still missing?
#25
Updated by unSKAred 2 months ago
- File nd_6.1.1.7z added
Finded and fixed some misprints in install.sql.
Added optionally Nuclear Dawn ranking system.
Peace-Maker
All is complete.
Download last nd_6.1.1.7z.
#26
Updated by unSKAred 2 months ago
To add SONIC TURRET into Weapons, Awards and Ribbons tables, execute:
INSERT INTO `hlstats_Weapons` (`game`, `code`, `name`, `modifier`) VALUES
('nd', 'sonic turret', 'SONIC TURRET', '0.40');
INSERT INTO `hlstats_Awards` (`awardType`, `game`, `code`, `name`, `verb`) VALUES
('W', 'nd', 'sonic turret', 'SONIC TURRET', 'kills with SONIC TURRET');
INSERT INTO `hlstats_Ribbons` (`awardCode`, `awardCount`, `special`, `game`, `image`, `ribbonName`) VALUES
('sonic turret', 1, 0, 'nd', '1_sonic turret.png', 'Young: SONIC TURRET'),
('sonic turret', 5, 0, 'nd', '2_sonic turret.png', 'Bronze: SONIC TURRET'),
('sonic turret', 15, 0, 'nd', '3_sonic turret.png', 'Silver: SONIC TURRET'),
('sonic turret', 30, 0, 'nd', '4_sonic turret.png', 'Golden: SONIC TURRET'),
('sonic turret', 50, 0, 'nd', '5_sonic turret.png', 'Platinum: SONIC TURRET'),
('sonic turret', 75, 0, 'nd', '6_sonic turret.png', 'Bloody: SONIC TURRET');To rename FLAMETHROWER/SONIC TURRET into FLAMETHROWER TURRET in Awards Awards, Ribbons and Weapons tables, execute:UPDATE `hlstats_Awards` SET `name` = (REPLACE (`name`, 'FLAMETHROWER/SONIC TURRET', 'FLAMETHROWER TURRET')) WHERE `game` = 'nd'; UPDATE `hlstats_Awards` SET `verb` = (REPLACE (`verb`, 'kills with FLAMETHROWER/SONIC TURRET', 'kills with FLAMETHROWER TURRET')) WHERE `game` = 'nd'; UPDATE `hlstats_Ribbons` SET `ribbonName` = (REPLACE (`ribbonName`, 'Young: FLAMETHROWER/SONIC TURRET', 'Young: FLAMETHROWER TURRET')) WHERE `game` = 'nd'; UPDATE `hlstats_Ribbons` SET `ribbonName` = (REPLACE (`ribbonName`, 'Bronze: FLAMETHROWER/SONIC TURRET', 'Bronze: FLAMETHROWER TURRET')) WHERE `game` = 'nd'; UPDATE `hlstats_Ribbons` SET `ribbonName` = (REPLACE (`ribbonName`, 'Silver: FLAMETHROWER/SONIC TURRET', 'Silver: FLAMETHROWER TURRET')) WHERE `game` = 'nd'; UPDATE `hlstats_Ribbons` SET `ribbonName` = (REPLACE (`ribbonName`, 'Golden: FLAMETHROWER/SONIC TURRET', 'Golden: FLAMETHROWER TURRET')) WHERE `game` = 'nd'; UPDATE `hlstats_Ribbons` SET `ribbonName` = (REPLACE (`ribbonName`, 'Platinum: FLAMETHROWER/SONIC TURRET', 'Platinum: FLAMETHROWER TURRET')) WHERE `game` = 'nd'; UPDATE `hlstats_Ribbons` SET `ribbonName` = (REPLACE (`ribbonName`, 'Bloody: FLAMETHROWER/SONIC TURRET', 'Bloody: FLAMETHROWER TURRET')) WHERE `game` = 'nd'; UPDATE `hlstats_Weapons` SET `name` = (REPLACE (`name`, 'FLAMETHROWER/SONIC TURRET', 'FLAMETHROWER TURRET')) WHERE `game` = 'nd';To change modifiers of some weapons on more correctly values, execute:
UPDATE `hlstats_Weapons` SET `modifier` = '1.00' WHERE `code` = 'armblade' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '1.00' WHERE `code` = 'armknives' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '0.70' WHERE `code` = 'artillery' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '0.60' WHERE `code` = 'commander damage' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '1.50' WHERE `code` = 'env_explosion' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '0.40' WHERE `code` = 'flamethrower turret' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '1.50' WHERE `code` = 'grenade launcher' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '0.40' WHERE `code` = 'mg turret' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '1.00' WHERE `code` = 'paladin' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '1.00' WHERE `code` = 'psg' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '1.50' WHERE `code` = 'R.E.D.' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '5.00' WHERE `code` = 'repair tool' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '0.40' WHERE `code` = 'rocket turret' AND `game` = 'nd'; UPDATE `hlstats_Weapons` SET `modifier` = '0.40' WHERE `code` = 'sonic turret' AND `game` = 'nd';
And don't forget rename flamethrower turret.png into sonic turret.png in web\hlstatsimg\games\nd\weapons directory!
Images will be later...
#27
Updated by unSKAred 2 months ago
- File nd_u_6.1.1-6.1.2.7z added
Update, descripted in previos post + images.
#28
Updated by calystos about 1 month ago
Sorry been offline for a couple of weeks due to being in hospital.
In regards to who gets the kill details for calling an arti strike, it USED to be (pre patch 6.2 on Friday just gone) the commander, but now its whomever calls the strike gets the kill regardless of who is in command. EG: If the commander uses the artillery then the commander gets the points/kills/etc. If a player calls in artillery at their location then they get the points/etc.
Not sure if the stats system checks against that info or not but if not then it may need a safety check or something.
#29
Updated by Packhead 4 days ago
- Status changed from Assigned to Resolved
- Assignee set to Packhead
- Target version changed from 1.7.0 to 1.6.16
Thanks to everyone for the submissions. psychonic has compiled all of this together and it will be released in 1.6.16. Additional changes to Nuclear Dawn support should now follow the standard procedure of filing a bug/task issue on the tracker.
Support added in following hlx-16 changesets:
a22289d521ca r773
3a2cc8ecbae3 r774
2fff704f050d r775
b6514b43ac36 r776