Jump to content


Script Help


5 replies to this topic

#1 delta9

    Newbie

  • Member
  • 4 posts

Posted 04 February 2005 - 09:42

Hi can u tell me how can i add my new unit in world builder in all tutorials they just told me to add my new unit but i don't know how so can u tell me please?

thanks

#2 The_Hunter

    -

  • Gold Member
  • 12402 posts
  • Projects: SWR Productions

Posted 04 February 2005 - 10:30

when you added your new unit into the game it should appear in the unit list of the worldbuilder be also sure to check under what side you added it and the world builder only displays the code names (GLAVehicleTechnical etc.) of the units ;)
Posted Image

#3 delta9

    Newbie

  • Member
  • 4 posts

Posted 04 February 2005 - 14:34

well but i can build the tank and it's appear in the game but the computer can't build it and about the side this is the code of a helicopter:


; ***DESIGN parameters ***
DisplayName = OBJECT:CH53
EditorSorting = VEHICLE
Side = America
TransportSlotCount = 0 ;how many "slots" we take in a transport (0 == not transportable)
VisionRange = 200.0
ShroudClearingRange = 600
BuildCost = 2500
BuildTime = 20.0 ;in seconds
Prerequisites
Object = AmericaStrategyCenter
End
;---------------------------------------------------------------

do u see the side is America but when i go to World builder this Ch53 is not in the list what do u think?

thanks

#4 delta9

    Newbie

  • Member
  • 4 posts

Posted 04 February 2005 - 15:12

ok i know why my units didn't appear in world builder but look i've downloaded the game again and when i run world builder it's work normally but when i add my Data folder that has the INI of my units this thing appear to me when i run world builder
it says (Runtime Error! Abnormal program termination) .
what should i've to do?

:wor:

#5 The_Hunter

    -

  • Gold Member
  • 12402 posts
  • Projects: SWR Productions

Posted 04 February 2005 - 21:49

delta9, on Feb 4 2005, 02:34 PM, said:

well but i can build the tank and it's appear in the game but the computer can't build

doh that has nothing to do with the unit not apearing in the wb the computer / AI never builds new units which are not allready in the original game you'd have to make a AI script i don't know how to make AI scripts tho

i don't know about the other error tho are you using generals or ZH ?

Edited by The_Hunter, 04 February 2005 - 21:50.

Posted Image

#6 delta9

    Newbie

  • Member
  • 4 posts

Posted 05 February 2005 - 14:25

i'm using generals not ZH



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users