Author Topic: Strategus changelog / formulas:  (Read 7388 times)

0 Members and 3 Guests are viewing this topic.

Offline chadz

  • The lazy
  • Supreme Overlord
  • *******
  • Renown: 3188
  • Infamy: 724
  • Sir Black King A Gentleman and a Scholar
    • View Profile
  • Faction: irc://
  • IRC nick: chadz
Strategus changelog / formulas:
« on: October 11, 2011, 06:48:48 pm »
+7
Ok, let's see.. formulas:
troop upkeep for heroes:
ceil((pow($troops, 1.03) * 2.5 - 100)/24)
troop upkeep for locations:
ceil((pow($troops, 1.02) * 1 - 100)/24)

faraway goods bonus:
round(pow($distance_percent*100, 1.26)-80)

movement speed:
$speed = (0.25 * ($terrain['speed']/100));
$troop_influence = (pow($troops, $terrain['troops_influence']/200)/100); #capped at 0.99
$speed = $speed * (1-$troop_influence);

terrain look distance:
(distance_in_pixel/(($my_geo['look_out']/100)*($other_geo['look_in']/100)) < 100 )

terrain:
http://strategus.c-rpg.net/geo_calradia.png


movement table:
color
name
speed

troops_influence
look_out
look_in
000080Sea010025050
22b14cPlains100100100100
c3c3c3Hills60100140140
ffffffSnow Plains70100100100
003e00Plain Forest601107020
008080Snow Forest501107030
535353Mountains30140200120
00a2e8River0100100100
96924fSteppe100100100100
697801Steppe Forest701108040
000000Cliffs0100100100
f000ffRoad18010040170
fff200Desert100100100100
53a600Desert Forest801109050
b45e34Bridge1015010030







« Last Edit: October 11, 2011, 06:57:06 pm by chadz »

Offline LLJK_Korea1

  • Knight
  • ***
  • Renown: 30
  • Infamy: 25
  • cRPG Player
  • What of it?
    • View Profile
  • Faction: LLJK
Re: Strategus changelog / formulas:
« Reply #1 on: October 11, 2011, 07:19:03 pm »
0
ok thats cool
PROUD CITIZEN OF PEOPLE'S REPUBLIC OF LLJK

visitors can't see pics , please register or login

Offline Damug

  • Noble
  • **
  • Renown: 21
  • Infamy: 15
  • cRPG Player
    • View Profile
Re: Strategus changelog / formulas:
« Reply #2 on: October 11, 2011, 07:20:35 pm »
0
Is it intentional that it's 3 times quicker to cross a mountain range than to walk across a bridge?

Offline Erasmas

  • Earl
  • ******
  • Renown: 483
  • Infamy: 138
  • cRPG Player Sir Black Bishop A Gentleman and a Scholar
  • The crows had come
    • View Profile
  • Faction: Grey Order
  • Game nicks: Erasmas_the_Grey
Re: Strategus changelog / formulas:
« Reply #3 on: October 11, 2011, 07:25:13 pm »
0
Lovely... thx.

Hold on... ROADS? No roads on the map as far as I can see...  :D Nice one  :D
« Last Edit: October 11, 2011, 07:31:01 pm by Erasmas »
visitors can't see pics , please register or login

Offline Flawless

  • Baron
  • ****
  • Renown: 80
  • Infamy: 28
  • cRPG Player
  • Cavalieres Co-Founder and Commander
    • View Profile
  • Faction: Cavalieres
  • Game nicks: Cavalieres_Flawless and Cavalieres_Undead
Re: Strategus changelog / formulas:
« Reply #4 on: October 11, 2011, 07:36:43 pm »
0
Im hoping its a future add on.

Offline Jarlek

  • King
  • **********
  • Renown: 1173
  • Infamy: 307
  • cRPG Player Sir White Pawn A Gentleman and a Scholar
  • The walking wiki
    • View Profile
  • Game nicks: Jarlek_The_Blue, Jarla, Jarlen, Jarler, Jarlec, Jarled OH GOD ALL THESE ALTS
  • IRC nick: Jarlek
Re: Strategus changelog / formulas:
« Reply #5 on: October 11, 2011, 07:40:05 pm »
0
Fuck yeah, roads! Can I build them in Stronghold mode, pretty please with sugar on top?
This game isn't about being skillful as much as its about saying things in general chat that enrage people who then go to murder you but in their rage they make dumb mistakes which gets them killed.
In memory of Jarlek_zeh_Blue, ruler of Ilvia

Offline Bjarky

  • Earl
  • ******
  • Renown: 352
  • Infamy: 31
  • cRPG Player A Gentleman and a Scholar
  • U got gold? I bring tea, silk, hemp, camels +more!
    • View Profile
  • Faction: Caravan Guild (Leadership member)
  • Game nicks: Guard_BD_Bjarky, Guard_the_Lederhosen
  • IRC nick: bjarky
Re: Strategus changelog / formulas:
« Reply #6 on: October 11, 2011, 07:42:19 pm »
0
start building 'em roads.
uh, somebody make a "Bob the builder" clan heh  :P

Offline dynamike

  • King
  • **********
  • Renown: 1212
  • Infamy: 187
  • cRPG Player A Gentleman and a Scholar
  • Let's be friends again?
    • View Profile
    • The Remnants Clan Website
  • Faction: Stratia
  • Game nicks: Remnant_dynamike
Re: Strategus changelog / formulas:
« Reply #7 on: October 11, 2011, 08:24:32 pm »
0
Desert should have lower speed for realism purposes. I suggest the same as snow: 70

Also, thanks for the changelog <3
For while the fire in the heart of a single Remnant still burns... can Stratia truly have fallen?

Offline Malaclypse

  • King
  • **********
  • Renown: 1299
  • Infamy: 146
  • cRPG Player A Gentleman and a Scholar
  • In girum imus nocte et consumimur igni.
    • View Profile
Re: Strategus changelog / formulas:
« Reply #8 on: October 11, 2011, 08:30:23 pm »
0
What do the look out/look in values denote?
You think you're pretty smart with your dago mustache and your greasy hair.

Offline 22nd_King_Plazek

  • Baron
  • ****
  • Renown: 87
  • Infamy: 57
  • cRPG Player
    • View Profile
Re: Strategus changelog / formulas:
« Reply #9 on: October 11, 2011, 09:10:34 pm »
0
I should hope and imagine that they are viewing distances :)

Offline Siiem

  • Heretic
  • Duke
  • *******
  • Renown: 611
  • Infamy: 129
  • cRPG Player A Gentleman and a Scholar
    • View Profile
Re: Strategus changelog / formulas:
« Reply #10 on: October 11, 2011, 09:49:34 pm »
+1
I want waypoints!

Offline PhantomZero

  • Earl
  • ******
  • Renown: 384
  • Infamy: 53
  • cRPG Player
  • I'm going to need you playing at 6AM on Saturday..
    • View Profile
  • Faction: BIRD CLAN
  • Game nicks: POSTMASTER_PHANTOM0_OF_BIRD
  • IRC nick: PhantomZero
Re: Strategus changelog / formulas:
« Reply #11 on: October 12, 2011, 12:30:42 am »
0
Upkeep is still per day right?
visitors can't see pics , please register or login

Offline Earthdforce

  • Earl
  • ******
  • Renown: 391
  • Infamy: 150
  • cRPG Player
    • View Profile
  • Game nicks: Earth_Geodude_da_Defender, _RageThrower
  • IRC nick: Khalestimo#7613
Re: Strategus changelog / formulas:
« Reply #12 on: October 12, 2011, 12:39:55 am »
0
Lovely... thx.

Hold on... ROADS? No roads on the map as far as I can see...  :D Nice one  :D
Im hoping its a future add on.
Did chadz not say that roads well be able to be built? (like, between fiefs) I coulda sworn I read that somewhere.
visitors can't see pics , please register or login

Offline Dehitay

  • Baron
  • ****
  • Renown: 121
  • Infamy: 48
  • cRPG Player
    • View Profile
  • Faction: Fallen Brigade
Re: Strategus changelog / formulas:
« Reply #13 on: October 12, 2011, 12:50:53 am »
0
Thanks for the documentation. This was really desired and is really helpful.

But I have to ask. Just looking at the code you gave, it seems possible to walk into a sea, river, or cliff pixel and be eternally stuck till the end of days. Is there a warp back to non-zero movement land if you actually land on zero movement land? This could explain why it seems like there's 12 people stuck on the cliff around Tulbuk

What do the look out/look in values denote?
These values are used in the formula to see how far you can see other people from where you are

Offline caki

  • Noble
  • **
  • Renown: 11
  • Infamy: 1
  • cRPG Player
  • Diplomat of The Turks'
    • View Profile
  • Faction: The Turks
  • Game nicks: Kapikulu_caki, Kapikulu_caki_pokemon, Kapikulu_caki_cavcav, Kebapci_Abuzittin_Usta
  • IRC nick: cakican
Re: Strategus changelog / formulas:
« Reply #14 on: October 12, 2011, 05:58:15 am »
+1
You are surprising me :D Thanks, this is helpful.