HairyRussianDude wrote: ↑March 19th, 2020, 9:32 pm
Thank you very much tona! This is all very well explained.
I'll take another crack at it this weekend when I have time!
I am just trying to edit an existing map, baby steps!
Can I ask what map you're thinking of editing?
Are you editing a map in your personal game files?
Or, do you have a copy of the game files that you are working from?
I always create a patch that is sequentially renamed.
I make all of my desired changes in that file and leave the original as is.
Trench can revert any EA117 maps (that I've touched) to the "pre-tona" modifications by simply removing and/or deleting my patch.
For example, if Trench wanted to restore the original Coastal Hammer CTF, he would remove my dc_costal_hammer_011.rfa file from the server and it is restored. He could then turn around and add that back in and everyone would like him again.
And one important tip, make notes in your .rfa as to what you're doing/changing. I name and date my edits so someone that comes behind me (which actually could be me) has an idea of what I was doing and how I did it and especially "when" I did it.
This came in real handy when we were experiencing the weapons glitch in Al Nas. I was able to pinpoint when modifications were made that may have contributed to the glitch and we successfully eliminated those until the issue resolved.
Below is an example of what I mean by describing what I've done and when:
rem
rem --------------------------------------------------------------------------------------------------------------------------------------
rem --- Transport_Rocket_spawn_NOW_Red Med Locker + Ammo_tona_12.01.2019 ---
rem --------------------------------------------------------------------------------------------------------------------------------------
ObjectTemplate.create ObjectSpawner Transport_Rocket_spawn
ObjectTemplate.setObjectTemplate 2 mediclocker
ObjectTemplate.setObjectTemplate 1 mediclocker
ObjectTemplate.setObjectTemplate 4 AmmoboxSupplyDepot
ObjectTemplate.setObjectTemplate 3 AmmoboxSupplyDepot
ObjectTemplate.setObjectTemplate 5 AmmoboxSupplyDepot
ObjectTemplate.SpawnDelay 0
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 9999
ObjectTemplate.Distance 9999
ObjectTemplate.DamageWhenLost 9999
rem
rem --------------------------------------------------------------------------------------------------
rem --- DPV_spawn_Now Pickup_Tanker Wreckage_tona_12.15.2019 ---
rem --------------------------------------------------------------------------------------------------
ObjectTemplate.create ObjectSpawner DPV_spawn
ObjectTemplate.setObjectTemplate 10 UralTanker
ObjectTemplate.setObjectTemplate 20 Pickup
ObjectTemplate.setObjectTemplate 30 Pickup
ObjectTemplate.setObjectTemplate 40 UralTanker
ObjectTemplate.setObjectTemplate 50 UralTanker
ObjectTemplate.setObjectTemplate 60 Pickup
ObjectTemplate.setObjectTemplate 70 UralTanker
ObjectTemplate.setObjectTemplate 80 UralTanker
ObjectTemplate.setObjectTemplate 90 Pickup
ObjectTemplate.MinSpawnDelay 1
ObjectTemplate.MaxSpawnDelay 1
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 9999
ObjectTemplate.Distance 9999
ObjectTemplate.DamageWhenLost 9999
ObjectTemplate.teamOnVehicle 1
rem
Good Luck!
~ tona