Automate Shift +D D to see spawn thro fog?

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderator: Forum Moderators

Post Reply
User avatar
Gwledig
Posts: 598
Joined: March 30th, 2009, 5:10 pm
Location: UK

Automate Shift +D D to see spawn thro fog?

Post by Gwledig »

hi anyone know a really easy way of showing a player their spawn before their 1st turn? If fog is on, the player has to wait for their turn to see their spawn, but if they press shift + D D they see thro the fog.. just wondering if anyone knows how to automate this (it doesn't turn fog off in the game, just lets the player see their spawn before turn 1..)
Maintainer of Conquest (Original Gameplay), Conquest+, Conquest+ Space/Ranged, Chaoz Battle of the Wizards, Lazersquad (squad game), WesCraft (building MP game)
Elrood
Posts: 17
Joined: September 27th, 2007, 5:44 pm

Re: Automate Shift +D D to see spawn thro fog?

Post by Elrood »

Create dummy unit, teleport it to start locations with clearing shroud.
User avatar
Gwledig
Posts: 598
Joined: March 30th, 2009, 5:10 pm
Location: UK

Re: Automate Shift +D D to see spawn thro fog?

Post by Gwledig »

hmm ok thanks I'll look these up... I now this is apparently hard to do in wesnoth but gotta be an easy way.... maybe by setting 1 turn over for players apart from player 1... I think you can specify the turn of a particular player.. then on actual turn 1 (2) set it back to 1... this might show the units on turn 1, just an idea I might try to avoid using fake units etc.
Maintainer of Conquest (Original Gameplay), Conquest+, Conquest+ Space/Ranged, Chaoz Battle of the Wizards, Lazersquad (squad game), WesCraft (building MP game)
User avatar
Gwledig
Posts: 598
Joined: March 30th, 2009, 5:10 pm
Location: UK

Re: Automate Shift +D D to see spawn thro fog?

Post by Gwledig »

I think this event called by the scenario.cfg should work... not been able to test all night as the server has been down for me :(

be good if anyone can see any problems with this.. just to recap I want to make a placed side visible whilst waiting for their 1st turn

I can't see why there is a need to add a false unit or even use the inbuilt macro, all it seems to do is add movement to the unit and use redraw, there will be placed units with 1 movement, which is enough to show the player their spawn I think..

Code: Select all

[event]
name=start
[remove_shroud] 
side=$side_number
[/remove_shroud]
[redraw]
side=$side_number
[/redraw]
[/event]
Maintainer of Conquest (Original Gameplay), Conquest+, Conquest+ Space/Ranged, Chaoz Battle of the Wizards, Lazersquad (squad game), WesCraft (building MP game)
SlowThinker
Posts: 876
Joined: November 28th, 2008, 6:18 pm

Re: Automate Shift +D D to see spawn thro fog?

Post by SlowThinker »

Gwledig, your memory has serious holes .... 8)
I will try to refresh it now:
About 24 hours before you started this thread, you visited a testplay of Conquest Minus and you liked the screen refresh which was activated on turn 1. Then you said that you liked it, and you would like to use it also in your Conquest+ ....

Do you remember? :)

I really wondered why you didn't ask me personally how it was done, and in place of it you started a thread :?:

Yes, it is done by [redraw]. No need of a false unit.
I work on Conquest Minus • I use DFoolWide, Retro Terrain Package and the add-on 'High Contrast Water'
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
User avatar
Gwledig
Posts: 598
Joined: March 30th, 2009, 5:10 pm
Location: UK

Re: Automate Shift +D D to see spawn thro fog?

Post by Gwledig »

I thought it didnt work that time ? and you mentioned you were gona do that update in a month?
I also didnt wanna use conventional fake units and have been looking or alternative ways to do it (like I said i would in the forum) if I find a snappy way to do it ill post it up.
Maintainer of Conquest (Original Gameplay), Conquest+, Conquest+ Space/Ranged, Chaoz Battle of the Wizards, Lazersquad (squad game), WesCraft (building MP game)
SlowThinker
Posts: 876
Joined: November 28th, 2008, 6:18 pm

Re: Automate Shift +D D to see spawn thro fog?

Post by SlowThinker »

In Conquest- it works with no problem.
I work on Conquest Minus • I use DFoolWide, Retro Terrain Package and the add-on 'High Contrast Water'
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
Post Reply