1 (edited by TsFreddie 2014-03-03 12:29:19)

Topic: [MOD]SoloFNG & BoloFNG!!

Hey! Here's TsFreddie!

Edit: 3/3 2014
1.Fix spactate got ban in solo and bolo
2.Fix tick sound make sure it worked in all mode.
3.Disable the "Death Shot"
4.Cancel the jump in the vivid unfreeze tick.

Sorry that I can only provide the source code.
https://github.com/TsFreddie/teeworlds-solofng


Config (it's different from OpenFNG, see the part 2!!, you can also found it in Github):

# SoloFNG - Reference configuration.
#
# Except for sv_name, sv_port and sv_rcon_password, this configuration
# reflects the one used on the SoloFNG Reference Server
#
# It should provide a good configuration to start with.

# --------- Part 1: Vanilla Settings ---------

# <SoloFNG>
sv_name "Yet Another SoloFNG Server"
sv_port 8339

# make sure to not pass around this one
sv_rcon_password "mysecretpassword"

# full-action server
sv_register 0
sv_max_clients 16
sv_spectator_slots 0

# move inactive ppl to spec after 5 minutes
sv_inactivekick 0
sv_inactivekick_time 5

# round ends at teamscore 700 or when one hour passed, whichever comes first
sv_timelimit 60
sv_scorelimit 700

# map cycles through our standard maps starting with openfng5
sv_map "openfng5"
sv_maprotation "openfng4 openfng3 openfng5"
sv_rounds_per_map 1

# disallow kickvote as ppl tend to abuse it
sv_vote_kick 0

#add some votes
add_vote "map openfng3" "sv_map openfng3"
add_vote "map openfng4" "sv_map openfng4"
add_vote "map openfng5" "sv_map openfng5"
add_vote "1 round per map" "sv_rounds_per_map 1"
add_vote "2 round per map" "sv_rounds_per_map 2"
add_vote "3 round per map" "sv_rounds_per_map 3"




# --------- Part 2: feature choosing and gametype settings ---------

# additional feature from 0.5 fng
#  -------------------------------------------------------------
#  - Make "tic" sound when ticking 0-disable 1-local only 2-global
sv_tick_sound 0

#  - Full auto hammer 0-disable 1-enable
sv_super_hammer 0

#  - Make a little jump and happy sound when unfreeze 0-disable 1-enable
sv_vivid 0
#  --Please set these three options on if you like the 0.5 fng--
#  -------------------------------------------------------------

# Gametype!! (Supporting openfng\solofng\boomfng\bolofng [What's a bolofng? It's boom+solo :)])
sv_gametype solofng




# --------- Part 3: (Complete set of) All-type-of-FNG-introduced settings ---------


# ----- Basic Settings -----


# freeze for 10 seconds when hit by laz0r
tune laser_damage 10

# freeze for 10 seconds when hit by grenade
tune grenade_damage 10

# hammering a frozen teammate takes 3 seconds from his remaining freeze time
sv_hammer_melt 3

# freezing an enemy will give +1 player- and +1 teamscore
# sacrificing will give +3 to the sacrificing player and +10 to his team
# sacrificing in a shrine of your enemy's color will take -5 / -1 from p/t
# melting a frozen teammate by hammer will give +1, but no teamscore
# in solofng & bolofng, only used sv_freeze_score, sv_sacr_score and sv_right_sacr_score.
sv_freeze_score 1
sv_freeze_teamscore 1
sv_sacr_score 3
sv_sacr_teamscore 5
sv_wrong_sacr_score -5
sv_wrong_sacr_teamscore -2
sv_right_sacr_score 5
sv_right_sacr_teamscore 10
sv_melt_score 1
sv_melt_teamscore 0

# display plasma texts indicating player score gains when freezing, melting
# by hammer and sacrificing
sv_sacr_loltext 1
sv_freeze_loltext 1
sv_melt_loltext 1

# display a broadcast only when sacrificing
sv_sacr_broadcast 1
sv_freeze_broadcast 0
sv_melt_broadcast 0

# play global ctf flag capture sound when someone is sacrificed.
# (0 would be no sound whereas 2 would be a local sound)
sv_sacr_sound 1

# make a tee 'bleed' when frozen
sv_bleed_on_freeze 1

# allow shooting through frozen tees and teammates
sv_laser_skip_frozen 1 
sv_laser_skip_teammates 1 

# display 'all your base' to indicate the game is coming to an end, as soon
# as there is only 50 score left to gain for a team in order to win
# there is no 'all your base' displayed in solofng & bolofng 
sv_all_your_base 50

# freeze for 6 seconds when sacrificing in wrong colored shrine
sv_punish_wrong_sacr 6



# ----- Advanced Settings -----
# Don't change these unless you know what you are doing.


# after having molten up yourself, be unfreezable for 20 ticks (around 0.4s)
# this gives the same as the auto-jump in original fng, but without
# enforcing a potentially counterproductive jump.
sv_melt_safeticks 20

# for enemies and unfrozen teammates, adjust hammer power to 320% in x-
# and 120% of vanillas power in y-direction so that we get something like 
# a fnglike hammer.
sv_hammer_scale_x 320
sv_hammer_scale_y 120

# for frozen buddies, as we don't want to kick them away too far while
# melting them, we scale down the hammer power to 50% of vanilla strength
sv_melt_hammer_scale_x 50
sv_melt_hammer_scale_y 50

# allow one emoticon every 2 seconds (do not set to 0)
sv_emoticon_delay 2

# make hooking count as interaction only when hooking for longer than 15
# ticks. this avoids noobs scoring by spamming their hooks down a shrine
sv_hook_register_delay 15

# forcefully prevent any entities (like weapons, armor, flags) from spawning
# a good map should not need this setting to be enabled. still it can't hurt
sv_suppress_entities 1

# allow broadcasts to be sent (for instance for scoring)
# default broadcast lifespan is 3 seconds
sv_broadcasts 1
sv_broadcast_time 3

# these two control the size of loltexts, 14 seems to be a good value 
sv_loltext_hspace 14
sv_loltext_vspace 14

# auto-mute on chat spam.
# chat penalty is 250 per message (-1 on each tick)
# if it exceeds 1000, we mute the spammer for 60 seconds
sv_chat_penalty 250
sv_chat_threshold 1000
sv_spam_mute_duration 60

# teh cute!
sv_emotional_tees 1

# ban for 30 seconds then someone leaves while being frozen
sv_punish_ragequit 30

# for now we leave the freeze hammer off:
sv_hammer_freeze 0

# start vote on map extending when there is only 60 seconds left to play, or
# 50 score left to gain, whichever comes first
sv_endvote_time 60
sv_endvote_score 50

# don't change these at all.
# no, really. don't.
# they are adjustable due to their origin as general purpose feature
# branches, however changing these variables would defeat fnglike gameplay.
# they are provided along along with their defaults just for completeness
sv_blood_interval 1 #don't touch me
sv_damage 0 # don't touch me
sv_unlimited_ammo 1 # don't touch me
sv_ninja 0 # don't touch me
sv_def_broadcast "" #don't touch me


# end of configuration

---------------------------All of these things below was outdated-------------------
Edit:8/1:
1.Fix some bug and make it stable.
2.Make the laser thinner.
3.Remake boomfng&bolofng, copy the freeze judge from
Fifi's Boomfng.
4.Anti-Camper & Anti-Spam from
Fifi's Boomfng

I saw IcyPRO's MOD request, then receive another request from Broken.
After done their request, Broken told me the mod is well-liking (in some kind). Then I thought I should mix these feature up and make them better.

So, here comes the  SoloFNG and BoloFNG

This mod is modded from fisted's OpenFNG as you all know and love.
You may want to see the OpenFNG's topic:
Link is here.

All OpenFNG map is compatible with this FNG mod.
So, please view the OpenFNG's topic to get maps and more infomation.

And some feature from Fifi's BoomFNG, here's the topic:
Link is here.

Feature:
Old school feature like ticking sound, full-auto hammer, live animation when unfreezing.
Support OpenFNG and BoomFNG
And the most important: make OpenFNG and BoomFNG be played without team![SoloFNG & BoloFNG]

Download:[Update 8/1]
Windows 32-bit Binary and Config
Source
Config
Linux Binary Coming Soon!

Linux 32 bit[old]
Linux 64 bit[old]

Maps:[Update 8/1]
solofng2
solofng6
solofng8


In Chinese site, click on the button[下载(x.xxM\K)] next to the blue button (Not the blue button!!), then will popup a window, still click on the button[普通下载] next to the blue button*Never click on the blue button*

Thanks to everybody who helped me, including these guys in 0.5 fng help me find out the some details of some features.

Bug is welcome to this topic~ XD.

Greet from China!
Teeworlds Chinese Website

2

Re: [MOD]SoloFNG & BoloFNG!!

Compile errors:
Change in bolofng.cpp

-#include "BoloFNG.h"
+#include "bolofng.h"

Linux 32 bit
Linux 64 bit
Config

3

Re: [MOD]SoloFNG & BoloFNG!!

This is excellent work. I will report any bugs I find.

4

Re: [MOD]SoloFNG & BoloFNG!!

unlimreal wrote:

Compile errors:
Change in bolofng.cpp

-#include "BoloFNG.h"
+#include "bolofng.h"

Linux 32 bit
Linux 64 bit
Config

thx, didn't notice that in windows

Greet from China!
Teeworlds Chinese Website

5

Re: [MOD]SoloFNG & BoloFNG!!

I'm trying to load it, but it won't show up in LAN servers list. I have Arch Linux 64bit, downloaded the 64 bit binary of SoloFNG. Can you help me out?

Here the output:

teeworlds-solofng_srv -f /usr/share/teeworlds/solofng-srv.cfg
[51affb1c][engine]: running on unix-linux-amd64
[51affb1c][engine]: arch is little endian
[51affb1c][storage]: couldn't open storage.cfg
[51affb1c][storage]: using standard paths
[51affb1c][storage]: added path '$USERDIR' ('/home/rafael/.teeworlds')
[51affb1c][storage]: added path '$DATADIR' ('/usr/share/teeworlds/data')
[51affb1c][storage]: added path '$CURRENTDIR' ('/home/rafael')
[51affb1c][console]: failed to open 'autoexec.cfg'
[51affb1c][console]: failed to open 'solofng.cfg'
[51affb1c][console]: executing '/usr/share/teeworlds/solofng-srv.cfg'
[51affb1c][server]: starting...
[51affb1c][datafile]: loading. filename='maps/openfng5.map'
[51affb1c][datafile]: allocsize=1716
[51affb1c][datafile]: readsize=1460
[51affb1c][datafile]: swaplen=1480
[51affb1c][datafile]: item_size=1164
[51affb1c][datafile]: loading done. datafile='maps/openfng5.map'
[51affb1c][server]: maps/openfng5.map crc is 35876c81
[51affb1c][net]: failed to create socket with domain 10 and type 2 (97 'Address family not supported by protocol')
[51affb1c][server]: server name is 'SoloFNG server'
[51affb1c][datafile]: loading data index=13 size=2230 uncompressed=129600
[51affb1c][server]: version 0.6 626fce9a778df4d4

Config file

sv_name SoloFNG server
sv_map openfng5
sv_scorelimit 600
sv_register 0
sv_gametype openfng
Arch Linux users, see packages for some Teeworlds mod here! wink

6

Re: [MOD]SoloFNG & BoloFNG!!

rafael.f.f1 wrote:

I'm trying to load it, but it won't show up in LAN servers list. I have Arch Linux 64bit, downloaded the 64 bit binary of SoloFNG. Can you help me out?

Here the output:

teeworlds-solofng_srv -f /usr/share/teeworlds/solofng-srv.cfg
[51affb1c][engine]: running on unix-linux-amd64
[51affb1c][engine]: arch is little endian
[51affb1c][storage]: couldn't open storage.cfg
[51affb1c][storage]: using standard paths
[51affb1c][storage]: added path '$USERDIR' ('/home/rafael/.teeworlds')
[51affb1c][storage]: added path '$DATADIR' ('/usr/share/teeworlds/data')
[51affb1c][storage]: added path '$CURRENTDIR' ('/home/rafael')
[51affb1c][console]: failed to open 'autoexec.cfg'
[51affb1c][console]: failed to open 'solofng.cfg'
[51affb1c][console]: executing '/usr/share/teeworlds/solofng-srv.cfg'
[51affb1c][server]: starting...
[51affb1c][datafile]: loading. filename='maps/openfng5.map'
[51affb1c][datafile]: allocsize=1716
[51affb1c][datafile]: readsize=1460
[51affb1c][datafile]: swaplen=1480
[51affb1c][datafile]: item_size=1164
[51affb1c][datafile]: loading done. datafile='maps/openfng5.map'
[51affb1c][server]: maps/openfng5.map crc is 35876c81
[51affb1c][net]: failed to create socket with domain 10 and type 2 (97 'Address family not supported by protocol')
[51affb1c][server]: server name is 'SoloFNG server'
[51affb1c][datafile]: loading data index=13 size=2230 uncompressed=129600
[51affb1c][server]: version 0.6 626fce9a778df4d4

Config file

sv_name SoloFNG server
sv_map openfng5
sv_scorelimit 600
sv_register 0
sv_gametype openfng

I actually found this issue. but it's the openfng_win_fix sources bug. I didn't do anything about network.
Just use IP to login, please. Sorry about this.

Greet from China!
Teeworlds Chinese Website

7

Re: [MOD]SoloFNG & BoloFNG!!

Finally! Someone had enough sense to put directions to the download button on non english sites.

And enough sense to make this type of mod, too.

no

8 (edited by Broken 2013-06-08 04:11:34)

Re: [MOD]SoloFNG & BoloFNG!!

For some reason the laser beam is much thicker in this mod... it's very odd looking. Maybe you could make it a normal width again.

Also one of my fngs got "this is a pure server with bad tuning" error, something like that, and it kicks everyone out.

9

Re: [MOD]SoloFNG & BoloFNG!!

here's a working win 32 bit compile if anyone has trouble with the other:
http://s71.uploadbaz.com/files/9/aprhhz … ng_srv.exe
big_smile

10

Re: [MOD]SoloFNG & BoloFNG!!

thanks evil chicken!

11

Re: [MOD]SoloFNG & BoloFNG!!

I thought about everything I might need to remake and rebuild when 7.0 comes out.. and this mod is my favorite mod.

Will you be trying to remake the Bolofng-Solofng etc. mod for 7.0, when possible?

no

12

Re: [MOD]SoloFNG & BoloFNG!!

Lord Kirby [HDP] wrote:

I thought about everything I might need to remake and rebuild when 7.0 comes out.. and this mod is my favorite mod.

Will you be trying to remake the Bolofng-Solofng etc. mod for 7.0, when possible?

I said, this mod is based on OpenFNG, you should ask "fisted"

Greet from China!
Teeworlds Chinese Website

13

Re: [MOD]SoloFNG & BoloFNG!!

Hey Freddie can  you make the extra fat lasers normal width. It looks very odd. ;d

14 (edited by Kirbs 2013-06-11 17:28:19)

Re: [MOD]SoloFNG & BoloFNG!!

Fisted's openfng mod does not contain bolofng, solofng, or boomfng, so this is why I am asking you. Why would I ask
someone else to remake a mod that they never made? In other words, do you think solofng will be made into 7.0?

no

15

Re: [MOD]SoloFNG & BoloFNG!!

He just tweaked fisted's code, Kirby, not wrote it from scratch.

But here's hoping someone steps up when 0.7 comes.

16 (edited by TsFreddie 2013-06-12 03:01:01)

Re: [MOD]SoloFNG & BoloFNG!!

Lord Kirby [HDP] wrote:

Fisted's openfng mod does not contain bolofng, solofng, or boomfng, so this is why I am asking you. Why would I ask
someone else to remake a mod that they never made? In other words, do you think solofng will be made into 7.0?

Okay, just tell you, if Fisted's openfng does, I do.
I can't make any solofng-kind mod without openfng's source.

Greet from China!
Teeworlds Chinese Website

17 (edited by IcyPRO 2013-07-08 13:50:27)

Re: [MOD]SoloFNG & BoloFNG!!

Broken wrote:

This is excellent work. I will report any bugs I find.

Hi. I agree. big_smile
What was your idea to add? I'm wondering cuz I don't see it up there.
Anyway.. I'm happy to see this thread.
---
But there is still one thing that is bugging me since the new OpenFNG - it's the hammer physics.
I'll quote it from the previous message:
*Hammer physics:
- In old FNG, when you hit someone, he got kicked the way you aimed with the hammer. (even toward the ground)
- In OpenFNG hammer works as repeller to the Tee, plus lowest you can kick someone is horizontally.
"coder and he said it's bunch of math those hammer physics...

Thanks to everyone who will try to fix this maybe some day!
(also there are bunch of ideas I would like to add to Teeworld, but because I cannot code things, I can't create anything by myself. It's soo frustrating! But I'm seriously thinking of learning C++)
---
Another thing - I just love this thread, you've added these things so perfectly...

And last question: What do you mean to be able play it without the team? Please explain that to me...

---
Another edit:
I did some testing and I love it. It's so complex. And the SoloFNG idea - that's exactly what I was thinking of. It's awesome!

#  Make "tic" sound when ticking 0-disable 1-local only 2-global
sv_tick_sound 1

Maybe you could add one more option, where you would hear and see the ticking of you allies-only.
To me, that would make the biggest sence.

Broken wrote:

Hey Freddie can  you make the extra fat lasers normal width. It looks very odd. ;d

And lastly this... Yeah.. They're fat baby!

18

Re: [MOD]SoloFNG & BoloFNG!!

IcyPRO wrote:

But there is still one thing that is bugging me since the new OpenFNG - it's the hammer physics.
I'll quote it from the previous message:
*Hammer physics:
- In old FNG, when you hit someone, he got kicked the way you aimed with the hammer. (even toward the ground)
- In OpenFNG hammer works as repeller to the Tee, plus lowest you can kick someone is horizontally.
"coder and he said it's bunch of math those hammer physics...

Refering to:
https://github.com/fisted/teeworlds/blo … les.h#L116
https://github.com/fisted/teeworlds/blo … les.h#L117
You are able to set it as you want: sv_hammer_scale_x and sv_hammer_scale_y

19 (edited by 2013-07-24 21:29:11)

Re: [MOD]SoloFNG & BoloFNG!!

Shahan wrote:

Refering to:
https://github.com/fisted/teeworlds/blo … les.h#L116
https://github.com/fisted/teeworlds/blo … les.h#L117
You are able to set it as you want: sv_hammer_scale_x and sv_hammer_scale_y

Nah.. That's not probably it. It just increases or decreases the hammer power, but doesn't change the fact, that no matter where you aim, hammer will kick them away as a repeller to you tee... =/

Come on. Dead thread, again? It was coming up to perfection!
U say bug reports are welcome here, though you don't do anything about them.

I don't mean to be rude or anything though. Just please, don't let this thread die completely.

20

Re: [MOD]SoloFNG & BoloFNG!!

Up this topic for Update. >_<

Greet from China!
Teeworlds Chinese Website

21

Re: [MOD]SoloFNG & BoloFNG!!

thanks ^^

22 (edited by 2013-08-04 15:55:47)

Re: [MOD]SoloFNG & BoloFNG!!

Broken wrote:

thanks ^^

>_<

IcyPRO wrote:
Broken wrote:

This is excellent work. I will report any bugs I find.

Hi. I agree. big_smile
What was your idea to add? I'm wondering cuz I don't see it up there.
Anyway.. I'm happy to see this thread.
---
But there is still one thing that is bugging me since the new OpenFNG - it's the hammer physics.
I'll quote it from the previous message:
*Hammer physics:
- In old FNG, when you hit someone, he got kicked the way you aimed with the hammer. (even toward the ground)
- In OpenFNG hammer works as repeller to the Tee, plus lowest you can kick someone is horizontally.
"coder and he said it's bunch of math those hammer physics...

Thanks to everyone who will try to fix this maybe some day!
(also there are bunch of ideas I would like to add to Teeworld, but because I cannot code things, I can't create anything by myself. It's soo frustrating! But I'm seriously thinking of learning C++)
---
Another thing - I just love this thread, you've added these things so perfectly...

And last question: What do you mean to be able play it without the team? Please explain that to me...

---
Another edit:
I did some testing and I love it. It's so complex. And the SoloFNG idea - that's exactly what I was thinking of. It's awesome!

#  Make "tic" sound when ticking 0-disable 1-local only 2-global
sv_tick_sound 1

Maybe you could add one more option, where you would hear and see the ticking of you allies-only.
To me, that would make the biggest sence.

Broken wrote:

Hey Freddie can  you make the extra fat lasers normal width. It looks very odd. ;d

And lastly this... Yeah.. They're fat baby!

Laser Fixed. Updated

Greet from China!
Teeworlds Chinese Website

23 (edited by IcyPRO 2013-09-17 21:11:17)

Re: [MOD]SoloFNG & BoloFNG!!

Thanks buddy!

TsFreddie wrote:

Up this topic for Update. >_<

Oh I'm not sure if you added anticamper setting, but is there a way to disable it please? Because it's not good for some of my maps.
Edit: I found the command.

24

Re: [MOD]SoloFNG & BoloFNG!!

Is there any Linux working Linux version? I would like to host a SoloFng on a Linux VServer.

25

Re: [MOD]SoloFNG & BoloFNG!!

BlindC0der wrote:

Is there any Linux working Linux version? I would like to host a SoloFng on a Linux VServer.

I only have windows version and Old linux version. Use the old one or TAKE THE SOURCE and find someone to compile it.

Greet from China!
Teeworlds Chinese Website