Jump to content


Photo

Ranger Builder- Possible? [Zero Hour]


  • Please log in to reply
8 replies to this topic

#1 NVShacker

NVShacker
  • New Members
  • 17 posts

Posted 19 July 2004 - 01:28 AM

Ok, I've created a new faction, added some strings and colored a bit of the interface and am now proceeding to work on the builder unit. It is a ranger who keeps his gun (No flash-bangs\capture though) and I'd like to use him to build. I've added a power plant build for a test, but it remains grayed out. He also can't finish building things started by the dozer. I know I need to fix some upgrade stuff, I can do that, if you wouldn't mind telling me how he could build. As you'll see, I tried to add an active_build, or whatever animation to no effect:
REMOVED FOR EASE OF BROWSING

Edited by NVShacker, 20 July 2004 - 06:30 PM.


#2 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 19 July 2004 - 01:59 AM

At minimum you will need to give it the DOZER Kindof, and a DozerAIUpdate. I don't know if the DozerAIUpdate will allow for combat, so it may be a bit of a problem. If you are using an infantry builder, I suggest you look at the GLA worker for an example, and make sure that you have all the necessary modules.
:unsure:
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#3 NVShacker

NVShacker
  • New Members
  • 17 posts

Posted 19 July 2004 - 07:35 PM

Thanks a bunch. After adding the kindof and dozeraiupdate (And getting rid of the other AI one...) it worked perfectly and can still attack! I still haven't totally grasped Generals modding, coming from an Unreal and Total Annihilation modding background. Fun stuff though. :p BTW, when using the scf editor, any way to remove the box things it adds for the new lines?

#4 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 19 July 2004 - 09:38 PM

If you are using XCC String Table Editor, don't worry about the boxes, they are just for internal display to show where your line breaks are. They don't appear in the game. Otherwise, you'll have to explain exactly what you mean.
:p
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#5 NVShacker

NVShacker
  • New Members
  • 17 posts

Posted 20 July 2004 - 08:25 AM

Well, I was using the csfeditor on the site, and it would put the block characters, like a formatted text file. I fixed it by exporting to ini, converting in wordpad and removing some lines in notepad.

Of course, I have a new problem. Do you know any reason why purchasing an upgrade is shown as conflicting? The upgrade and commandbutton code are as follows, sniper code available if needed:
Upgrade Upgrade_ShizuSniperCamo
  DisplayName        = UPGRADE:ShizuSniperCamo
  BuildTime          = 30.0
  BuildCost          = 3500
  ButtonImage        = SSCamoflage
  ResearchSound      = NoSound
End
CommandButton Command_UpgradeShizuSniperCamo
  Command       = OBJECT_UPGRADE
  Upgrade       = Upgrade_ShizuSniperCamo
  TextLabel     = CONTROLBAR:UpgradeShizuSniperCamo
  ButtonImage   = SUcamo
  ButtonBorderType        = UPGRADE; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:TooltipShizuSniperCamo
End

Thanks for all the help so far, by the way.

#6 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 20 July 2004 - 04:44 PM

Check your unit code. Does it have any other upgrades already. There may be a problem there. Otherwise, I can't think of anything ATM that would be a problem. Do you have a production update module?
:p
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#7 NVShacker

NVShacker
  • New Members
  • 17 posts

Posted 20 July 2004 - 06:43 PM

I didn't think I needed a production update module; I just mimicked the GLA rebel's stealth stuff:

EDIT: D'oh, I'm an idiot. I needed to set it to PLAYER_UPGRADE, not OBJECT_UPGRADE.

If it was object_upgrade, I'd have to put it in the sniper commandset, which isn't what I'm going for.

Edited by NVShacker, 20 July 2004 - 07:44 PM.


#8 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 20 July 2004 - 07:45 PM

Is the stealth upgrade a global upgrade, or is it on each object. If it is on each object, you need a production update. Otherwise, this should work fine. Check your commandbutton/command set code.
:p
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#9 NVShacker

NVShacker
  • New Members
  • 17 posts

Posted 20 July 2004 - 07:56 PM

It's global. Sorry for the confusion.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users