ShoppaHell rope knocking challenge

33 replies [Last post]
sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

Do you remember the rope knocking challenge ?
it is a mission where you have to make enemy fall from their points, using rope (on ropes map)

so, i copy the script, and transform it a bit
now it take place on ShoppaHell;
you begin with 15sec
you win 10sec for each enemy killed
and you loose if you run out of time or if you fall, so hang on the ropes carefully ! :p

try to do the best time :
less than 140sec is pro time
140--160 is middle time
+160 .... try to do better next time

tell me your time, cause i based this time result on my personals times (i'm kind of pro shoppa but maybe not the fastest sometime, so tell me Wink Smiley )

it is not final version cause i would like to add a difficulty level at the beginning (and maybe some sounds) like in campaigns; if pro level then you start with less time and win less time when an enemy die and score would be different; if you select middle level or noob level time winning and starting would be different too...
if someone could help me with this ... Wink Smiley
(i read the 'first blood'.lua script (campaign) and see that it is possible but i wonder how to do it for my script...)

https://dl.dropbox.com/u/82215817/Rope%20Knock%20Challenge%20ShoppaHell.lua
install it in : mission / training Wink Smiley

enjoy and tell me your time !!

personnally i hit the pro time , 138sec sometimes

the beachs hogs surfin hedgewars

mikade
mikade's picture
User offline. Last seen 48 weeks 1 day ago. Offline
Joined: 2010-10-22
Posts: 355

Gave it a shot. 161 on my first attempt. Guess I have to "try to do better next time".

mikade
Hedgewars Developer

Wuzzy
Wuzzy's picture
User offline. Last seen 28 weeks 1 day ago. Offline
Joined: 2012-06-20
Posts: 1304

Ouch, I suck at this. I always run out of time. >_>

But it is a nice little mission, I definately keep it on my disk and report back as soon as I finish it.

One minor thing which surprises me: It seems as first the game scrolls to the upper left corner to the map. Why? Is this intended? Because it confuses me a bit. It is not really important, however.

I contribute a nice preview image for the mission:

Big Grin

Save the image as $YOURHEDGEWARSFOLDER/Data/Graphics/Missions/Training/Rope Knock Challenge ShoppaHell@2x.png. I would be happy if you’d include it in the next version, because I don’t like it when missions don’t have a preview image.
Smile

Hi, I am a Hedgewars developer. Smile

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

thanks for the image Smile i'll use this one :p

hum, the zoom to the upper left side, not intended, i tryed to fix it, but not good :p i guess its about order of spawning hog, ex it zoom on the last spawned maybe

if you run out of time, you can open the lua file and change the start-time or the time you win when you kill an enemy, read a bit of the lua script and you'll find where to change the numbers :p

but saying you run out of time give me some indication, could you tell me too your shoppa level so i have a better information about the level of players and the time they need
when you run out of time ?

mikade 161 ? i'm sure you'll do better next time :p

maybe next tester could post the demos Smile

the beachs hogs surfin hedgewars

Sir TToby
Sir TToby's picture
User offline. Last seen 4 years 17 weeks ago. Offline
Joined: 2010-05-17
Posts: 53

Heya, just downloaded that nice mission and play it couple of times. Already got some under 140 secs but saving them as demo didn't work >_<

Finally I managed to save one, there I got it in 126 seconds. Here it is: http://www.mediafire.com/?cm6sdalnfs1ib5e

Btw., is there a Thread where you can post your Trophyrace and Trophyrace2 records? Didn't find it and my search function in the forum doesn't work at the moment.
Just got my first Trophyrace2 run under 30 seconds and would like to post it on the right place Smile

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

thank you for your comment Wink Smiley
i'll have a look on your demo; 126sec seems good !

and about the thread with records : http://www.hedgewars.org/node/2089
i had to search with google cause forum search look broken for me too...

the beachs hogs surfin hedgewars

nemo
nemo's picture
User offline. Last seen 22 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Forum search should be ok-ish now.
Site is in severe need of upgrading if anyone is willing/able to burn time on a drupal upgrade.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

Great mission! Smile

My current record is 121,056 sec (pro time) http://www.mediafire.com/?977x2n49sdoabf5

EDIT: New record

Sir TToby
Sir TToby's picture
User offline. Last seen 4 years 17 weeks ago. Offline
Joined: 2010-05-17
Posts: 53

Yeah that sounds awesome, congratulations to that Stef! So finally I Have motivation to work on my time Wink Smiley

Hope I'll find time the next days because I've got much to do but we'll see.

@Sphrix: Yep, know that page, as you can see my records are already included, but the last post in that threadi is ages ago and so it's kind of dead. I think I'll open a new thread with the old and new races and records when I find time for that Smile

So far so good. Who's already interested in my Trophyrace record: http://www.mediafire.com/?xmklhn4ih2pp4fa

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

Thanks SirToby! Smile

I've got a new record in the meantime: 116,911 sec (pro time) http://www.mediafire.com/?618h8fs9gzhaick

Big Grin

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

hey, thank you for the feedback, keep posting it Smile
so i may will change the time if its too easy to get the pro time :p
got to watch the demos too,
i tried one, didnt work, i guess its because i changed my file lot of time since i uploaded it here, i downloaded it again but didnt work, anyway, i'll find a solution and test the other demos Wink Smiley

the beachs hogs surfin hedgewars

Sir TToby
Sir TToby's picture
User offline. Last seen 4 years 17 weeks ago. Offline
Joined: 2010-05-17
Posts: 53

Well I couldn't watch Stefs demo as well, don't know why...

Nevertheless I've got a new record which is 109.968 seconds!

Sounds nice but still wasted quite a lot of time, I am absolutely sure that it's even possible to stay under 100 seconds. So maybe you make Pro Time under 130 seconds, Epic time under 115 seconds and legendary under 100 seconds or so. I would be motivated to try and beat the 100 seconds mark if there was a special name for times under 100 seconds Smile

Finally I recorded my record into a mp4-file so everybody should be able to download and watch it without complications: http://www.mediafire.com/?6cqsjr6i75a7ma6

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

Really good idea !! and it won't be so hard to do Wink Smiley

at first, i played against myself, tryed to go fast but hadnt highscore to beat so i put 120sec or so Wink Smiley

i'm gonna watch your demo then Smile

the beachs hogs surfin hedgewars

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

Wow! Congratulations SirToby! That a really nice time, I'll probably never beat that record. :P

Good idea about the different labels of your time (like pro and legendary time), I like it.

I'll post MP4 files too from now on, I can't watch demo's of other people either.
EDIT: here is a MP4 file of my record: http://www.mediafire.com/?9cc8v3lun74nvuv

Keep up the good work sphrix Smile

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

Here is an update of the challenge
no worries, it should be not changed so much Wink Smiley

https://dl.dropboxusercontent.com/u/82215817/Rope%20Knock%20Challenge%20ShoppaHell.lua

its the same name, so it will replace your actual version of the challenge

if you made an incredibly time, record it in video, or find an other way to save it Wink Smiley
or just retry your race :p

i included Stef name in it, sir ttoby, would you like to be in ?

and i improve the time messages :
you can now hit a time under 100, and even try under 90, or if you can : under 80, but i doubt you can do it :p

the beachs hogs surfin hedgewars

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

Thanks for including me. :P But I saw in the script that the hat name was wrong (my fault, I send it wrong to you), the correct name is: dish_Teacup . Already tested it here and it works then.

It would also be nice if the 'kill counter' would be the same color as your team color (yellow in this case), because it are your kills. Wink Smiley

Thanks for the updated script! (:

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

ok, so your hat is now fixed
about the color, i use to just change some number etc... so i don't really know how it work :p
if someone could explain me, would be cool : tcol for the counterkill : i used inkscape and get a coor code
but team color is different codage ?
anyway the color are now almost the same Wink Smiley

https://dl.dropboxusercontent.com/u/82215817/Rope%20Knock%20Challenge%20ShoppaHell.lua

(i think its always the same link, cause its dropbox, but you get the last version Wink Smiley )

the beachs hogs surfin hedgewars

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

I don't know if you know this already and if it helps or not, but: the tCol color seems to be in Hex.

Wink Smiley

I know nothing about Lua, so I'm afraid I can't help you out more than this.

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

Hmmm... The kill counter is also in a really strange position on my other computer.
(Monitor: 1920 x 1200).


Link image: http://bit.ly/11J9SvV

mikade
mikade's picture
User offline. Last seen 48 weeks 1 day ago. Offline
Joined: 2010-10-22
Posts: 355

GetClanColor(GetHogClan(InsertReferenceToYourHogHere))

mikade
Hedgewars Developer

Sir TToby
Sir TToby's picture
User offline. Last seen 4 years 17 weeks ago. Offline
Joined: 2010-05-17
Posts: 53

Hey guys, first of all to sphrix: Great job, it's really nice playing the RKC shoppahell! And I really learned some special moves at that map which work out great.

To answer your question which I just read: Yes of course, I'd love to be one of the hogs that has to be killed Wink Smiley I don't know if I can choose the hedges look but if yes I'd like to have that MegaHogX with that blue masc.

Just worked on my record, here it is because you told me to share it right below my time Big Grin

My time is 85.657 seconds http://www.mediafire.com/?c56s2uc41ogfl45

Enjoy it ^^

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

aha yeah congratulation !
i will add your name, and for the hat i will too but find me the name Wink Smiley
i saw the video on your topic about record at races Wink Smiley really good, you can even try to go under the 80sec and be the 'evil shopper' sure you can if you make a perfect path !

thanks mikade for GetClanColor(GetHogClan(InsertReferenceToYourHogHere)) Wink Smiley

and last about the position of the counter : in my computer its perfect, and should be on yours too cause there is some calcul to adjust position with your screen... or should be :p
maybe one day i'll try to fix it, right now don't have time and don't know how to do, and its still playable so... Big Grin

congratulation !

the beachs hogs surfin hedgewars

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

It doesn't work anymore with 0.9.19. Sad Smiley But it's probably not hard to fix. Wink Smiley

nemo
nemo's picture
User offline. Last seen 22 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Stef. Try deleting the first line. Format changed in .19 for physfs. (this is related to why there's a .19 hotfix btw)
Since localisation is rarely done for lua, it doesn't help much.
Although, since .19 adds the ability for a script to override everything in Data, a script could pack its own locales I guess..

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

i did something wrong ?
i try deleting the first line, the engine start loading but then the window close, so i can't play it, i'm pretty sure i downloaded the hotfix.

plus, i never really knew why this first line was needed, but i put it always...

(and bonus, this is not the place for this but got a problem when on fullscreen mode : https://code.google.com/p/hedgewars/issues/detail?id=557 don't happen with windowed mode. so i still can play but i prefered the fullscreen...
note : i post on the bug source during the beta2 but don't seem to see it, anyway i'm probably the only one to have this problem... (AMD athlon, ATI mobility radeon, win7 )

the beachs hogs surfin hedgewars

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

nemo allegedly wrote:

Stef. Try deleting the first line. Format changed in .19 for physfs. (this is related to why there's a .19 hotfix btw)
Since localisation is rarely done for lua, it doesn't help much.
Although, since .19 adds the ability for a script to override everything in Data, a script could pack its own locales I guess..


I deleted the first line, but it still doesn't work though. Now it even quits without giving an error message, before it said something about "flag=1".

I'm running the OS X version of 0.9.19.

PS: sphrix: I sent you a PM a month ago or something, did you receive it?

nemo
nemo's picture
User offline. Last seen 22 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Oh yeah. You'll have to remove all the loc calls too, then. I didn't realise localisation was actually being done..
Um. Try replacing the first line w/ the first line Locale call from one of the .19 scripts.
That is:
HedgewarsScriptLoad("/Scripts/Locale.lua")

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

mikade
mikade's picture
User offline. Last seen 48 weeks 1 day ago. Offline
Joined: 2010-10-22
Posts: 355

Yar, this is why I commented that we need to either update our DLC content or separate it into distinct .19 / prior release sections. Might be neat to have some kind of GetHedgewarsVersion() so one script could be compatible under multiple versions, but actually maybe that is a terrible idea.

mikade
Hedgewars Developer

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

Thanks nemo! Smile Replacing the first line with -HedgewarsScriptLoad("/Scripts/Locale.lua")- did the trick.

nemo
nemo's picture
User offline. Last seen 22 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Stef allegedly wrote:

Thanks nemo! Smile Replacing the first line with -HedgewarsScriptLoad("/Scripts/Locale.lua")- did the trick.

Cool, and for Localisation to actually do something you'd need something like:
/Locale/fr.lua
/Locale/de.lua
.. etc

With the actual translated strings.

Packed into a zip file named Rope Knock Challenge ShoppaHell.hwp and that packed into the .hwp that contains the script.

BTW. Spaces in filename. Whyyyyy
Makes commandline such a pain.
Call it Rope_Knock_Challenge_ShoppaHell.lua and get more readable links and saner commandline.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

about the spaces in filenames .... cause i'm not used to this _ stuff :p

but, as i may have said it, this mission is a part of a shoppa challenge campaign (same gameplay for most of mission in the campaign) so, if one day i publish it, should be without space in title Smile

so i should also add this kind of line : -HedgewarsScriptLoad("/Scripts/Locale/fr.lua") (FR)
-HedgewarsScriptLoad("/Scripts/Locale/de.lua")
if i want a translation, right ?

(sorry i don't understand anything more tonight)

the beachs hogs surfin hedgewars

nemo
nemo's picture
User offline. Last seen 22 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

No. I mean, normally what happens is that Locale.lua loads fr.lua which contains the strings if you have french locale set.
Since you wrote your own script, and it isn't part of the official set, it is hard to get it in:
http://hedgewars.googlecode.com/hg/share/hedgewars/Data/Locale/fr.lua

*but* since 0.9.19 allows scripts to override basically anything in Data (using the physfs unc0rr added) by providing a .hwp w/ the Data content that has the same name as the script, you could include your own translation files to override fr.lua, de.lua, ja.lua etc

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Stef
User offline. Last seen 9 years 51 weeks ago. Offline
Joined: 2012-11-02
Posts: 44

My OCD kicks in when seeing the strings when you completed the mission... For example: "Congratulation !" instead of 'Congratulations!". You should remove all the spaces between the last letter of the sentence and the punctuation mark.

I'd be glad to correct all the grammar mistakes etc. if you like. And also do it for your future missions. Wink Smiley

sphrix
sphrix's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 2011-04-07
Posts: 207

Ah yeah that would be cool :p

but the congratulation, ok for the S : congratulations , but the space, at least in french is needed... congratulations ! ... :p

will contact you in a future for the grammar mistake Smile

the beachs hogs surfin hedgewars

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]