Constant radar option/mod?

Ask questions, discuss ideas, get answers
Post Reply
Carnie The Clown
Posts: 50
Joined: Wed May 29, 2013 9:48 pm

Constant radar option/mod?

Post by Carnie The Clown »

Hi everyone.

I was wondering if there was a way to have everything displayed on the radar/minimap/spawnscreen, so that I could see exactly where vehicles and infantry are at all times (and have the time to panic when I see an army of soldiers coming my way). :o

Before you accuse me of cheating, let me say that I only want to do this for co op and singleplayer, because I only play with bots.

If this possible, please let me know.

Also, is there a way to change the colours of the icons displayed, or even swap out the existing icons for custom ones?

Any suggestions?
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Constant radar option/mod?

Post by Swaffy »

Hello. I like your idea, but unfortunately the closest thing that I can think of (that is possible) is to add an object to your soldier that acts like a submarine radar, rotating and scanning for enemies. But the enemies show up as dots on your map. I've heard about a mod like that but don't have a definite way of doing such a mod.

Perhaps you can use code similar to this:

Vehicles/Sea/Common/Objects.con

Code: Select all

ObjectTemplate.create SonarObject SubmarineSonar
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.detectionRadius 400.0
ObjectTemplate.scanForEnemySonars c_True
ObjectTemplate.loadSoundScript Sounds/sonarsub.ssc

ObjectTemplate.create SonarObject DestroyerSonar
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.detectionRadius 400.0
ObjectTemplate.loadSoundScript Sounds/sonardest.ssc
Try adding it (addTemplate) to your soldier's helmet or his weapon kit something. It's an idea but I'm not sure if it'll work.

(Objects/Items/USKit/Assault/Objects.con)
  • ObjectTemplate.create Kit Us_Assault
    ObjectTemplate.setType Assault
    ObjectTemplate.setKitTeam 2

    ObjectTemplate.setHealthBarIcon "Ingame/Healthbar_empty_assault_64x64.tga"
    ObjectTemplate.setHealthBarFullIcon "Ingame/Healthbar_full_assault_64x64.tga"
    ObjectTemplate.addWeaponIcon "Weapon/Icon_alliesKnife.tga"
    ObjectTemplate.addWeaponIcon "Weapon/Icon_colt.tga"
    ObjectTemplate.addWeaponIcon "Weapon/Icon_bar1918.tga"
    ObjectTemplate.addWeaponIcon "Weapon/Icon_grenadeallies.tga"
    ObjectTemplate.addWeaponIcon "Weapon/Icon_ammopack.tga"
    ObjectTemplate.addWeaponIcon "Weapon/Icon_EmptySlot.tga"

    ObjectTemplate.setKitIcon 1 "kits/Icon_assault_allies_selected.tga"
    ObjectTemplate.setKitName 1 "RESPAWN_ASSAULT"
    ObjectTemplate.setKitActiveName 1 "RESPAWN_ACTIVE_ASSAULT"

    ObjectTemplate.geometry Kit_Allies_Assault
    ObjectTemplate.setHasCollisionPhysics 1
    ObjectTemplate.networkableInfo KitInfo
    ObjectTemplate.addTemplate Us_Helmet
    ObjectTemplate.addTemplate US_Assault_BackPack
    ObjectTemplate.addTemplate US_Hip_Pack
    ObjectTemplate.addTemplate NameOfSonarObject

    ObjectTemplate.addTemplate Bar1918
    ObjectTemplate.addTemplate Colt
    ObjectTemplate.addTemplate KnifeAllies
    ObjectTemplate.addTemplate GrenadeAllies
    ObjectTemplate.addTemplate AmmoBagSpawner

    ObjectTemplate.aitemplate Assault
or

(Objects/Items/USKit/Common/Objects.con)
  • ObjectTemplate.create KitPart Us_Helmet
    ObjectTemplate.geometry Us_Helmet
    ObjectTemplate.setBoneName A
    ObjectTemplate.setCopyLinksCount 0
    ObjectTemplate.addTemplate NameOfSonarObject
Or maybe...

Code: Select all

ObjectTemplate.Active USSoldier
ObjectTemplate.addTemplate NameOfSonarObject
You'd put that code in the ObjectSpawnTemplates.con of your map.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: Constant radar option/mod?

Post by freddy »

Image
User avatar
fo0k
Posts: 1434
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Constant radar option/mod?

Post by fo0k »

my brain literally locked up there for a few seconds.. total confusion :lol:
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

lol i always liked that pic Image
Carnie The Clown
Posts: 50
Joined: Wed May 29, 2013 9:48 pm

Re: Constant radar option/mod?

Post by Carnie The Clown »

fo0k wrote:my brain literally locked up there for a few seconds.. total confusion :lol:
You and me both, and after looking at it several times, I STILL don't get it.
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: Constant radar option/mod?

Post by Vilespring »

I thought of fo0k while reading this, and my idea of posting the picture was taken. XD
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
Post Reply