Gentlemen shall I understand that in the newest FlaMe version, and on 3.1 games there is no need to place any truck for a player to make the map work? And if yes, what are the conditions?
To Place a Truck or Not to place a Truck?
-
Merowingg
- Regular

- Posts: 2468
- Joined: 15 Nov 2009, 13:05
- Location: Poland
To Place a Truck or Not to place a Truck?
That is my question
Gentlemen shall I understand that in the newest FlaMe version, and on 3.1 games there is no need to place any truck for a player to make the map work? And if yes, what are the conditions?

Gentlemen shall I understand that in the newest FlaMe version, and on 3.1 games there is no need to place any truck for a player to make the map work? And if yes, what are the conditions?
“Beneath this mask there is more than flesh. Beneath this mask there is an idea, and ideas are bulletproof.” - V
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: To Place a Truck or Not to place a Truck?
If player starts game in "no bases" mode, then unless they have a truck / engineer they won't be able to construct any new buildings or factories. The game would still play, although it might instantly go to game over if they don't have at least one droid (of any kind) or factory.
Last edited by aubergine on 20 Dec 2012, 15:52, edited 1 time in total.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: To Place a Truck or Not to place a Truck?
no.shall I understand
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
Merowingg
- Regular

- Posts: 2468
- Joined: 15 Nov 2009, 13:05
- Location: Poland
Re: To Place a Truck or Not to place a Truck?
So if I płace a tower and four tanks for example, then I still can create a map? As a result I will lose when the four tanks will be destroyed?
“Beneath this mask there is more than flesh. Beneath this mask there is an idea, and ideas are bulletproof.” - V
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: To Place a Truck or Not to place a Truck?
Yup, standard rules.js causes game over when player loses all their factories and all their droids.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
Merowingg
- Regular

- Posts: 2468
- Joined: 15 Nov 2009, 13:05
- Location: Poland
Re: To Place a Truck or Not to place a Truck?
I was certain that trucks are obligatory
I this was a million dollar question I would lose. I asked the question whan I saw a map with no rtucks recently and could not understand.
Thank you for info
Thank you for info
“Beneath this mask there is more than flesh. Beneath this mask there is an idea, and ideas are bulletproof.” - V
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: To Place a Truck or Not to place a Truck?
You didn't.I saw a map with no rtucks
It was explained to you.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
Merowingg
- Regular

- Posts: 2468
- Joined: 15 Nov 2009, 13:05
- Location: Poland
Re: To Place a Truck or Not to place a Truck?
You mean that there were four tanks? then yes it was 
“Beneath this mask there is more than flesh. Beneath this mask there is an idea, and ideas are bulletproof.” - V
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: To Place a Truck or Not to place a Truck?
You do not have the required permissions to view the files attached to this post.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
Merowingg
- Regular

- Posts: 2468
- Joined: 15 Nov 2009, 13:05
- Location: Poland
Re: To Place a Truck or Not to place a Truck?
I think you like me
So let me paraphrase, If i make two player map, 1 player = tower and one tank, 2 player = tower and one tank, it will still work?
So let me paraphrase, If i make two player map, 1 player = tower and one tank, 2 player = tower and one tank, it will still work?
“Beneath this mask there is more than flesh. Beneath this mask there is an idea, and ideas are bulletproof.” - V
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: To Place a Truck or Not to place a Truck?
Yes it will still work.
From rules.js:
If either factories > 0 or droids > 0, the player is considered to be alive.
In 2.x, and possibly early alphas of 3.1, the droid check used to be limited to DROID_CONSTRUCT -- so if a player had no trucks and no factories, game over for them. But that was changed a while ago to DROID_ANY.
I am 100% certain of this, I've done a *lot* of experimentation on rules.js. In recent versions of Warzone 3.1, any droid makes rules see its owner as alive.
Full details: https://warzone.atlassian.net/wiki/disp ... Conditions
From rules.js:
Code: Select all
factories = countStruct("A0LightFactory", playnum) + countStruct("A0CyborgFactory", playnum);
droids = countDroid(DROID_ANY, playnum);In 2.x, and possibly early alphas of 3.1, the droid check used to be limited to DROID_CONSTRUCT -- so if a player had no trucks and no factories, game over for them. But that was changed a while ago to DROID_ANY.
I am 100% certain of this, I've done a *lot* of experimentation on rules.js. In recent versions of Warzone 3.1, any droid makes rules see its owner as alive.
Full details: https://warzone.atlassian.net/wiki/disp ... Conditions
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: To Place a Truck or Not to place a Truck?
You won't.If i make
You do not have the required permissions to view the files attached to this post.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: To Place a Truck or Not to place a Truck?
Hrm, those must be hard-coded in the C++ code somewhere.
EDIT: Oh, is that FlaME message? If so, you could place the trucks in flame, then delete them (from droid.ini?) after compiling the map.
EDIT: Oh, is that FlaME message? If so, you could place the trucks in flame, then delete them (from droid.ini?) after compiling the map.
Last edited by aubergine on 20 Dec 2012, 15:49, edited 2 times in total.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: To Place a Truck or Not to place a Truck?
VB.NET code, to be exact (:
Well, the question was whether he could ...you
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: To Place a Truck or Not to place a Truck?
Yup, just realised that was a FlaME message.
IMHO it's a good check to do, because if new map maker forgets trucks and doesn't realise what happens when baseType is applied, they'll publish a map that probably won't work on CAMP_CLEAN (no bases) mode.
I'm not sure if droid.ini is a new thing or whether it's standard feature of all maps, but if FlaME uses it the trucks could be deleted from it after compiling?
IMHO it's a good check to do, because if new map maker forgets trucks and doesn't realise what happens when baseType is applied, they'll publish a map that probably won't work on CAMP_CLEAN (no bases) mode.
I'm not sure if droid.ini is a new thing or whether it's standard feature of all maps, but if FlaME uses it the trucks could be deleted from it after compiling?
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO