1 (edited by Beelzeboss 2009-11-15 23:29:34)

Topic: [REQUEST] Need old-school-flyrace (Hooktime increase?)

Hey everybody!
I think about a comeback to teeworlds, I stopped when 0.5.0 was released. A lot has happened!

Now I want to host a flyway server again with my old maps.
I tried out Flymod (but this is causing me a lot of trouble)
and atm i'm trying to work with [N]Race.

What I need is a flyrace mod like the old one made by scosu.
These features are necessary:
1. Death Tiles
2. Teleporters
3. No-hook-Tiles
4. Standard weaponset
5. instagib-function
6. hook time change (<< very important, cause I would love to set hook time back to 2 secs)

Of course [N]Race can realize 1-4, but:

Is there a chance of adding instagib to it? I can tune laser_damage of course to a high number, but how can I set the laser as default-spawn-weapon and no other. In the old mod i had a command sv_start 0 0 0 0 1. This made spawn only the laser gun.

Anyway, the last point is very imporant to me! How can i increase the time, that you can hook onto another tee, cause the old 2 secs were perfect for the maps i have made...

To make it short:
How can I increase the "hooking-a-tee-time"!
How can I make [N]Race instagib-compatible?

I'm no modder, but if it is only possible by workin on the mod, then i would be very very pleased if someone could add these options!



Greetings
Beelzeboss smile

2

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

do you want only with normal gametypes (dm, tdm, ctf), or do you want also a race gametype with best times and ranks.

3

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

I want it especially for the flyway maps I made, so its kind of CTF
real race, with time and rank is not necessary! I prefer flying through spikemaps grabbing a flag and fighting in the air.  smile

On the old version i always used scosus modpack for my maps: http://allfex.org/index.php?site=16&language=en

But since version 0.5.x i have the shortened hooktime problem, so that i cant have my server oldschool.

I made a list what a perfect dream - mod (for me) should be able to:

1. Death Tiles
2. Teleporter (9-24)
3. No-hook-tiles (which tees cannot pass, like walls)
4. NO-Hook-tiles (which tees can pass (like invisible non-hook-clouds)
5. instagib function (tuning of weapons, health, startweapons etc)
6. Powerups on or off
7.I read about mapspecific configs for [N]Race.. Nice !!!
8. spawnprotection
9. hooktime change (!!!!) smile
10. 1 point for pulling an enemy into spikes (or shooting him into spikes for example with grenades)
11. -1 point for selfkill / teamkill
12. possibility to switch powerups on and off
13. 15 points for the player that capured the flag
14. Spamprot, kick, ban
15. vote enable disable

and BONUS:
16. maybe integration of the old football mod
17. maybe integration of the old Dummy Draggin mod
18. maybe integration of the old Flagball mod

19. I bet, I forgot many other things big_smile


It would be the perfect mod i think, but I don't expect anyone to do this for me. But I'm writing all this, because maybe some of you modders will be bored one day and i can have my old server online smile

Most of the mods allrdy released fullfill a lot of these points, but there are also important points missing.

(i guess [N]Race is very close to the dreammod)

Thanks for reading my (dirty) teeworlds fantasies big_smile

4 (edited by Bobynator 2009-11-17 13:05:58)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

ok iam working on the mod, but point 16,17,18 is to much work. But if you want to play Dummy dragging then look at my mod "Dummy Drag 0.3". Its a remake of the old dummy dragging.
Question: is point 6 and 12 the same?

5 (edited by Slayer *gV* 2009-11-17 19:26:07)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

1. Death Tiles
2. Teleporter (9-24)
3. No-hook-tiles (which tees cannot pass, like walls)
4. NO-Hook-tiles (which tees can pass (like invisible non-hook-clouds)
5. instagib function (tuning of weapons, health, startweapons etc)
6. Powerups on or off
7.I read about mapspecific configs for [N]Race.. Nice !!!
8. spawnprotection
9. hooktime change (!!!!)
10. 1 point for pulling an enemy into spikes (or shooting him into spikes for example with grenades)
11. -1 point for selfkill / teamkill
12. possibility to switch powerups on and off
13. 15 points for the player that capured the flag
14. Spamprot, kick, ban
15. vote enable disable

  1. default /included
  2. included
  3. default
  4. will try this  //need help with the col_gets... -.-"
  5. included
  6. default
  7. included
  8. included
  9. included
10. included
11. included
13. included
14. spamprot. with muting
15. included

maybe you want wait for the release of my v2?^^

6

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

Oh, yes 6 and 12 are the same... my bad!

Thank you dear modders for helping! I will give you all my credits!

@Bobynator:
Yes, 16-18 is just like bonus, not necessary. Dummy draggin is great, will use your mod then as well! smile



@Zeratul,
Ok Zeratul, then your flymod includes many points allrdy! When I was playing with it i had no idea of how to switch weapons back to default, though i read your detailed command-text-file. And the hooktime change is included in your new version right?
Point 7: I read about in the deatils of [n]race on a german page about it. It says that when a map changes, the settings may also change if you want. for example: You play a map on default settings, and when it switchs to another it automatically makes an instagib match for this map. But this is another Bonus helping to be lazy! Not that important smile As you wished i added you in icq! Did you got my request?

to point 4: I remember in the old days, there were only these passable no-hook-times... I made some startpoint-areas unhookable so ppl could not annoy each other etc.

Greetings Beelzeboss

and once more thank you all (well both of you smile) for your help!

7 (edited by Slayer *gV* 2009-11-17 19:27:43)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

yes i know point4^^

to point7: now i know what you mean^^ as my mod is build on nrace (but some bugs are fixxed..^^) it includes this feature too^^

flymod1 was only kinda warmup for me, to learn c++ and the teeworlds-source wink

the hooktime-changing is a strange thing for me, coz i had to fool the server with a second timer and a new variable ö.Ö....however, you can change it now to this time you want with a tuning smile



EDIT: #10.: shall i decrease the points of the teammate if he teamkilled the player?

8

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

Yes... killing teammates = -1
         killing enemies = +1

no matter how (with weapons, or pulling someone into spikes, or shooting him into spikes)

Ok, looking forward to finally feel the oldschool-hooktime big_smile

9 (edited by Bobynator 2009-11-19 13:52:39)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

ok here is it!
first to your points:
1. Death Tiles are Default
2. I added 25 Teleports
3. Nohook Tiles are Default
4. I added Nohook Tiles which Tee can pass
5. Instagib is now avaible with sv_instagib
6. The normal sv_powerup sets only the ninja on/off. Now you can enable/disable with them the weapons, healt, armor
7. Now there are mapspecific settings available. Create a cfg file in data/maps with the name of the map. like ctf5.cfg. Now write all settings which you want in it.
8. for spawnprotection use sv_spawnprotection
9. hooktime change: tune player_hook_time
10. If you hook someone into deathtile you get a point
11. -1 point for selfkill is default
12. see point 6
13. You get 15 points for capture the flag
14. Spamprot, kick, ban is default
15. vote enable disable is default

OK here are all new settings:

Settings:
Setting|Default|Min|Max|Description
sv_regen             0, 0, 0 |Set regeneration of health(set 1 to regenerate you health verry fast)
sv_strip             0, 0, 1 |Enable or disable keeping weapon after teleporting
sv_infinite_ammo         0, 0, 1 |Enable or disable infinite ammo
sv_teleport         0, 0, 1 |Enable or disable teleportation
sv_teleport_grenade     0, 0, 1 |Enable or disable teleport of grenade
sv_teleport_kill         0, 0, 1 |Teleporting one someone kills him
sv_rocket_jump_damage     1, 0, 1 |Enable or disable rocket jump damage
sv_pickup_respawn     1, 0, 10 |Time before a pickup respawn
sv_speedup_mult         10, 1, 100 |Boost power by multiplication
sv_speedup_add         0, -100, 100 |Boost power
sv_jumper_add         0, -100, 100 |Jumper power
sv_instagib         0, 0, 1 |Enable or disable instagib
sv_spawnprotect_time     1000, 0, 10000 |Time of spawnprotection

sv_start_weapon "hammer gun" |startweapon
here example for all weapons : sv_start_weapon hammer gun laser shotgun grenade 

Tuning:
player_hook_time (default: 1.25)

Commands:
teleport <id1> <id2> |Teleports id1 to id2
teleport_to <id> <x> <y> |Teleports id to the xy corrdinate
get_pos <id> |Gets positon of a player
kill_pl <id> |Kills a player

Gametype:
flydm
flytdm
flyctf
flyrace

here the entities for mapping: http://file1.npage.de/002952/75/bilder/entities_fly.png
here the srv file for windows 32bit: http://www.file-upload.net/download-202 … v.exe.html

Sample Configs

Instagib:
sv_start_weapon laser
sv_infinite_ammo 1
sv_instagib 1
sv_powerups 0

I hope you like it. mfg boby

10 (edited by Slayer *gV* 2009-11-18 14:15:33)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

lol bobynator...maybe you can change the shown gametype as my mod which was made much earlier use this

however i would like to take a look into your source, or maybe you can help me with #4?

11

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

@zeratul
if you got a good gametype name i will change it.

source:
http://www.file-upload.net/download-201 … e.rar.html
its not the best codest source but it works.

12 (edited by Slayer *gV* 2009-11-18 15:01:26)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

maybe you can help me with the entities coz i cant get it working?





hmm i cant undestand your spawnprotection:

chr->player->spawn_tick = server_tick() + (float)server_tickspeed() * ((float)config.sv_spawnprotect_time / 1000.0f);

i made it in this way:

// protect the player against spawnkillers
        int64 now = time_get();
        int64 timeleft = player->spawnprotection_tick + time_freq()*(config.sv_spawnprotection+config.sv_respawn_delay) - now;

        int64 now1 = time_get();
        int64 timeleft1 = game.players[from]->last_spawnprotection_tick + time_freq()*1 - now1;
        if(timeleft > 0 && from != player->client_id && timeleft1 <= 0 && timeleft != config.sv_spawnprotection)
        {    
            char chatmsg[512] = {0};
            game.players[from]->last_spawnprotection_tick = now;
            if(game.players[from]->language == 1)
                str_format(chatmsg, sizeof(chatmsg), "Target is spawnprotected for %d seconds", (timeleft/time_freq())+1);
            else
                str_format(chatmsg, sizeof(chatmsg), "Ziel ist spawngeschützt für %d Sekunden", (timeleft/time_freq())+1);
            game.send_chat_target(game.players[from]->client_id, chatmsg);
        }

it may looks a bit strange but it works^^

__________

did i missunderstand the spawnprotection?^^

13

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

oh sorry there was a bug in spawn protection. XD
new win32 srv: http://www.file-upload.net/download-202 … v.exe.html
new source: http://www.file-upload.net/download-202 … e.rar.html
and i added two new features:
-if you bounce someone with your body into death tile you get a point
-if you hit someone with the grenade into death tile you get also a point.

14 (edited by Beelzeboss 2009-11-19 21:17:46)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

Thank you a lot! *very happy* I will check your mod out NOW smile and give you a feedback after testing it.


OK, tested it!

And its ....... AWESOME smile great, I can change the hook time etc <3 So thank you so much, its awesome, all my credits belongs to you!

But i found some things which need a little change to make it 100% perfect!

1. the hook-kill-count is only working, when my hook is attached to the enemy. If i pull him, stop hookin and let him fall, i do not get the kill... it would be great to have a timing like 3 seconds... u grab... he falls ... and when he hit the spikes in 2-3 secs, you will get the kill. I hope you understand what i mean. It was like this in the old versions. As extra: Maybe an option to change the time for how long you would get the kill.

Edit: (the same with weapon-to-spike-kills, when i shoot a grenade at someone at he falls because of it into spikes)

2. sv_instagib changes the damage like (tune laser_damage xx). It would be awesome if you can make it this way:

If you type sv_instagib 1   --u change--> sv_infinite_ammo 1, sv_powerups 0, and of course the laserdamage!
(just for being lazy big_smile)

3. I dont know why, but the "teleport x y", "kill x" etc commands do not work sad maybe i'm doing something wrong?

EDIT 2:
I have forgotten 1 point! The option to turn on of off wether a flag returns to the base after it felled into a deathtile! Sometimes its fun to get a map out of the spikes! smile so this option would be great like sv_flag_return 1, 0


I havent tested the tiles for mapping yet, but i will soon!
EDIT 3: The nohook tiles work perfect! Awesome smile

EDIT 4:
All right, bobynator, your mod and work for me motivated me to work on my maps. I repaired all my maps, so they work perfect with your mod. I will release a zipped map-pack. In this zip-file should  be your mod as well, so if you're going to edit it, I will wait. If your not going to edit it anymore, tell me and give me a name for your mod! (my proposal: bob's flyway-mod) smile



Greetings

and DUDE, THANK YOU SO MUCH! Awesome!

Beelzeboss

15

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

Beelzeboss wrote:

2. sv_instagib changes the damage like (tune laser_damage xx). It would be awesome if you can make it this way:

If you type sv_instagib 1   --u change--> sv_infinite_ammo 1, sv_powerups 0, and of course the laserdamage!
(just for being lazy big_smile)

This can be solved without editing the source code. Just make a instagib.cfg file and instead of typing sv_instagib 1, type exec instagib.cfg wink

Goodbye all. Account inactive since March 2011.

16

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

if you want i can give you a alpha of my mod, then you can compare the mods and maybe find more suggestions wink

17

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

Beelzeboss wrote:

Thank you a lot! *very happy* I will check your mod out NOW smile and give you a feedback after testing it.


OK, tested it!

And its ....... AWESOME smile great, I can change the hook time etc <3 So thank you so much, its awesome, all my credits belongs to you!

But i found some things which need a little change to make it 100% perfect!

1. the hook-kill-count is only working, when my hook is attached to the enemy. If i pull him, stop hookin and let him fall, i do not get the kill... it would be great to have a timing like 3 seconds... u grab... he falls ... and when he hit the spikes in 2-3 secs, you will get the kill. I hope you understand what i mean. It was like this in the old versions. As extra: Maybe an option to change the time for how long you would get the kill.

Edit: (the same with weapon-to-spike-kills, when i shoot a grenade at someone at he falls because of it into spikes)

2. sv_instagib changes the damage like (tune laser_damage xx). It would be awesome if you can make it this way:

If you type sv_instagib 1   --u change--> sv_infinite_ammo 1, sv_powerups 0, and of course the laserdamage!
(just for being lazy big_smile)

3. I dont know why, but the "teleport x y", "kill x" etc commands do not work sad maybe i'm doing something wrong?

EDIT 2:
I have forgotten 1 point! The option to turn on of off wether a flag returns to the base after it felled into a deathtile! Sometimes its fun to get a map out of the spikes! smile so this option would be great like sv_flag_return 1, 0


I havent tested the tiles for mapping yet, but i will soon!
EDIT 3: The nohook tiles work perfect! Awesome smile

EDIT 4:
All right, bobynator, your mod and work for me motivated me to work on my maps. I repaired all my maps, so they work perfect with your mod. I will release a zipped map-pack. In this zip-file should  be your mod as well, so if you're going to edit it, I will wait. If your not going to edit it anymore, tell me and give me a name for your mod! (my proposal: bob's flyway-mod) smile



Greetings

and DUDE, THANK YOU SO MUCH! Awesome!

Beelzeboss

Ok thanks
i will change all these points.

18 (edited by Beelzeboss 2009-11-20 15:49:16)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

@ khubajsn
oh lol, well that's the prove that i totally do not now how this game works big_smile I maybe can play it, and create maps, but working with settings, programming etc... oh dear! Thanks for your hint! smile

Sure Zeratul, you had work on it now too, so I will of course check it out!

@Bobynator
great, just great! smile

ok, i have 1 more stupid question, but i guess you do not have to mod it to make the chances... how do I tune the hammer? It's also tweaked, I prefered the old hammer smashing ppl high (without causing too much damage).

tune laser_damage tune laser_reach << ok, i know these, but are they also available for hammer or does it need another modification? I want to be able to tune em back to normal. Sry I'm writing this so late, but i figured out that they have changed the important hammer as well during playing at night

EDIT:
And because I'm playing on my new server right now and ppl offend other people i would like a MUTE-Function! smile So I do not have to kick em immediatly hehehe

EDIT2:
Oh, and is there a command like "next_map"?
and like wether the flag shall return after it fells into deathtiles?

@bob I found a little display-bug. When somebody is pushed into spikes with the body, the "kill-display" shows the killing tee would have the flag, though it does not have, but this bug is definitly not worth to mention it big_smile

PS: Hope you will enjoy my new map flyway2comeback

Greetings Beelzeboss

19 (edited by Slayer *gV* 2009-12-12 11:34:35)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

ok i will write you a extra-command for you beelze, which changes all settings to your wanted wink. i will upload the srv.exe with the settings for you i changed with "your" command..


EDIT: <Link Removed>
Here we go!
Pls don't forget that im working on it, its only a alpha version.
Commands 4 u wink:

[color=red]OUTDATED![/color]
sv_beelze_fly                  Turns your settings to on
tune hammer_power            Tunes the power of the hammer (how far the enemy will "fly" away
tune player_hooking_time    Tunes the time-decreaser for the player-hooking-time (3 = old time [ (pi + pi) : player_hooking_time = time ] --> old time = 1.5s :P )
sv_deathtiles_size            Change the sizes for the deathtiles (3 = old, 2 = 0.5.x)
sv_flagcap_teamscore        Tunes the score the team gets for cap the flag
sv_instagib                    Turns the instagib to on | off
sv_start_<weapon>            Have the weapon <weapon> on spawning or not (f.e: sv_start_hammer 1)
sv_start_<weapon>_ammo        Tunes the ammo of the <weapon> (f.e: sv_start_hammer_ammo -1)
sv_active_weapon_<weapon>    <weapon> is the active weapon after spawning?
sv_last_weapon_<weapon>        <weapon> is the last weapon after spawning? (f.e: instagib: sv_active_weapon_laser 1, sv_last_weapon_laser 1)
sv_powerups                    Tunes the powerups to on | off
sv_remember_attacker        Remembers who attacked him so he died coz of deathtiles
sv_remember_attacker_time    Time the server will remember the attacker
sv_vote_option                Turns the votes for options to on | off
sv_vote_option_time            Time before you can call a new vote after failing
sv_vote_option_runtime        Time a called vote will run
sv_nopublicchat                No publicchat is allowed
sv_nospectatorchat            Spectators cant use the publicchat
sv_noteamchat                No teamchat is allowed
sv_authed_admins            Tunes the admin-limit (1 = only 1 admin is allowed)
sv_authed_gameops            Tunes the gameop-limit (...)
sv_flagreturn_deathtiles    Flag gets|gets not returned if it hits a deathtile
sv_hammer_damage            Tunes the hammer damage
sv_hammer_ammo_regen        Tunes the ammo-regen time (default: -1 --> always full)
sv_hammer_reload            How fast the hammer reloads...



change_map <mapname>                Changes the map to <mapname>
change_map_in <seconds> <mapname>    Changes the map in <seconds> seconds to <mapname>
restart <seconds>                    Restarts the round in <seconds> seconds
reload                                Reloads the map (also possible: sv_map_reload)
reload_in <seconds>                    Reloads the map in <seconds> seconds
ssd <seconds>                        Shutdowns the server in <seconds> seconds
abort_vote                            Aborts the running vote
vote yes|no                            Vote passed|failed
no_callvote    <id>                    Player <id> can't call votes anymore
can_callvote <id>                    Player <id> can call votes now
broadcast
broadcast_pl <id>                    Broadcast only to this player
say
whisper <id>                        Says only to this player
teleport <id1> <id2>                Teleports the player <id1> to <id2>
teleport_to <id> <x> <y>            Teleports the player <id> to <x> <y>
go_to <id> <+x> <+y>                Teleports the player <id> to <+x> <+y>
get_pos <id>                        Gets the current pos of this player
set_team <id> <team>                Sets this player to red (team = 0), blue (team = 1), spec (team = -1)
mute <id> <time>                    Mutes this player for <time> seconds
unmute <id>                            Unmutes this player
kick <id> <?r>                        kicks this player with the reason <r>, can be left
wlist_add <id>                        Adds this player to the whitelist
wlist_remove <id>                    Removes this player from the whitelist
wlist_check <id>                    Checks if this player is whitelisted
wlist_show                            Shows the whitelist

I guess these commands are the most interesting one for you.
If you want to see the other ones: Download


Also important might be:
sv_gametype:
        dm -> DeathMatch
        tdm -> TeamDeathMatch
        ctf -> Capture The Flag
        race -> Race..^^
        ifrzctf -> Instagib Freeze Capture The Flage
        ifreeze -> Instagib Freeze
        freeze -> Freeze (Gametype = dm|tdm|ctf|race


Features implemented:
New weapons: KNIFE, PLASMA
Spamprotection (with mute, kick, ban)
Teamkill-Kick (with ban if wanted)
Teamchange (time-limit, with kick, ban)
Ticket-System
Chatlogs
Whitelist
Dbg_Msg tuning (You can turn senseless rcon-messages to off (to clean it up...)
Sound tuning (You can turn sounds off if wanted)
Vampire-Instagib (Only laser, hit = -1 damage, +1 health, starthealth = 1)
catch
Powerups-System (for killingsprees, flagcaps)
-->Killingsprees
Anticamper
Inactivity-Kick
Stats with save
Referees
Badword-List (with mute, kick & ban will be implemented)
Chatcommands (just4fun..^^)
Playercommands (f.e:start_weapon -> change start-weapon if allowed...)
Samemessages-filter (is this english?^^, same messages wil be blocked)
Dummys to check the settings (for devs!)
Rainbow-Colors (for admin, gameops, referees, all (-->settings)
Admin-Stars (looks good, but crap for gameplay...)
Limit for rcon-logins for Admins and Gameops
Events (after x seconds a event will come which changes something)
Chat-Control with sv_nopublicchat etc
vanilla
instagib
fly
race
freeze
watermod
Drop active weapon
Weapon tunings
Hook = weapon
Regeneration
Random pickup-spawning-time (just4fun)
critical hits-system
Flagcap-bonus (Powerups the weapons (reload, regen)
playerkill-bonus (x kills = more max-health etc)
and much more tunings

20 (edited by Beelzeboss 2009-11-27 16:57:47)

Re: [REQUEST] Need old-school-flyrace (Hooktime increase?)

Hey, sorry, I was gone for a few days!

Thx Zeratul, i will test your mod as well! smile looks like it has a lot of possible settings!

@Boby
I re-made all my maps with your mod. Do you have the updated version allrdy done? Cause you told me in-game about it, if i remember it correctly!
Thx smile

EDIT: So, i have Bobys flyway-mod, i have zeratuls modpack, and suddenly i cannot host anymore!? WTF. console is telling me ppl cant join i have to configure firewall / NAT settings... but come on, i know how to open ports, set firewall etc, and last week everything runned perfect... So i have to fix this problem (though I don't know how atm), then my mappack will be released (damn i have 3 news maps, but no server anymore -.-)

Greetings
Beelzeboss