killzone_kid 1331 Posted April 18, 2013 Just learning some basics :) Share this post Link to post Share on other sites
chortles 263 Posted April 18, 2013 Excellent, please continue... :icon_twisted: Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 19, 2013 Excellent, please continue... :icon_twisted: I am ;) Tried dynamic hit marker in AI crossfire Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 23, 2013 Now with minimap and killfeed :) Share this post Link to post Share on other sites
zooloo75 834 Posted April 23, 2013 Very cool! Do you plan on releasing this? Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 23, 2013 There is nothing to release yet, a bunch of disjointed code. Just trying things learning. Want to really build a BF like CQ mod. Share this post Link to post Share on other sites
arjay 7 Posted April 23, 2013 Wow that is some fine work. Can't wait until you get it to a releasable state! Share this post Link to post Share on other sites
chortles 263 Posted April 23, 2013 Looks like you're using your own minimap instead of simply reusing @FA_gps, impressive stuff there! I would however note that the killfeed shows the weapon classname instead of the display name, is that intentional? Share this post Link to post Share on other sites
aeroson 8 Posted April 23, 2013 (edited) Very nice :o You might be able to show the image of weapon: "<img image='"+getText(configFile>>"cfgweapons">>WEAPON_CLASSNAME>>"picture")+"'/>" Or at least the display name: getText(configFile>>"cfgweapons">>WEAPON_CLASSNAME>>"displayName") or both ^.^ Edited April 23, 2013 by aeroson Share this post Link to post Share on other sites
phelps 4 Posted April 23, 2013 It's call of duty all over, lol just kidding, good work. Share this post Link to post Share on other sites
mindstorm 8 Posted April 23, 2013 Any chance of you releasing that minimap? I'd be verry interested in using it in my missions. Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 23, 2013 Very nice :o You might be able to show the image of weapon: "<img image='"+getText(configFile>>"cfgweapons">>WEAPON_CLASSNAME>>"picture")+"'/>" Or at least the display name: getText(configFile>>"cfgweapons">>WEAPON_CLASSNAME>>"displayName") or both ^.^ Yeah, weapon classes were just placeholders. I tried images, but they point wrong way and pistol is too small and really need just a contour for that, so lots of work to make it available for every weapon. For now will just stick with displayname. ---------- Post added at 11:23 ---------- Previous post was at 11:19 ---------- Any chance of you releasing that minimap? I'd be verry interested in using it in my missions. It is still work in progress, but I will be honest I've looked up some code here and there, how they've done it. You might look at Blitzkrieg mod for that. Share this post Link to post Share on other sites
Tuliq 2 Posted April 23, 2013 Can I ask how you get a hold of the weapon used in a kill? Are you using currentweapon or something else? Share this post Link to post Share on other sites
HorbeySpector 164 Posted April 23, 2013 I like this! always missed some kind of hitmarker for when playing on an easier difficulty. :) Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 23, 2013 Can I ask how you get a hold of the weapon used in a kill? Are you using currentweapon or something else? It is tricky. I store projectile when fired associated with the weapon that fired it, then I retrieve it using projectile data from the kill. Share this post Link to post Share on other sites
Tuliq 2 Posted April 23, 2013 Oh okay. That does sound complicated. I guess you are using the "fired" and "handleDamage" event handlers then? Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 23, 2013 yeah, sorry, projectile from handle damage and player object from the kill Share this post Link to post Share on other sites
marker 1 Posted April 23, 2013 Probably be able to use player addMPEventHandler ["MPKilled", "hint format ['%1 was killed by %2 with a %3',name player , name player ,currentWeapon (_this select 1)]"]; Or if you want you can use a game logic to announce it. Like so.. player addMPEventHandler ["MPKilled", " game_logic_name globalchat format ['%1 was killed by %2 with a %3',name player , name player ,currentWeapon (_this select 1)]"]; as well! Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 23, 2013 If I chucked grenade then my currentWeapon will be my primary weapon for example even though I killed you with grenade. This is why it is a bit tricky to get the right weapon. Share this post Link to post Share on other sites
tonic-_- 53 Posted April 23, 2013 Probably be able to use Or if you want you can use a game logic to announce it. Like so.. as well! Oi, You don't need to do it that way, you can use systemChat instead, does the same but doesn't require the use of a game logic XD Share this post Link to post Share on other sites
marker 1 Posted April 23, 2013 Didn't know that Tonic. Cheers mate :) Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 24, 2013 Minimap now is changing scale with altitude. Share this post Link to post Share on other sites
chortles 263 Posted April 24, 2013 Okay now, that on-the-fly minimap scaling is definitely a nice change! Share this post Link to post Share on other sites
mindstorm 8 Posted April 24, 2013 That minimap keeps getting better and better! Are you gonna release it when you finish it? Share this post Link to post Share on other sites