Other [SoBG] Settlers

Ajdija

New Member
Reaction score
3
Settlers
SoBG = Simulation of Board Game
Map creator: Ajdija
Leaderboard: Ajdija
Multiboard: HydraRancher
All other: Ajdija
Settlers Map Forum

----------------------------------------------------------------------
edit #18 July 2009 | 7:07 PM -> GMT+2 (polish time)
----------------------------------------------------------------------
1.1

Download from there:
DOWNLOAD


----------------------------------------------------------------------
edit #14 July 2009 | 11:46 AM -> GMT+2 (polish time) -> Added spoiler to every pic/screen in this topic.
----------------------------------------------------------------------

----------------------------------------------------------------------
edit #13 July 2009 | 8:35 PM -> GMT+2 (polish time)
----------------------------------------------------------------------

1.0 First Version

Download from there:
DOWNLOAD

Changelog:
-> Added Docks (lower exchange rate)
-> Changed completly resource reward system + removed long waiting for rewarding resources after first round.
-> Changed Island shape. Added © icons. "Settlers 1.0" string.
-> Upgraded and fully complited resource rewarding notifications.
-> Changed loading pic
settlers10preview.png

----------------------------------------------------------------------
edit #12 July 2009 | 12:29 PM -> GMT+2 (polish time)
----------------------------------------------------------------------

Beta 1.8

Download from there:
DOWNLOAD


---> I still working on map and I planning to include docks ( docks lower exchange rate for owners )

----------------------------------------------------------------------
edit #10 July 2009 | 4:06 PM -> GMT+2 (polish time)
----------------------------------------------------------------------

Beta 1.6

Download from there:

DOWNLOAD

----------------------------------------------------------------------
edit #10 July 2009 | 3:22 PM -> GMT+2 (polish time)
----------------------------------------------------------------------

Beta 1.5

Download from there:

DOWNLOAD

----------------------------------------------------------------------
edit #10 July 2009 | 10:52 AM -> GMT+2 (polish time)
----------------------------------------------------------------------

First Beta Released

Edit: Fixed multiboard problem from last night + probably problem with kicking system.

Download from there: [thehelper.net attachement]

View attachment Settlers 1.4b.w3x

Here first time played map on lan with my brother! Replay:

View attachment 32415

Everybody enjoy, test, post comments, report bugs, problems etc.


Note: If you're realy able to open this map, pls don't change a Author to your own take a look only to improve your skills. If you want to make mod, new version etc Just keep Author as Ajdija and Mod author as you.
Thx!

I also changed mistake in loading pic:
beta2.png

------ Thanks to ------

Switch33
asipo
Komaqtion
Accname
www.thehelper.net


------ Production History ------

----------------------------------------------------------------------
Orginal Post:
----------------------------------------------------------------------

I planning to create a popular board game Settlers of Catan in Warcraft 3 world.

I'm not going to work in team. I want to work alone when I got free time. I don't know when I complite project. ( never is also possible )

I create topic to show every part of creating map almost every bigger step etc.

So..

Main condition:
- Game base on typical Settlers of Catan boardgame rules. (only on Settlers, not on Knights or Sailors of Catan.)
- Game going to have only one board type -> only one shape.
- Every of resource shape will have every game different number.
- Game will be round.
- Game going to simulate rolling dice.
- Game going to have 5 types of resources ( as custom creatures called by resource name ).
- Game going to have same cost of building/etc as in Settlers Of Catan.
- Game won't have 'special cards' etc and any type of cards from game for resources.
- Game will probably include smth work as 'Thief' from boardgame.
- Game going to be for 4 players max.
- Winning condition: collecting 10 points.
- Game going to have stat board showing current players and their points.
- Game will allow you to have 4 towns and 5 villages like in boardgame.
- Villages going to be able to transform into Towns.
- Points system:
-> Town: 2 points
-> Village: 1 point
(Game won't have smth as 'longest road card')
- Game will include 'Settlers' on main board to build villages, towns and roads.
- Game going to be full free and I'll work on it also for free.

---- That condition going to change with time.

Topic:
- I will show from time to time how map looking.
- I will show first beta-s (if I'll up to) in this topic.
- I will request to forum members for help ( if I can't find anything by google / this forum and others, to help me ) in this topic.
- I thanks for every opinion, post, help.
- I going to include 'Thanks' list slowly appearing every map start with nicks from this forum of every guy who helped me.

* I sorry for my (imo) bad english. Hope you will understand all.

----------------------------------------------------------------------
edit #30 June 2009 | 7:00 AM -> GMT+2 (polish time)
----------------------------------------------------------------------

Loadin Screen is ready:

settlers_ingame.png

What I have:

-> Start locations.

-> Pre design of map board. (general view)

-> Settler - Custom unit to build settlements and roads. (Human standard Farmer skin)

-> Settler is able to build settlement yet.

-> Settlement/Town view (= human base - standard skin)

-> Ubgrade to Town from settlement

-> 'gameboard' region and regions where can be town/settlement

-> Settlers creating trigger.

-> No - fog of war / unvisible parts of map - trigger.

-> Idea of map.


----------------------------------------------------------------------

Project gallery:
http://s616.photobucket.com/albums/tt243/Ajdija/Settlers - Warcraft 3 map/
 

Ajdija

New Member
Reaction score
3
First ( very lame board ) view
firstboard.png

real board view:
catan_board.jpg

-----------------------------------------------------


I think:
- Towns / Villages will be on road croses, roads will be there where is no grass now (without cross points).
- Towns and villages will be as a human base. (Town as ubgrade to castle)

I need a solution how to create special points for village/towns ( I got already custom object )
That special points are 'road croses'. Only there building should be allowed.

I though about create special efect on that area.. and then build will require that efect. I'll create efect by trigger on defined point by tool. But then how to create a requirement for that custom building -> town and vilage?


Other ideas? Better? Any links to tutorials?
Thanks
 

wellwish3r

wishes wells.
Reaction score
52
Sounds interesting! :thup:

For the road crosses, you could make regions, and when something enters that region, and if it is a building do nothing, else destroy it/ do whatever youwant with it.
 

Ajdija

New Member
Reaction score
3
Sounds interesting! :thup:

For the road crosses, you could make regions, and when something enters that region, and if it is a building do nothing, else destroy it/ do whatever youwant with it.
thx
hm.. I will have settlers on map as farmers( I mean that human first builders on map start ) with custom settings to make them unable to kill. I have no tested it yet,. but imo that trigger will destroy them too.

I also though about other way:
if settler enter region -> add building skill (village) -> if skill being used then create village in center of that region. Don't know if it's possible to do. Gonna test soon.


-----------

Today I also messed shape of island a bit. To make enaugh space for villages/town on island 'frame'.
 

Ajdija

New Member
Reaction score
3
----------------------------------------------------------------------
edit #30 June 2009 | 7:00 AM -> GMT+2 (polish time)
----------------------------------------------------------------------
I added new tile into palette and map and linked base only with it.

townplace.png

also I added regions for each road crose:

townregions.png

Settlement/Town view:

settlement_town_looking.png


----------------------------------------------------------------------
Continuation of first not edited post:
----------------------------------------------------------------------

ok I did it.

- > Unit enters 'gameboard'.
Req: -
Actions: If1 entering unit = building
If2 position of entering unit terrain type = ground ( on map I got only grass and ground yet [+water])
then do nothing
else2 remove entering unit from game.
else1 do nothing

---------

Well next problem is a little bigger.
For begin:
settlement_road_explanation.png

Road can be build between 2 road croses. Road can be only build if it's linked with another road or with town / settlement (now I stopped call it village but settlement). Another problem: road can be build if it's linked with current player road or settlement/town. Other players building should be ignored.

Any solutions ? ideas?

ps: also waiting for other ideas for first question, maybe will better.

extra question:
I need a idea how to make settlers as ghosts -> can't interupt building etc.. though about make them as flying units.. what do u think?
 

Ajdija

New Member
Reaction score
3
----------------------------------------------------------------------
edit #30 June 2009 | 10:20 PM -> GMT+2 (polish time)
----------------------------------------------------------------------
Added a barier - settlers can't get out of island.
Also I created almost final shape of island.

barier_and_settler_as_flying_unit.png

----------------------------------------------------------------------
Continuation of first not edited post:
----------------------------------------------------------------------

Road can be build between 2 road croses. Road can be only build if it's linked with another road or with town / settlement (now I stopped call it village but settlement). Another problem: road can be build if it's linked with current player road or settlement/town. Other players building should be ignored.

Any solutions ? ideas?

hmm I gonna look Azeroth grand prix or smth like that from Blizard :) that race cars had skills which required other cars.. maybe I will able to transform it into road require etc...

----------------------------------------------------------------------
edit #30 June 2009 | 10:10 PM -> GMT+2 (polish time)
----------------------------------------------------------------------

- > with above I don't have problems anymore. Some integers and much regions .. that way I did.
almost full trigger (for one crossroad):
triggers_for_bases.png


New question:
How to simulate rolling dice (one or two) by Warcraft 3? Any tutorial? Ready script(created before)? hmm?
pls help.
 

Ajdija

New Member
Reaction score
3
Game Rules, game scenario.

I did Scenario of my map for every launch.
1. Building first Settlements.
-> Random player build his first Settlement for free and first road for free.
-> Next random player (from group which not builded yet) build his first Settlement for free and first road for free.
(...) (Untill all 4 players wil do it).
2. Everyone get's resources automatic as special units in special arena. (game got 5 resources type). if your settlement is in any angle of resource shape you get one resource of that type.
3. The last player from "1." starts first round.
3.1 Rolling dice:
-> get dice number
-> if resource got that number : every player with settlement in any angle of resource shape get that resource.
3.2 1min(? - first concept) for options:
-> Player playing this round can build Settlement, road or transform Settlement to Town if he got enaugh resources for.
-> Player can exchange 4 resources of same type into 1 resource other type than exchanged.
3.3 End of time, checking players points:
-> if someone got 10points. -> the end -> show winner (+ mini movie - maybe)
-> if noone got 10points -> end current round -> start next round with third player from "1.".

(...) Next player (third) play first round -> go to 3.1

(...) Next player (second) play first round -> go to 3.1

(...) Next player (first from "1.") play first round -> go to 3.1

4. Looping rounds until someone will have 10points.

Rules:
-> You can build Settlements only on "road croses " in special tile.
-> You can build roads only between 'road croses' in special tile and only if it's linked with other road or if it start with settlement/town (settlement/town is in one of 'road croses' between which road will be.).
-> First Settlement and road is free.
-> Settlement / Town / Road cost resources. Look detail price on special part of map. (i'll soon post prices here).
-> Winning : collecting 10points
-> Points system:
- Settlement : 1 point
- Town : 2 points
-> You can have max 4towns and 5settlements in same time.
-> If you have 5settlements and you want to build next then you have to tranform any to Town then you'll have 4 settlements and 1 town so u can build new settlement.
-> If you want build new settlement on 'road cross', you have to have one road to this 'road cross'.
-> Desert is only one hexagon shape which do not mean resource. Desert means shape which don't give resources ->and it's Start location .

Extra (if will be included )

-> Thief. If you teleport Thief to resource shape then no one get resources from it until Thief leave. Thief can be teleported to other resource by player who rolls (dice/s) 7 (if I will have 2 dices) or 5 (If I will have one dice). Player can also do not teleport and let Thief stay current resource. Thief Start on 'Desert'.
 

Switch33

New Member
Reaction score
12
How to simulate rolling dice (one or two) by Warcraft 3? Any tutorial? Ready script(created before)? hmm?
pls help.
http://www.wc3jass.com/viewtopic.php?t=262

To use:
Post the code in a seperate trigger and name it something like Dice.
Then to get a dice roll total you just:
call GetRollTotal(RollDice(NUMBER OF DICE, NUMBER OF SIDES))

Note: Theres a UseFixedRandomSeed for wc3 map settings without this disabled the results of an random trigger when tested in single player will always be the same!

Interesting project though i'm not sure about a lot of it. You might want to reformate some of it. It's hard to read especially with such big screenies. But the screenies are nice to show.

Road can be build between 2 road croses. Road can be only build if it's linked with another road or with town / settlement (now I stopped call it village but settlement). Another problem: road can be build if it's linked with current player road or settlement/town. Other players building should be ignored.

Any solutions ? ideas?
As for the road requirement. You can maybe fool around with Unit-Building Requirments or Tech requirments. Not sure what it's under but you can make it require a unit or a tech. And through triggers you can allow it (create the unit) or disable it(remove the unit). To make it MUI you could make it require another ability instead on that same builder and check where the builder is located adding the ability only in spots where he can build add-ons.
 

asipo

New Member
Reaction score
15
I never play settler board game before. Only Settler 2 and 3 in PC game
From my understanding, your problem is

You want to create a building in a specific place

My solution:
1. At the location of the place, put unbuildable terrain tile (like "rock" terrain in lordaeron summer)
2. Declare your building
"Pathing - Placement Prevented By" = Buildable
"Pathing - Placement requires" = NONE (not tick anything at all)

This is quite a nice trick.
In the map editor, you cant see the effect. But during the game, its worked!





Your second problem is building the road.

I try several way, i manage to create a path changing the dirt terrain into dark grass.
However, i think my solution is wrong.This is because
I dont know what is the purpose of the road?
Is it must be build by the Builder?

I have the map example on both of the solution. Want me to upload it?
 

Ajdija

New Member
Reaction score
3
I never play settler board game before. Only Settler 2 and 3 in PC game
From my understanding, your problem is

You want to create a building in a specific place

My solution:
1. At the location of the place, put unbuildable terrain tile (like "rock" terrain in lordaeron summer)
2. Declare your building
"Pathing - Placement Prevented By" = Buildable
"Pathing - Placement requires" = NONE (not tick anything at all)

This is quite a nice trick.
In the map editor, you cant see the effect. But during the game, its worked!





Your second problem is building the road.

I try several way, i manage to create a path changing the dirt terrain into dark grass.
However, i think my solution is wrong.This is because
I dont know what is the purpose of the road?
Is it must be build by the Builder?

I have the map example on both of the solution. Want me to upload it?

hmm I rly don't understand both ways :/ yes pls upload example.

answers:
Road function
-> If you want build settlement you have to got minimum 1 road to this roadcross where settlement you want.
-> Road can be build only by 'settler' unit. If:
One of roadcroses which that roads linking have current building player settlement. (and here isn't other player road yet)
or
One of roadcroses which that roads linking is already linked with other road (and here isn't other player road yet)
--- I meant that:(sry for lame paint)
road_function.jpg


--------------------------

@Switch33

thx for roll dice script. I'll test soon.

hmm about that road imo i got other idea.. but now I think for that I created too small gameboard ;/ .

----------------------------------------------------------------------
edit #1 July 2009 | 3:59 PM -> GMT+2 (polish time)
----------------------------------------------------------------------

done :) big thx again!
(anyways as you said numbers are always same, but i won't test it with other players yet, so hope only.. it will work as real )
dicerolltest.png
 

asipo

New Member
Reaction score
15
Ok I upload the map using mediafire (file name 123.w3x)
Heres the link: http://www.mediafire.com/?ggm1mjmjywm

Please note that I making an example for the map only. No fancy looking.

tehSolution.gif


For the first problem, I think I manage to help you to solve it.
You see the footman can only build the building on the specific terrain which is the unbuildable terrain (Rock tile)

But for the 2nd problem which is the road. I cant make thing like u wish.
But i figureout another alternative solution.

The idea of the road is its allow you to expand new building.
Thus, im using an idea where a building can build another building around it.
This basically need to use "Ability - Build tiny barrack" and set the cast range into your specific range.

From the uploaded link and picture, the building "Headquarter" can build another building in a specific terrain only which is the "unbuildable" terrain AND to build it has a limited range.

You need to find out the range so its fit into your map.
I belive this is ok since your map is symetry.

Or

The Headquarter can create a road, and the road can create a new headquarter.

goodluck :D
 

Ajdija

New Member
Reaction score
3
First solution is very helpfull i think I'll use it.
Before see it I did that first problem other way:
-> unit enter gameboard <gen> -> If it's building -> If it's road -> If unit enter at terrain <terrain type (i use only) for roads(i don't remembername)> do nothing -> else remove entering unit from game.

Second .. very usefull.. but I want build by Settler not by existing road.

Well.. I got yet a idea for and I will use imo....
Screen: (Tiles between 'road croses' almost took randomly, I will change soon (maybe I create my own unique dunno).

road_regionsAndtiles_first_design.png

I planing something like that:
Create trigger for every region for every place for road.
Every trigger will include smth like:
Unit enters <region_for_road_1 (other triggers will have 2,3,4 (...) ) -> if enering unit is unit: road ( I created custom building and took model and textures of 'wall' it will look like a road from boardgame Settlers of Catan) ->

if entering unit belongs to player (red) then if can_build_road_red[indexNumberOfRoadPlace] (I will use array for that with value equal to number of regions for roads) is equal 1 -> do nothing -> if it's equal other value (default 0) -> remove entering unit from game

if entering unit belongs to player (blue) then if can_build_road_blue[indexNumberOfRoad] (I will use array for that with value equal to number of regions for roads) is equal 1 -> do nothing -> if it's equal other value (default 0) -> remove entering unit from game

if entering unit belongs to player (orange) then if can_build_road_orange[indexNumberOfRoad] (I will use array for that with value equal to number of regions for roads) is equal 1 -> do nothing -> if it's equal other value (default 0) -> remove entering unit from game

if entering unit belongs to player (grey) then if can_build_road_grey[indexNumberOfRoad] (I will use array for that with value equal to number of regions for roads) is equal 1 -> do nothing -> if it's equal other value (default 0) -> remove entering unit from game

:) and copy it and customise for every region... much work.. imo very lame way (but working!) , but i'm not as advanced as should to use programming language for that .. and too stupid for imagine other way.. also i didn't found anything by search or google.


ps: I forgot big thx!
 

Ajdija

New Member
Reaction score
3
after realy long work full day with a lot of troubles (fixed by me)...

here we're

one_road_condition_trigger.png

Replay w3g - show off how it works:
http://www.ajdija.yoyo.pl/road_triggers.w3g

Isn't done yet:
- If road is sold that do not allow create next roads as it should, and do not allow build settlements. Will be done tommorow maybe.
- About base:
-> Base payment isn't done.
-> base require special place but do not require road yet...


Notes:
-> First Settlement do not need resources.
-> First Road do not need resources.

I got 5 resources:
- Stone
- Copper
- Wood
- Corn
- Wool

resource_types.png
 

Ajdija

New Member
Reaction score
3
--> I throw work on roads, base system to end of development..

Now I working on general looking, dice rolling system, general map problems etc.



Tiles problem:
How can I add some tiles which fit for me to palette? Button is disabled :/

How can I add more than 7,8 tiles into one palette?

:/ can't find back any solution , is it possible btw?
to this:
http://www.thehelper.net/forums/showthread.php?t=129210&highlight=Tiles

I won't use WEU also . I will use Newgen and double instal w3 only if it is only way to get it.


Edit:
As I found there is reputation system on forum. So here we're -> I gave reputation for usefull helpers.
 

asipo

New Member
Reaction score
15
Im also not sure about the link you give.
But you can actually modify the tile

At "Advanced -> Modify tileset"

Maybe the link do more than the Modify tileset feature.
 

Ajdija

New Member
Reaction score
3
Im also not sure about the link you give.
But you can actually modify the tile

At "Advanced -> Modify tileset"

Maybe the link do more than the Modify tileset feature.

:D I know that way ofc.. and here I have that problems

How can I add some tiles which fit for me to palette? Button is disabled :/

How can I add more than 7,8 tiles into one palette?

:/ can't find back any solution , is it possible btw?
to this:
http://www.thehelper.net/forums/show...ighlight=Tiles

I won't use WEU also . I will use Newgen and double instal w3 only if it is only way to get it.


Edit:
As I found there is reputation system on forum. So here we're -> I gave reputation for usefull helpers.

I wonder if there is a program for that working with newest ubdate and do not damage anything in WE .:/
 

Ajdija

New Member
Reaction score
3
I wanted to inform you that I totaly change some parts of gameplay:
- you start with settler
- settler can build only "First Settlement" after that he's removed from gameplay ( imagine that he's a settlement owner :) )
- By "First Settlement" you can build roads close to this settlement.
- By road you can build Settlement | + you can build road - like from settement but not need to build it (easier way to get shape with resource u want => and it's like in Settlers of Catan boardgame) (I still working about including this so it's not yet)
- Resources place is changed to upper than gameboard.

Some work I did :
- Payment system (need resources to build settlement/town/road)
-----------
Look costs:
Town : 2 corn 3 stone
Settlement: 1 wool 1 wood 1 copper 1 corn
Road: 1 wood 1 copper
-----------
- Resource rewarding system for owner of shape one unit owner. (every shape got 6 units [-> you will get that unit when you create settlement on road crose - that not scripted yet])
- road / settlement / towns require special place and can be build only in special range.
- Randomly take players as First,Second,Third,Fourth to rounds.

What I have to do [not all is included]:
- Start Guide
- Unit text / descriptions / informations
- Some text messages after some parts of game.
- Rounds system
- First round (building first settlements/roads for free)
- gameboard DESIGN! that weird tiles!
- maybe I'll include leaderboard with current players points
- Win/Lose conditions
- Points system to Win.

Screens / w3 replay from current map looking soon
Resources => Shapes
resources_places.png

numbers of shape ( ypu get shape type resource if someone roll that number)
shape_numbers_to_roll.png

----------------------------------------------------------------------
edit #4 July 2009 | 9:54 PM -> GMT+2 (polish time)
----------------------------------------------------------------------

When someone build settlement / first settlement he/she gets special unit/s (max 3 , min 1) . If someone roll shape number all who owns minimum one special unit of that shape get's resource of that shape

More I have to do:
-> When someone got town he should get double resources from every shape near that town.
-> Exchange system : You'll be able to sell 4 units of same type into 1 unit of other type.
-> Maybe include thief,.. but I rly don't have idea how..

Some usefull (imo) triggers for other map makers which I created by myself for my map:
Code:
"Settlement Enters"
    Wydarzenia
        Jednostka - A unit enters plansz do gry <gen>
    Warunki
    Akcje
        Set Player_building = (Owner of (Entering unit))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            Jeśli - Warunki
                (Unit-type of (Entering unit)) RĂłwna siÄ™ Settlement
            To - Akcje
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    Jeśli - Warunki
                        (Player number of Player_building) RĂłwna siÄ™ (Player number of Player_playing_round)
                    To - Akcje
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            Jeśli - Warunki
                                (Terrain type at (Position of (Entering unit))) RĂłwna siÄ™ Wioska - Skalista ziemia
                            To - Akcje
                                Wyzwalacz - Run sell settlement <gen> (checking conditions)
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    Jeśli - Warunki
                                        sold_settlement RĂłwna siÄ™ 1
                                    To - Akcje
                                        Grupa jednostek - Pick every unit in (Units within 450.00 of (Position of (Entering unit))) and do (Actions)
                                            Pętla - Akcje
                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                    Jeśli - Warunki
                                                        (Unit-type of (Picked unit)) RĂłwna siÄ™ Resource After Dice That Shape Number
                                                    To - Akcje
                                                        Jednostka - Change ownership of (Picked unit) to Player_building and Zmień kolor
                                                    Albo - Akcje
                                                        Do nothing
                                        Gra - Display to (All players) for 5.00 seconds the text: ((Name of Player_building) +  building a SETTLEMENT!)
                                    Albo - Akcje
                                        Jednostka - Remove (Entering unit) from the game
                                        Gra - Display to (Player group(Player_building)) for 2.00 seconds the text: No enaugh resources...
                            Albo - Akcje
                                Jednostka - Remove (Entering unit) from the game
                                Gra - Display to (Player group(Player_building)) for 2.00 seconds the text: You can build settl...
                    Albo - Akcje
                        Jednostka - Remove (Entering unit) from the game
                        Gra - Display to (Player group(Player_building)) for 2.00 seconds the text: You can build only ...
            Albo - Akcje
Code:
"sell settlement"
    Wydarzenia
        Czas - Every 0.00 seconds of game time
    Warunki
    Akcje
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            Jeśli - Warunki
            To - Akcje
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    Jeśli - Warunki
                        (Number of units in (Units owned by Player_playing_round of type wood)) Większe lub równe 1
                        (Number of units in (Units owned by Player_playing_round of type Copper)) Większe lub równe 1
                        (Number of units in (Units owned by Player_playing_round of type Corn)) Większe lub równe 1
                        (Number of units in (Units owned by Player_playing_round of type wool)) Większe lub równe 1
                    To - Akcje
                        Jednostka - Remove (Random unit from (Units owned by Player_playing_round of type wood)) from the game
                        Jednostka - Remove (Random unit from (Units owned by Player_playing_round of type Copper)) from the game
                        Jednostka - Remove (Random unit from (Units owned by Player_playing_round of type Corn)) from the game
                        Jednostka - Remove (Random unit from (Units owned by Player_playing_round of type wool)) from the game
                        Set sold_settlement = 1
                        Wyzwalacz - Turn off (This trigger)
                    Albo - Akcje
                        Set sold_settlement = 0
                        Wyzwalacz - Turn off (This trigger)
            Albo - Akcje
Code:
"Town Enters"
    Wydarzenia
        Jednostka - A unit Zaczyna ulepszanie
    Warunki
    Akcje
        Set Player_building = (Owner of (Triggering unit))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            Jeśli - Warunki
                (Unit-type of (Triggering unit)) RĂłwna siÄ™ Town
            To - Akcje
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    Jeśli - Warunki
                        (Player number of Player_building) RĂłwna siÄ™ (Player number of Player_playing_round)
                    To - Akcje
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            Jeśli - Warunki
                                (Terrain type at (Position of (Triggering unit))) RĂłwna siÄ™ Wioska - Skalista ziemia
                            To - Akcje
                                Wyzwalacz - Run sell town <gen> (checking conditions)
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    Jeśli - Warunki
                                        sold_town RĂłwna siÄ™ 1
                                    To - Akcje
                                        Gra - Display to (All players) for 5.00 seconds the text: ((Name of Player_building) +  building a TOWN!)
                                    Albo - Akcje
                                        Jednostka - Replace (Triggering unit) with a Settlement replace with Town using Domyślne ustawienie nowej jednostki life and mana
                                        Gra - Display to (Player group(Player_building)) for 2.00 seconds the text: No enaugh resources...
                            Albo - Akcje
                                Jednostka - Replace (Triggering unit) with a Settlement replace with Town using Domyślne ustawienie nowej jednostki life and mana
                                Gra - Display to (Player group(Player_building)) for 5.00 seconds the text: You can build town ...
                    Albo - Akcje
                        Jednostka - Replace (Triggering unit) with a Settlement replace with Town using Domyślne ustawienie nowej jednostki life and mana
                        Gra - Display to (Player group(Player_building)) for 2.00 seconds the text: You can build only ...
            Albo - Akcje
Code:
"sell town"
    Wydarzenia
        Czas - Every 0.00 seconds of game time
    Warunki
    Akcje
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            Jeśli - Warunki
            To - Akcje
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    Jeśli - Warunki
                        (Number of units in (Units owned by Player_playing_round of type Corn)) Większe lub równe 2
                        (Number of units in (Units owned by Player_playing_round of type stone)) Większe lub równe 3
                    To - Akcje
                        Set sold_town = 1
                        Jednostka - Remove (Random unit from (Units owned by Player_playing_round of type Corn)) from the game
                        Wait 0.01 game-time seconds
                        Jednostka - Remove (Random unit from (Units owned by Player_playing_round of type Corn)) from the game
                        Wait 0.01 game-time seconds
                        Jednostka - Remove (Random unit from (Units owned by Player_playing_round of type stone)) from the game
                        Wait 0.01 game-time seconds
                        Jednostka - Remove (Random unit from (Units owned by Player_playing_round of type stone)) from the game
                        Wait 0.01 game-time seconds
                        Jednostka - Remove (Random unit from (Units owned by Player_playing_round of type stone)) from the game
                        Wyzwalacz - Turn off (This trigger)
                    Albo - Akcje
                        Set sold_town = 0
                        Wyzwalacz - Turn off (This trigger)
            Albo - Akcje
here for make players rounds random every game start:
Code:
Create Special Group
    Wydarzenia
        Map initialization
    Warunki
    Akcje
        Grupa graczy - Pick every player in (All players) and do (Actions)
            Pętla - Akcje
                Grupa graczy - Add (Picked player) to Players_not_played_first_round
        Wyzwalacz - Turn on Player 1 2 3 4 <gen>
        Wyzwalacz - Turn off (This trigger)
Code:
Player 1 2 3 4
    Wydarzenia
        Map initialization
    Warunki
    Akcje
        Set first_player = (Random player from Players_not_played_first_round)
        Grupa graczy - Remove first_player from Players_not_played_first_round
        Set second_player = (Random player from Players_not_played_first_round)
        Grupa graczy - Remove second_player from Players_not_played_first_round
        Set third_player = (Random player from Players_not_played_first_round)
        Grupa graczy - Remove third_player from Players_not_played_first_round
        Set fourth_player = (Random player from Players_not_played_first_round)
        Grupa graczy - Remove fourth_player from Players_not_played_first_round
        Wyzwalacz - Turn on First Player Round <gen>
        Wyzwalacz - Turn off (This trigger)
w3 replay from current game outlook come soon.

edit: and sorry for polish parts in codes.. it's becouse of language version

----------------------------------------------------------------------
edit #4 July 2009 | 10:55 PM -> GMT+2 (polish time)
----------------------------------------------------------------------
Replay:
http://www.ajdija.yoyo.pl/Show_off_Settlers_map_alfa_10.1.w3g
as you can see.................... the island design... is pretty shitty..... still waiting for other ways to get bigger palette of tiles -_-
HELP HELP HELP :/ waiting last day :/ then -> copy w3 and try that 'newgen' *,.,*
 

Ajdija

New Member
Reaction score
3
I totally change rolling system :) to my own :)

Take random unit from region:
dice_rolling_system.png
and if unit 1 -> rolled number -> 1
if 2 -> rolled number -> 2 (...)

:)

------------------------------------------

I created exchange system:
exchange_system.png

------------------------------------------

Some informations:

You start with 2 settlers -> Randomly players going to places -> first,second,third,fourth player.

First player start first round (his settlers are teleported to not closed area). He can build his first 2 settlements for free ( after build each , one of settlers is removed from game) and 2 roads for free. He has 1min to create minimum 1 settlement (logical is create 2 .. but it's only protect system -> I don't want to make game so much difficult for new players) or he gets kick.
then Second player start his first round (...) third (...) fourth.
After all. Every one gets resource from every shape with which he's connected.
Then fourth player startround loop.
Rolling system starts. Everyone gets resources from shape with rolled number (if they are connected with).Then fourth player has 30sec for round. He can build road/settlement/town everything to win (/lose).
Then round is ended. Checking conditons if he has 10points (win) or not. If yes -> the end -> he's winner | if no -> third player starts his round.
Rolling system starts (...) second player starts his round.
Rolling system starts (...) first player starts his round.
Rolling system starts (...) fourth player starts his round. (...)(...) to someone win.
Note: if someone leave, his building automaticaly are destroyed, his resources too, his resource units on shape become neutral.
In current map version playing alone is allowed. Nevermind if someone enjoy it :).

some screen explanations:
roadcrose_informations.png


and:
Tiles tiles tiles....
still need fix.

What to do:
Starting guide (0%)
Round loop (50%)
Leaderboard (0%)
Winning/Lose conditions (0%)
Text messages on some parts of map (80%)
Unit text, descriptions, unit info (40%)

Planing release first beta version:
-> next Friday
(can be faster , but I have to get some acknowledge about protecting map from editing etc, it won't be opensource etc.)
 

Ajdija

New Member
Reaction score
3
Work info:

Starting guide (0%)
Round loop (100%)[Not tested yet]
Leaderboard (100%)
Winning/Lose conditions (100%)
Text messages on some parts of map (90%)
Unit text, descriptions, unit info (40%)
Dice Rolling System (100%)
When player leave etc changing roud loop system (100%) (could be bugged will see with beta test)
Tiles (70%) -> Need resource tiles
Payment system for settlement/road/town (100%)
Checking for many players started map ( could be 1,2,3,4) (100%)
Resource Exchange System (100%)
Round with "First Settlement" building for free and settlers (100%)
Camera moving in some parts (80%)
Full Visible Map triggers (100%)
Custom Models (0% - won't be in beta, dunnno if be in first normal version too)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top