slytherincrest 说:
Brubar 说:here fellow sceners! haev a look at my first scening attempt, which is almost done
it is a danish castle for mod Eruope 1200
![]()
![]()
![]()
I have a question about the river: is there a way to make its end more "realistic" you know, which would continue outside the scene boundaries?
Crossbow Joe 说:Does it throw up an error? What mod is it?
Only in the code, which some info on it can be found here.**EDIT
Other question: Is it possible to add more "townwalkers"? More than 10 ? Or is limited to entry points from 30 to 40?


To access a town's siege mode, you have to select "outside the walls" in town menu and then edit it.Adorno 说:That's simple: Some objects are scripted to only spawn during a siege.
They're labeled something like: script_remove_siege_objects.
It's:
siege ladders 12-14 meters (not 6 & 8 meters)
village fire big
siege tower (and all the objects it consists of, like the wheels and the 'body')
battlefield smoke
all damaged walls (both wood and stone)
And maybe a few others.
So it's important to always test a new scene when it's done.
xenoargh 说:It's fairly easy to script this.
First part: getting more people into the towns. This part's easy- a one line change. Find script_init_town_walkers in module_scripts.
Remove the line that reads: (set_visitor, ":entry_no", ":walker_troop_id"), and replace it with this: (set_visitors,":entry_no", ":walker_troop_id",5),
Here's an example, if you're confused.
插入代码块:# script_init_town_walkers # Input: none # Output: none ("init_town_walkers", [ (try_begin), (eq, "$town_nighttime", 0), (try_for_range, ":walker_no", 0, num_town_walkers), (store_add, ":troop_slot", slot_center_walker_0_troop, ":walker_no"), (party_get_slot, ":walker_troop_id", "$current_town", ":troop_slot"), (gt, ":walker_troop_id", 0), (store_add, ":entry_no", town_walker_entries_start, ":walker_no"), (set_visitors,":entry_no", ":walker_troop_id",5), (try_end), (try_end), ]),
Now for the "hard" part: getting those additional people to move around and look vaguely like a crowd. Replace the entire script_set_town_walker_destination with this code. That's it. Now you have a lot more people, and they'll wander around randomly.
插入代码块:# script_set_town_walker_destination # Input: arg1 = agent_no # Output: none ("set_town_walker_destination", [(store_script_param_1, ":agent_no"), (store_random_in_range, ":rand_dest", 1 ,12), (try_begin), (eq, ":rand_dest", 1), (assign, ":target_entry_point", 9), (else_try), (eq, ":rand_dest", 2), (assign, ":target_entry_point", 10), (else_try), (eq, ":rand_dest", 3), (assign, ":target_entry_point", 12), (else_try), (eq, ":rand_dest", 4), (assign, ":target_entry_point", 32), (else_try), (eq, ":rand_dest", 2), (assign, ":target_entry_point", 33), (else_try), (eq, ":rand_dest", 5), (assign, ":target_entry_point", 34), (else_try), (eq, ":rand_dest", 6), (assign, ":target_entry_point", 35), (else_try), (eq, ":rand_dest", 7), (assign, ":target_entry_point", 36), (else_try), (eq, ":rand_dest", 8), (assign, ":target_entry_point", 37), (else_try), (eq, ":rand_dest", 9), (assign, ":target_entry_point", 38), (else_try), (eq, ":rand_dest", 10), (assign, ":target_entry_point", 39), (else_try), (assign, ":target_entry_point", 10), (try_end), (try_begin), (agent_set_slot, ":agent_no", 0, ":target_entry_point"), (entry_point_get_position, pos1, ":target_entry_point"), (try_begin), (init_position, pos2), (position_set_y, pos2, 250), (position_transform_position_to_parent, pos1, pos1, pos2), (try_end), (agent_set_scripted_destination, ":agent_no", pos1, 0), (agent_set_speed_limit, ":agent_no", 5), (try_end), ]),

Pymous 说:Hi guys,
I have a question a bout spawn points in a Siege map:
Do players spawn on random spawn point or do spawn depends on number of players? For exemple if it's 20vs20, will some players spawn on the spawn point number 26 or will they only spawn on numbers 0-9 ?
Thank you.

Pymous 说:Thank you for those informations, didnt know about "neutral" spawns if they are too far from flag!
But then do players spawn on a random position? That was my initial question. For exemple, we have 6 defenders et 32 spawn points. Will the defenders spawn only on spanw n°0,1,2,3,4 or 5? randomly? Or on n°0 to n°31 randomly?
Thank you