Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Alpha-1604  
#1 Posted : Friday, August 10, 2018 7:13:52 AM(UTC)
Alpha-1604
Private
Joined: 12/30/2017(UTC)
Posts: 13

Thanks: 5 times
Hi guys,

I have a problem with my generals world builder.
I am building a map with a Train. the train works and it is driving around...
i also added a trainstation, where it stops. before it start moving again, I would like to spawn a 2500$ box.

how can I do that?
Sponsor
Offline acidbrain  
#2 Posted : Friday, August 10, 2018 10:13:22 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
What you could do is the following:
Create an area right before the station through which the train engine has to travel and create a waypoint where you want the crate to spawn at the station.
Set a timer to expire in about 6 seconds when train engine enters area before station , wait time at station is 10 seconds so if you place the area so it takes about 3 seconds before the train engine stops the crate will be spawned about 3 seconds after arrival and about 7 seconds before departure.
Dont know if this all works, didnt test it...

*Edit*
I tested it and it works...:P, attached a test map for ya...

Cheers

Edited by user Friday, August 10, 2018 11:23:45 AM(UTC)  | Reason: Not specified

File Attachment(s):
TrainStuff.rar (4kb) downloaded 25 time(s).
Panem et kirkinses
thanks 1 user thanked acidbrain for this useful post.
UTD^Force on 8/12/2018(UTC)
Offline Alpha-1604  
#3 Posted : Friday, August 10, 2018 4:02:19 PM(UTC)
Alpha-1604
Private
Joined: 12/30/2017(UTC)
Posts: 13

Thanks: 5 times
well, okay...

i have an other problem... I dont know, how I can set a timer and spawn sth...

and I dont know whats to do with the downloaded thing...

at the windows explorer/computer it looks like a CD...
Offline Unknown Editor  
#4 Posted : Friday, August 10, 2018 10:21:14 PM(UTC)
Unknown Editor
Major
Joined: 3/22/2017(UTC)
Posts: 278
Location: Some where on Earth

Thanks: 123 times
Was thanked: 69 time(s) in 59 post(s)
Well , He has sent you a Map , You can extract the folder inside of it in your Maps' Directory and open it using World Builder :

1. Extract "TrainStuff" Folder .
2. Put the Folder "TrainStuff" into Your Maps Directory ; Defualt Location :
- My Documents\Command and Conquer Generals Zero Hour Data\Maps\
3. Open C&C Generals Zero Hour and Look for the Map in "Solo Play\Skirmish\Unofficial Maps" .
4. Enjoy The Map .

I'm sure there are some Scripts in , Go to Edit/Scripts Where If you learn how to use , Will be able to make your own train with any Special thing you wish it has .
It would be easy , Just requires a little bit Experience everyone gains while trying and doing experiments .

Edited by user Friday, August 10, 2018 10:25:47 PM(UTC)  | Reason: Not specified

Asking is Not a Problem , Problem is Not to Know Something .

Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%
thanks 2 users thanked Unknown Editor for this useful post.
acidbrain on 8/11/2018(UTC), Alpha-1604 on 8/12/2018(UTC)
Offline Alpha-1604  
#5 Posted : Sunday, August 12, 2018 6:20:17 AM(UTC)
Alpha-1604
Private
Joined: 12/30/2017(UTC)
Posts: 13

Thanks: 5 times
thanks.

I can open train stuff on zero hour

but...

when i try to open it on world builder, it works, but when I try to open the SKRIPTS to copy it into my map, the worldbuilder becomes white and close itself...

and, is it normal that at the map arent any objekts like traintrack or trainstation?

can you send me some screenshots? or the skripts here as letters?


Im sorry, but I dont know how to do...

Edited by user Sunday, August 12, 2018 6:29:00 AM(UTC)  | Reason: Not specified

Offline UTD^Force  
#6 Posted : Sunday, August 12, 2018 3:19:41 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
Well this requires at least knowing the basics of WorldBuilder.

In acid's map he didn't place the train in the world but he spawns it after one frame from the map's start, using scripts and waypoints, the waypoint path called Railroad is the train's track it doesn't matter if the train has a track road or a station structure. The waypoint which name ends with Station is a station where the train stops.

The map he provided explains all you have to do in a very simple way, if you can go to edit > scripts and take 10 mins of your day to understand what is happening, you'll have more knowledge about this issue and won't have to ask someone to do it for you the next time.
If worldbuilder crashes when you go to Edit> Scripts, then I don't know how to solve this problem and you can wait for someone who has more experience in this stuff.

Edited by user Sunday, August 12, 2018 3:26:52 PM(UTC)  | Reason: i have bad arabian grammar

Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
thanks 1 user thanked UTD^Force for this useful post.
acidbrain on 8/13/2018(UTC)
Offline acidbrain  
#7 Posted : Monday, August 13, 2018 12:20:52 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
I like the idea, got me inspired...
What about at the start of a mission you have a cia agent and a few rangers, you have to get to the train station to get a money crate which you need to start building your base, once you have got the crate you have to go to a radio station with the cia agent and rangers to call in a chinook which will drop a dozer, meanwhile gla troops are trying to make your life miserable...
Do you mind if i steal your idea Alpha-1064? Big Smile

Cheers
Panem et kirkinses
thanks 1 user thanked acidbrain for this useful post.
UTD^Force on 8/13/2018(UTC)
Offline Alpha-1604  
#8 Posted : Monday, August 13, 2018 12:08:06 PM(UTC)
Alpha-1604
Private
Joined: 12/30/2017(UTC)
Posts: 13

Thanks: 5 times
Of course, you can use my idea.

as far as you send me the map too!

I might understand then how the skripts work.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.