IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> FSData Research, I created a new event.
Devastator
post Nov 14 2010, 11:44 PM
Post #1


Commando
Group Icon

Group: Members
Posts: 543
Joined: 20-February 10
From: The United States
Member No.: 1,799
Alliance: GDI
Favorite game: Tiberian Sun



I am doing some research on FSData.ini and how to make new events/actions.

As a test, I created a new event. This was the coding.

54=Lose Any Units,0,2,0,0,Specified house loses any units,1,1,54

2 means House.

All events have 1,1. 54 just means the number of the event.

I then opened up FinalSun and opened up Team Black's test map. I created a trigger called "Lose Unit" House was the player's house which is GDI. The Event was 54 Lose Any Units. And the event parameter showed House and I chose GDI. The action was 17 Reveal Around Waypoint. I created a random waypoint in the shroud.

When I tested it, I destroyed a unit of mine. The area wasn't revealed.


--------------------
Go to the top of the page
 
: | +Quote Post
Rampastring
post Nov 15 2010, 04:08 PM
Post #2


Tick Tank
Group Icon

Group: Members
Posts: 690
Joined: 4-June 07
From: Finland
Member No.: 957
Alliance: Nod
Favorite game: Tiberian Sun



How would the game know anything about a new event just because you write it in FSdata.ini? The game isn't FinalSun, the list of possible events is hardcoded in the game and those events have been written to FSData.ini by the creator of FinalSun.


--------------------
Go to the top of the page
 
: | +Quote Post
Devastator
post Nov 15 2010, 08:13 PM
Post #3


Commando
Group Icon

Group: Members
Posts: 543
Joined: 20-February 10
From: The United States
Member No.: 1,799
Alliance: GDI
Favorite game: Tiberian Sun



Ah, my second theory was that I'd need to edit Game.exe so it would read it correctly. That's what I was hoping not to hear. sad.gif


--------------------
Go to the top of the page
 
: | +Quote Post
Rampastring
post Nov 15 2010, 09:33 PM
Post #4


Tick Tank
Group Icon

Group: Members
Posts: 690
Joined: 4-June 07
From: Finland
Member No.: 957
Alliance: Nod
Favorite game: Tiberian Sun



You don't really need many more events than what TS already has though, to get the same event you wanted to make you can use Event #16 with the parameter value 1.


--------------------
Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Nov 18 2010, 12:31 PM
Post #5

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



Coding new events into the game is easy (for the few that know the engine that is), its just getting ideas for new events tongue.gif


--------------------
Go to the top of the page
 
: | +Quote Post
Lin Kuei Ominae
post Nov 18 2010, 04:08 PM
Post #6


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



^^Really!? Well then how about an event to check whether you play TS or FS? wink1.gif
It would be useful if you could check in a map via a certain event which game mode you currently play. To for example enable or disbable certain trigger/things in one mode.

This post has been edited by Lin Kuei Ominae: Nov 18 2010, 04:08 PM


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Nov 20 2010, 07:32 PM
Post #7

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



That would be simple, very simple as the code is pretty much a "if" statement to a internal boolean value.


--------------------
Go to the top of the page
 
: | +Quote Post
Revolutionary
post Nov 20 2010, 07:45 PM
Post #8


Hum-vee
Group Icon

Group: Members
Posts: 171
Joined: 15-January 09
From: Scotland, starting a revolution
Member No.: 1,267
Alliance: CABAL
Favorite game: Tiberian Sun



QUOTE (Lin Kuei Ominae @ Nov 18 2010, 04:08 PM) *
^^Really!? Well then how about an event to check whether you play TS or FS? wink1.gif
It would be useful if you could check in a map via a certain event which game mode you currently play. To for example enable or disbable certain trigger/things in one mode.


dont know if this is more an expansion/idea based on your point but, for example, you could have the game check if there is a veinhole on the map rather than just allowing you to build a waste facility.


--------------------
CnC-Comm.com News poster and Creator of TS:Best of Beta and Revo's Mod's
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 28th March 2024 - 11:00 PM


XGhozt.com