gametechmods

Robot Arena => Tutorials and Tips => Other Tutorials => Topic started by: GroudonRobotWars on January 17, 2011, 09:51:06 PM

Title: Adding Events
Post by: GroudonRobotWars on January 17, 2011, 09:51:06 PM
It can be quite simple. Just follow these notes and you can make events Make events in the event.txt not the event 2 player.

Code: [Select]
25 - the number of the event in you event text
The Onslaught - name of event
<text font fg_mcn14>Let the onslaught begin!!!</text> - info
4 - total rounds for event, 2 for battle royale, 4 for 1on1
Arenas\event_results\prizes\Fruit_Punch\Fruit_Punch.gmf - The picture of the prize
<text font fg_mcn14>You didn't win any rounds of this event. All participants get a free six-pack of Fruity Punch.</text>
Arenas\event_results\prizes\Value_Meal\value_meal.gmf
<text font fg_mcn14>Well, you made it past the first round. All participants get a free Biggie Value Meal.</text>
Arenas\event_results\prizes\Hot_Dog\hot_dog.gmf
<text font fg_mcn14>You won 2 rounds of this event. All competitors get a free hot dog.</text>
Arenas\event_results\prizes\Gold_Cup_Trophy\Gold_Cup_Trophy.gmf
<text font fg_mcn14>Wow! You won the event! Look at the cool trophy you won!</text>
UI\teamhq\events\trophies\Gold Cup Trophy.tga - trophies, You need 4 for 1on1 fights and 3 for Battle Royales
UI\teamhq\events\ev_onslaught.bmp - event image. Replace with relevant location.
AU Onslaught Arena 2.2 - The Arena
Arenas\AU_Onslaught_Arena_2_2\preview - Arena picture location
2 - How many bots in a match
1 - Leave this at 1 always
1 - match type 0 for battle royale 1 for 1on1 2 for King of the ring 3 for tabletop

Hope this helps  :approve:
Title: Re: Adding Events
Post by: JoeBlo on January 17, 2011, 10:40:18 PM
did you just copy and paste that from another member? (either Click or Trov I think?)
Title: Re: Adding Events
Post by: GroudonRobotWars on January 17, 2011, 10:41:21 PM
did you just copy and paste that from another member? (either Click or Trov I think?)
No.
Title: Re: Adding Events
Post by: JoeBlo on January 17, 2011, 10:50:32 PM
Im sure I read that elsewhere.. and it had all the BBcode in if before too..
Title: Re: Adding Events
Post by: JoeBlo on January 18, 2011, 08:54:13 PM
There was actual BBCode in it before... thats what reminded me about someone else posting it.. I just cant find the topic, I thought it was Click.
Title: Re: Adding Events
Post by: Trovaner on January 18, 2011, 11:04:18 PM
I remember posting something like this somewhere. Click posted everything that I didn't have notes on (and I think my notes came from a post he made on the old forums)
Title: Re: Adding Events
Post by: Jamessugar on June 21, 2015, 06:18:53 AM
Can any one see what i am doing wrong? I picked one map at random which came with the DSL 3 beta, however it only seems to crash my game. I don't know where i am going wrong? Attempts to use other arenas have also failed

Code: [Select]
25
The Onslaught
<text font fg_mcn14>Let the onslaught begin!!!</text>
4
Arenas\event_results\prizes\Fruit_Punch\Fruit_Punch.gmf
<text font fg_mcn14>You didn't win any rounds of this event. All participants get a free six-pack of Fruity Punch.</text>
Arenas\event_results\prizes\Value_Meal\value_meal.gmf
<text font fg_mcn14>Well, you made it past the first round. All participants get a free Biggie Value Meal.</text>
Arenas\event_results\prizes\Hot_Dog\hot_dog.gmf
<text font fg_mcn14>You won 2 rounds of this event. All competitors get a free hot dog.</text>
Arenas\event_results\prizes\Gold_Cup_Trophy\Gold_Cup_Trophy.gmf
<text font fg_mcn14>Wow! You won the event! Look at the cool trophy you won!</text>
UI\teamhq\events\trophies\Gold Cup Trophy.tga
Honey I Shrunk the Bots
Arenas\Honey I Shrunk the Bots\preview.bmp
2
1
1
Title: Re: Adding Events
Post by: cephalopod on June 21, 2015, 06:29:12 AM
You're missing an event image (something this tutorial also seems to lack), which I'll edit in in a bit.
You need one of these lines (obviously to a relevant image)
(https://i.gyazo.com/e6aecbcf73643408cbdad58f0df2ed90.png)
Title: Re: Adding Events
Post by: Jamessugar on June 21, 2015, 06:51:30 AM
Thank you very much i'll try this out now