IPB

Welcome Guest ( Log In | Register )


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
 
Start new topic
Replies
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



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: 26th June 2025 - 12:14 AM


XGhozt.com