tomeister
  • tomeister
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
So heres what I want to do. I want a train which has loads of health but is NOT indestructable. And when it dies I want another one with loads of health spawn and so on. I know how to make a working train. Thanks.
Sponsor
NewNightmare
14 years ago
Spawn Train
 *** If ***
 True.
*** then ***
Spawn 'Train' on waypoint blabla
Respawn Train
 *** if ***
'Train' destroyed
 *** then ***
Enable Spawn Train
In Respawn train uncheck 'deactivate upon success' and on the other side of the window select seconds, and make it like every 2 or 3 so it won't be processor consuming at all, while 1 or 2 seconds of delay won't make a difference for a train that spawns beyond map border... unless it will trigger a series of scripts that are crucial to map progress
tomeister
  • tomeister
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
Thanks! is there any way to edit the health of the train? And do i have to place the train off map before hand?
NewNightmare
14 years ago
to change health, in the object properties in WB go to health dropdown and select the bottom thing, then type in the health next to it, and yeah its better for the train to spawn outside the map so that it doesnt appear from thin air when you will be passing though the spawn point accidentally
tomeister
  • tomeister
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
Thanks, i'll post again if any problems. Another thing- when I make a new map, when i play it it is really small and i can only really see the middle of it with no player starting places or anything! Any idea why?
NewNightmare
14 years ago
u mean there is the black shroud around you ?
Here's what I have set up for my test-map:
*** IF ***
    True.
*** THEN ***
  The world is revealed for Player 'Player'.  - Got to MAP>SHROUD OR REVEAL>ENTIRE MAP FOR PLAYER
   Player 'Player' is given a Rank Level of  5 .  - Go to PLAYER>EXPERIENCE>SET RANK LEVEL
  Set Player 'Player''s money to $ 99999 - Go to PLAYER>SET>SET PLAYER'S MONEY
You can also go
Radar > Control > Force enable - to make navigation easier..
as for starting point, create a waypoint, and chose the 'initialcameraposition' from dropdown list and place it wherever you want to start the map
you have no player starting places because you have no skirmish players i guess...
these are under edit > edit player list > add skirmish players - dont add them if you're making a mission
BTW, you have to create a player 'player' to make sure you can assign the 1st 3 'THENS' in this post to an actual human player

Check out tutorials on this website, they tell all the basics 🙂
tomeister
  • tomeister
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
How do you add working tunnels for trains ?
NewNightmare
14 years ago
never done that 1... you'd have to ask the uncle G
Drummin
14 years ago

How do you add working tunnels for trains ?

Tomeister wrote:


You rename the waypoint by adding the word "Tunnel" so the path ignores elevation changes. For example:
Waypoint 199Tunnel
tomeister
  • tomeister
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
How to you set a map to be completely shrouded unless revealed? Do you know where I can find a guide to more scripting coolness?
NewNightmare
14 years ago

map to be completely shrouded unless revealed


sounds funny, you mean perma shroud for a skirmish map ? if so, never done that 1... try map shroud or reveal and do perma shroud for all skirmish players (player0 to 7 if my memory is good)

more scripting coolness?


Practice is my only answer, I tried doing some maps b4, but usually stopped after a week where the finishing details came into play... like throwing random stones or props, looking for texture errors, ambient sounds, making some life in towns etc... I'll attach an example of such work, notice that the movie scene was substituted with a subtitled version of the famous hitler scene, which I lost upon game re-install sadly, it looked epic though :)

P.S it was my 1st map.ini fail as well coz i tried adding stuff to map.str and was surprised it never worked ... then I started some shockwave mapping which is a lot more fun with more units, etc... and now decided to do some modding...even more fun imo ;P   7th Motorised Squadron - Operation 'Torchlight'.rar (204kb) downloaded 3 time(s).
tomeister
  • tomeister
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
Thanks-looks cool! What are map.ini's?
NewNightmare
14 years ago
a 'mobile' modding file, that travels with the map, and affects just the map it is attached to. look for some threads in modding part of generals on this forum, and you'll get what it is 🙂 allows for altering unit's properties (but is buggy as hell and a some stuff just doesn't work - just like WB, beta version I guess)
tomeister
  • tomeister
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
Does the spawning train already have to be on the map(as in already made) Where can I find out how to make ini's?
NewNightmare
14 years ago
as for whether the train has to be spawned, you can make 1, and add spawning script with a subroutine to make it re-spawn if destroyed and follow the tracks is possible, and for help in map.inis ask what you need.. but I can't do them sadly..
tomeister
  • tomeister
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
Hey thanks. You've been a great help this topic. Could you check out some of my questions on the modding generals topic for me? No one is answering. And also- do you know how to script it so the train will only spawn when a structure is destroyed?