..A game that plays for you...Tim Blokdijk wrote:Suggestion:
Allow scripting (not hard coded) that can help a unit to think for itself.
Like planes returning to a air repair pad.
Unit's to collect ammo.
A stealth unit to avoid los detection.
A zombie unit to randomly walk over the map destroying whatever it finds.
A construction unit capable to construct a fully functional base on it's own.
Maybe code can be used from the AI subsystem?
Scripting updates
Moderator: Moderators
They are supposed to... but they don' t. I just tested it. In fact, I can't even figure out how to make repair pads work at all, even trying to force it... fortunately units gain health back on their own.
Last edited by SinbadEV on 12 Sep 2005, 13:37, edited 1 time in total.
- Tim Blokdijk
- Posts: 1242
- Joined: 29 May 2005, 11:18
Well, maybe if the modder really likes to but I mean smaller things.Gnome wrote:..A game that plays for you...Tim Blokdijk wrote:Suggestion:
Allow scripting (not hard coded) that can help a unit to think for itself.
Like planes returning to a air repair pad.
Unit's to collect ammo.
A stealth unit to avoid los detection.
A zombie unit to randomly walk over the map destroying whatever it finds.
A construction unit capable to construct a fully functional base on it's own.
Maybe code can be used from the AI subsystem?
You can script more human behavior to.
Fleeing from the enemy as in the total war games?
Or construction unit's that automatic move away from enemy fire?
Things like that.
Scripteble by the unit maker, not the player btw.
Otherwise you get a arms race for how has the best scripts.
The first is possible via unitheight, the second isn't exactly possible, but it is possible to detect *if* a unit is being transported.Guessmyname wrote:The ability for units to know when and what they are transporting: OnTransporting(unitname), and to tell what they are being transported by: OnGetTransport(unitname). Very useful for WD when APCs need to have a gunner or infantry bloke loaded to fire its mounted machine gun, or where units can run out of ammo and have to load them selves into an ammo-dispencing unit / building to get more ammo.
Also, the ability to change how much energy / metal the unit is using / making, maybe something like this: energy = +10 or something
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
Probably there would be no need to have all land buildings as water buildings as well. Just some needed ones, like the Radar Tower and some more.GrOuNd_ZeRo wrote:...
Perhaps the same can be done if you attempt to build a radar tower, it will build a floating one instead, the only problem here will be that there will have to be a seperate unit for every possibility I.E. wind gen for land, sea...
...
The unit would need to have 2 diferent models (or an extra model to be added underneath it), one without the floating stuff for land and under water and another with the floating stuff for top of water.
As for having the model with the floating parts built in and having them be hiden underneath the land, is an interesting idea although i wonder if with hilly or deformed ground they wouldn't show up...
I see another problem here... A floating Missile Tower has a bigger footprint that the land missile tower. Maybe this is easy to solve!?
Also, as gnome(?) sugested, the water ones should be more expensive (the floating ones and not the underwater ones. Possibly, even the underwater ones, too.) to acount for the extra floating stuff beeing built. The problem i see with this is GUI related as to how to show the player that the building will cost more if built on water...
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
^Not necesairly, you could just make a few realy long piles that extend far beyond the origin of the building, downwards to a depth no mapper in the right mind would use, then these would intewrsect the ground nicely.
(Well, i dont know if it would wotrk like that in spring, but that's generaly how these matters tend to work...)
(Well, i dont know if it would wotrk like that in spring, but that's generaly how these matters tend to work...)
aka it would need to be a "floating" building, instead of one rooted to the bottom of the water.FireCrack wrote:^Not necesairly, you could just make a few realy long piles that extend far beyond the origin of the building, downwards to a depth no mapper in the right mind would use, then these would intewrsect the ground nicely.
(Well, i dont know if it would wotrk like that in spring, but that's generaly how these matters tend to work...)
- GrOuNd_ZeRo
- Posts: 1370
- Joined: 30 Apr 2005, 01:10
We actually have a few units in TA:WD that are similar to this but they are floating currently, it would be sweet if the script adjusted the legs like ZW suggested.
We have the Ore mining platform and Offshore Powerplant (currently not implented since Maestro is redoing naval stuff).
as for OTA, it would be nice if Spring could just determine which version to use for the metal extracting, etc and adjust the build cost accordingly...
We have the Ore mining platform and Offshore Powerplant (currently not implented since Maestro is redoing naval stuff).
as for OTA, it would be nice if Spring could just determine which version to use for the metal extracting, etc and adjust the build cost accordingly...
- Guessmyname
- Posts: 3301
- Joined: 28 Apr 2005, 21:07
My most-wanted list:
The ability to change the health via the script - but using a number rather than a percentage
The ability for factories to tell what they are building, so that they can change the building animations accordingly
The ability to change how powerful the armoured state is via the script
The ability to stop units from moving via the script
Buildings able to build buildings - not really script based, but still useful none the less (unless they can already can do that that is...)
Make it easier to make walking animations! (though see the thing at the very bottom)
While this has nothing to do with scripting, a program that lets you test things like weapons and movement anims would be very useful for debugging / improving dodgy-looking animations and weapons would be very useful
The ability to change the health via the script - but using a number rather than a percentage
The ability for factories to tell what they are building, so that they can change the building animations accordingly
The ability to change how powerful the armoured state is via the script
The ability to stop units from moving via the script
Buildings able to build buildings - not really script based, but still useful none the less (unless they can already can do that that is...)
Make it easier to make walking animations! (though see the thing at the very bottom)
While this has nothing to do with scripting, a program that lets you test things like weapons and movement anims would be very useful for debugging / improving dodgy-looking animations and weapons would be very useful
Dragon45 did it, but it was percentage. Could probably be adapted though. Look up his post in this forum.Guessmyname wrote:My most-wanted list:
The ability to change the health via the script - but using a number rather than a percentage
AgreeThe ability for factories to tell what they are building, so that they can change the building animations accordingly
AgreeThe ability to change how powerful the armoured state is via the script
Tried doing it myself once, couldn't figure out what thing to set to 0 in the engine itself. But yeah, agree.The ability to stop units from moving via the script
Haven't tried it, but I'm guessing not possible due to yardmaps atm. I'm thinking of a way you could still manage it though.Buildings able to build buildings - not really script based, but still useful none the less (unless they can already can do that that is...)
http://fileuniverse.com/?p=showitem&ID=193Make it easier to make walking animations! (though see the thing at the very bottom)
While this has nothing to do with scripting, a program that lets you test things like weapons and movement anims would be very useful for debugging / improving dodgy-looking animations and weapons would be very useful
- Guessmyname
- Posts: 3301
- Joined: 28 Apr 2005, 21:07
I know that he did it, but that is out of date, and uses percentages...Gnome wrote:Dragon45 did it, but it was percentage. Could probably be adapted though. Look up his post in this forum.Guessmyname wrote:My most-wanted list:
The ability to change the health via the script - but using a number rather than a percentage
proof that I should check through the utilities page for updates more oftenGnome wrote:http://fileuniverse.com/?p=showitem&ID=193Guessmyname wrote:Make it easier to make walking animations! (though see the thing at the very bottom)
While this has nothing to do with scripting, a program that lets you test things like weapons and movement anims would be very useful for debugging / improving dodgy-looking animations and weapons would be very useful
You dont *need* anything more than percentages to make it work at all... and even if you did, im sure some moderately complex algebra could make it go up in increments of 50 on some event or something.
BTW I submitted the .diff file to SJ some time ago and it shold hoepfulyl be in the new Spring build (if its not in the 63 build already; i havent checked it).
BTW I submitted the .diff file to SJ some time ago and it shold hoepfulyl be in the new Spring build (if its not in the 63 build already; i havent checked it).