Secondarily, I would like (atleast some of) the engineers to have secondary fucntions such as:
3) Minesweep,difuse bomb
4) Have a gun (combat engineer)
5) construct buildings (combat enginer (bunker) )
6) Deploy into a little hospital tent (ra3 allies engineer)
7) Sprint (japanese engineer)
Demo Charge (ra1 engineer, like how they damaged buildings in ra1)
Most, if not all of these things are already present in Generals, atleast in a different form. The worker for example, can minesweep ,construct buildings, and slowly repair buildings. There are other units with demo charges have weapons. I already have figured out how to get units to deploy into other things (replace objects), so that can kill two birds with one stone. I can have the japanese enginerr transform into a cloned unit of it with an improved (faster) locomotor. That unit has a lifespan (tag which controls how long it lives) and when it dies, it can spawn the original engineer. The basic infantry and hackers can slowly capture buildings too. So, I believe all the tools for creating these units are present.
However, the biggest obstacle lies in making the repairs and the caputres instant, and making the engineer dissappear. I was thinking on manipulating the hijacker or saboteur code.
*I got to go on a trip, I'll finish this when I get back*[/i] _________________ Please, read the signature rules of the forum. QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Sun Feb 15, 2009 3:22 pm Post subject:
Instantly captures buildings can be done by using the Lotus ability, and giving it a real short capture delay.
Instantly repairing structures is something I haven't been able to do.
For all others: I'd say almost all of them are possible (with the exception of the sprint ability)... QUICK_EDIT
Perhaps after the capture the engineer dies without the death anim.
IIRC the Barracks healed infantry when they entered...if you used that logic or something
Remember RA1 Engineers capture when the enemy structures were in critical HP, not destroy them. _________________ Please, read the signature rules of the forum. QUICK_EDIT
Posted: Sun Feb 15, 2009 10:30 pm Post subject:
Re: The Engineer
DaFool wrote:
I can have the japanese enginerr transform into a cloned unit of it with an improved (faster) locomotor. That unit has a lifespan (tag which controls how long it lives) and when it dies, it can spawn the original engineer.
And if it is killed while sprinting towards the enemy's base it spawns a slower version of itself at full health? And if it's at half health then starts running it spawns a faster version of itself at full health? QUICK_EDIT
There's a tag that the spawned unit will have the same health as the unit that spawned it.
Instantly repairing structures, I'm thinking like a suicidal terrorist, that does negative damage? There are units that heal, so maybe I could just set the value s to heal alot at one time? Or I could use the saboteaur technique (see below).
The Hijcaker jogic is the one I originally wanted to use, but it seems to be failing me right now. I have only copied 1 module from the hijacker, and that allowed me to have the engineer capture vehicles, but when I set the capture type to structures, that seemed to not have worked. Perhaps there other tags in the hijacker which control what it captures...
The Saboteur is an interesting unit when you look at it's codes. What it does is when it enters a building, it like dies and spawns a crate. The building actually picks up the crate and faces the affects of whatever the crate dictates (lose power, money, reset time etc). I was thinking if I could get two new crates -> heal the building and change the owner, that would solve my engineering problems.
As for the ra1 engineers, the demo charge would just be to give them a little diversity. _________________ Please, read the signature rules of the forum. QUICK_EDIT
Instantly repairing structures, I'm thinking like a suicidal terrorist, that does negative damage? There are units that heal, so maybe I could just set the value s to heal alot at one time?
None of the in-game units use weapons to heal, and negative damage won't work as healing. But there is a special damage type, HEAL, which basically functions like what it says. You would need to tweak the armour of all non-structures to make them invulnerable to that though.
Quote:
Or I could use the saboteaur technique (see below).
The effects of Saboteurs are hard-coded, and it's impossible to make them heal.
Quote:
The Hijcaker jogic ...bla bla bla
All Stars had it working, only problem is buildings captured by other engineers can't be captured by an engineer again.
For the Japanese engineer, maybe you could try messing around the combat bike logic. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum